@knapsack/types 4.70.5--canary.4960.c1789b6.1 → 4.70.5--canary.4921.4a5c41b.0

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@knapsack/types",
3
3
  "description": "",
4
- "version": "4.70.5--canary.4960.c1789b6.1",
4
+ "version": "4.70.5--canary.4921.4a5c41b.0",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
7
7
  "types": "dist/index.d.ts",
@@ -38,16 +38,16 @@
38
38
  "test": "ava"
39
39
  },
40
40
  "dependencies": {
41
- "@knapsack/utils": "4.70.5--canary.4960.c1789b6.1",
41
+ "@knapsack/utils": "4.70.5--canary.4921.4a5c41b.0",
42
42
  "color-string": "^1.9.1",
43
43
  "immer": "^10.1.1",
44
44
  "superstruct": "^0.16.7"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@apidevtools/json-schema-ref-parser": "^11.7.0",
48
- "@knapsack/eslint-config-starter": "4.70.5--canary.4960.c1789b6.1",
49
- "@knapsack/test-ava": "4.70.5--canary.4960.c1789b6.1",
50
- "@knapsack/typescript-config-starter": "4.70.5--canary.4960.c1789b6.1",
48
+ "@knapsack/eslint-config-starter": "4.70.5--canary.4921.4a5c41b.0",
49
+ "@knapsack/test-ava": "4.70.5--canary.4921.4a5c41b.0",
50
+ "@knapsack/typescript-config-starter": "4.70.5--canary.4921.4a5c41b.0",
51
51
  "@tiptap/core": "^2.8.0",
52
52
  "@types/color-string": "^1.5.5",
53
53
  "@types/fs-extra": "^11.0.4",
@@ -68,5 +68,5 @@
68
68
  "directory": "libs/types",
69
69
  "type": "git"
70
70
  },
71
- "gitHead": "c1789b6146f2bc93d792c8980f6d14ce4268224e"
71
+ "gitHead": "4a5c41b37a24ac44ac75e8cc5a917edf4fc72a5f"
72
72
  }
@@ -1,24 +0,0 @@
1
- import type { RendererId } from '../renderers';
2
- export declare const endpoint = "/files";
3
- export declare enum ACTIONS {
4
- verify = "verify"
5
- }
6
- export interface VerifyData {
7
- type: ACTIONS.verify;
8
- payload: {
9
- path: string;
10
- rendererId: RendererId;
11
- };
12
- }
13
- export interface VerifyDataResponse {
14
- type: ACTIONS.verify;
15
- payload: {
16
- exists: boolean;
17
- relativePath: string;
18
- absolutePath: string;
19
- type: 'absolute' | 'relative' | 'package' | 'unknown';
20
- };
21
- }
22
- export type Actions = VerifyData;
23
- export type ActionResponses = VerifyDataResponse;
24
- //# sourceMappingURL=files.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"files.d.ts","sourceRoot":"","sources":["../../src/api/files.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,eAAO,MAAM,QAAQ,WAAW,CAAC;AAEjC,oBAAY,OAAO;IACjB,MAAM,WAAW;CAClB;AAED,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC;IACrB,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;QACb,UAAU,EAAE,UAAU,CAAC;KACxB,CAAC;CACH;AAED,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC;IACrB,OAAO,EAAE;QACP,MAAM,EAAE,OAAO,CAAC;QAChB,YAAY,EAAE,MAAM,CAAC;QACrB,YAAY,EAAE,MAAM,CAAC;QACrB,IAAI,EAAE,UAAU,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC;KACvD,CAAC;CACH;AAED,MAAM,MAAM,OAAO,GAAG,UAAU,CAAC;AAEjC,MAAM,MAAM,eAAe,GAAG,kBAAkB,CAAC"}
@@ -1,4 +0,0 @@
1
- import * as PluginsApi from './plugins';
2
- import * as FilesApi from './files';
3
- export { PluginsApi, FilesApi };
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,WAAW,CAAC;AACxC,OAAO,KAAK,QAAQ,MAAM,SAAS,CAAC;AAEpC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC"}
@@ -1,17 +0,0 @@
1
- export declare const endpoint = "/plugins";
2
- export declare enum ACTIONS {
3
- getContent = "getContent"
4
- }
5
- export interface GetContentRequest {
6
- type: ACTIONS.getContent;
7
- pluginId: string;
8
- }
9
- export interface GetContentResponse {
10
- type: ACTIONS.getContent;
11
- ok: boolean;
12
- message?: string;
13
- payload: Record<string, unknown>;
14
- }
15
- export type ActionRequests = GetContentRequest;
16
- export type ActionResponses = GetContentResponse;
17
- //# sourceMappingURL=plugins.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../src/api/plugins.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,aAAa,CAAC;AAEnC,oBAAY,OAAO;IACjB,UAAU,eAAe;CAC1B;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC;IACzB,EAAE,EAAE,OAAO,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAClC;AAED,MAAM,MAAM,cAAc,GAAG,iBAAiB,CAAC;AAE/C,MAAM,MAAM,eAAe,GAAG,kBAAkB,CAAC"}