From 9d3e9e7e025aba478a5a9891098f2a1965a60eb2 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Thu, 28 Jul 2022 19:12:31 +0100 Subject: [PATCH] feat: add notes applications --- package.json | 2 +- pnpm-lock.yaml | 14 +++++++++----- src/models/page.model.ts | 1 + 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index f37a5bc5..00106fcc 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "remark-rehype": "^10.1.0", "sortablejs": "^1.15.0", "ua-parser-js": "^1.0.2", - "unidata.js": "^0.6.5", + "unidata.js": "^0.6.6", "unified": "^10.1.2", "unist-builder": "^3.0.0", "unist-util-visit": "^4.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index aa243ac7..d686c2e2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -84,7 +84,7 @@ specifiers: tailwindcss: ^3.0.24 typescript: ^4.5.5 ua-parser-js: ^1.0.2 - unidata.js: ^0.6.5 + unidata.js: ^0.6.6 unified: ^10.1.2 unist-builder: ^3.0.0 unist-util-visit: ^4.1.0 @@ -150,7 +150,7 @@ dependencies: remark-rehype: 10.1.0 sortablejs: 1.15.0 ua-parser-js: 1.0.2 - unidata.js: 0.6.5 + unidata.js: 0.6.6 unified: 10.1.2 unist-builder: 3.0.0 unist-util-visit: 4.1.0 @@ -4989,7 +4989,7 @@ packages: iso-url: 1.2.1 mafmt: 10.0.0 multiaddr: 10.0.1 - multiformats: 9.7.0 + multiformats: 9.7.1 uint8arrays: 3.0.0 transitivePeerDependencies: - node-fetch @@ -6038,6 +6038,10 @@ packages: resolution: {integrity: sha512-uv/tcgwk0yN4DStopnBN4GTgvaAlYdy6KnZpuzEPFOYQd71DYFJjs0MN1ERElAflrZaYyGBWXyGxL5GgrxIx0Q==} dev: false + /multiformats/9.7.1: + resolution: {integrity: sha512-TaVmGEBt0fhxiNJMGphBfB+oGvUxFs8KgGvgl8d3C+GWtrFcvXdJ2196eg+dYhmSFClmgFfSfJEklo+SZzdNuw==} + dev: false + /multimath/2.0.0: resolution: {integrity: sha512-toRx66cAMJ+Ccz7pMIg38xSIrtnbozk0dchXezwQDMgQmbGpfxjtv68H+L00iFL8hxDaVjrmwAFSb3I6bg8Q2g==} dependencies: @@ -7804,8 +7808,8 @@ packages: engines: {node: '>=12.18'} dev: false - /unidata.js/0.6.5: - resolution: {integrity: sha512-AixbsW0FxWo572YNmEbEY/KC5PyTuMTrFKedywvA668Y9CJn0GeleyfxK1eSKUmkYgvho3k8wO52u4aZ3rKDUQ==} + /unidata.js/0.6.6: + resolution: {integrity: sha512-BstESLivayd7WxIkyGDhMPj2+ZpTqZaWBJJR+/S2ifb6UxfDU7SMJTNDHNoT4vQfVLyGMwkjjaQVDT/Nq9twNg==} dependencies: '@types/lodash': 4.14.182 '@urql/core': 2.5.0_graphql@16.5.0 diff --git a/src/models/page.model.ts b/src/models/page.model.ts index d29493c2..8b0feb51 100644 --- a/src/models/page.model.ts +++ b/src/models/page.model.ts @@ -85,6 +85,7 @@ export async function createOrUpdatePage( } }), tags: [input.isPost ? "post" : "page", ...(input.slug ? ["slug:" + input.slug] : [])], + applications: ["Crosslog"], }) }