Use @yaakapp/api in models

This commit is contained in:
Gregory Schier
2024-08-01 15:14:33 -07:00
parent d6e5bc6df5
commit e5511922bf
3 changed files with 25 additions and 2 deletions

22
package-lock.json generated
View File

@@ -26,6 +26,7 @@
"@tauri-apps/plugin-fs": "^2.0.0-beta.7",
"@tauri-apps/plugin-os": "^2.0.0-beta.7",
"@tauri-apps/plugin-shell": "^2.0.0-beta.8",
"@yaakapp/api": "^0.1.0-beta.1",
"buffer": "^6.0.3",
"classnames": "^2.3.2",
"cm6-graphql": "^0.0.9",
@@ -2979,6 +2980,27 @@
"resolved": "https://registry.npmjs.org/@xobotyi/scrollbar-width/-/scrollbar-width-1.9.5.tgz",
"integrity": "sha512-N8tkAACJx2ww8vFMneJmaAgmjAG1tnVBZJRLRcx061tmsLRZHSEZSLuGWnwPtunsSLvSqXQ2wfp7Mgqg1I+2dQ=="
},
"node_modules/@yaakapp/api": {
"version": "0.1.0-beta.1",
"resolved": "https://registry.npmjs.org/@yaakapp/api/-/api-0.1.0-beta.1.tgz",
"integrity": "sha512-govGMJy57nQq1k1LsGzaqahHXS0Uj5cinIxKJYRUyoasVUbShA6oE759J22lri+J3sF6KbfDC1rkE/kvKb2acw==",
"dependencies": {
"@types/node": "^22.0.0"
}
},
"node_modules/@yaakapp/api/node_modules/@types/node": {
"version": "22.0.2",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.0.2.tgz",
"integrity": "sha512-yPL6DyFwY5PiMVEwymNeqUTKsDczQBJ/5T7W/46RwLU/VH+AA8aT5TZkvBviLKLbbm0hlfftEkGrNzfRk/fofQ==",
"dependencies": {
"undici-types": "~6.11.1"
}
},
"node_modules/@yaakapp/api/node_modules/undici-types": {
"version": "6.11.1",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.11.1.tgz",
"integrity": "sha512-mIDEX2ek50x0OlRgxryxsenE5XaQD4on5U2inY7RApK3SOJpofyw7uW2AyfMKkhAxXIceo2DeWGVGwyvng1GNQ=="
},
"node_modules/abbrev": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",

View File

@@ -41,6 +41,7 @@
"@tauri-apps/plugin-fs": "^2.0.0-beta.7",
"@tauri-apps/plugin-os": "^2.0.0-beta.7",
"@tauri-apps/plugin-shell": "^2.0.0-beta.8",
"@yaakapp/api": "^0.1.0-beta.1",
"buffer": "^6.0.3",
"classnames": "^2.3.2",
"cm6-graphql": "^0.0.9",

View File

@@ -9,9 +9,9 @@ import type {
GrpcEvent,
GrpcConnection,
Environment,
} from '../../plugin-runtime-types';
} from '@yaakapp/api';
export * from '../../plugin-runtime-types';
export * from '@yaakapp/api';
export const BODY_TYPE_NONE = null;
export const BODY_TYPE_GRAPHQL = 'graphql';