@knapsack/types 4.70.2--canary.4916.d717eef.0 → 4.70.3--canary.4921.8f19de8.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +100 -102
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -6
- package/dist/api/files.d.ts +0 -24
- package/dist/api/files.d.ts.map +0 -1
- package/dist/api/index.d.ts +0 -4
- package/dist/api/index.d.ts.map +0 -1
- package/dist/api/plugins.d.ts +0 -17
- package/dist/api/plugins.d.ts.map +0 -1
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@knapsack/types",
|
3
3
|
"description": "",
|
4
|
-
"version": "4.70.
|
4
|
+
"version": "4.70.3--canary.4921.8f19de8.0",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"module": "dist/index.mjs",
|
7
7
|
"types": "dist/index.d.ts",
|
@@ -38,15 +38,15 @@
|
|
38
38
|
"test": "ava"
|
39
39
|
},
|
40
40
|
"dependencies": {
|
41
|
-
"@knapsack/utils": "4.70.
|
41
|
+
"@knapsack/utils": "4.70.3--canary.4921.8f19de8.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
|
-
"@knapsack/eslint-config-starter": "4.70.
|
48
|
-
"@knapsack/test-ava": "4.70.
|
49
|
-
"@knapsack/typescript-config-starter": "4.70.
|
47
|
+
"@knapsack/eslint-config-starter": "4.70.3--canary.4921.8f19de8.0",
|
48
|
+
"@knapsack/test-ava": "4.70.3--canary.4921.8f19de8.0",
|
49
|
+
"@knapsack/typescript-config-starter": "4.70.3--canary.4921.8f19de8.0",
|
50
50
|
"@tiptap/core": "^2.7.2",
|
51
51
|
"@types/color-string": "^1.5.5",
|
52
52
|
"@types/fs-extra": "^11.0.4",
|
@@ -68,5 +68,5 @@
|
|
68
68
|
"directory": "libs/types",
|
69
69
|
"type": "git"
|
70
70
|
},
|
71
|
-
"gitHead": "
|
71
|
+
"gitHead": "8f19de83a28f5e02e3f8b003f49bb4ac98a76a4f"
|
72
72
|
}
|
package/dist/api/files.d.ts
DELETED
@@ -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
|
package/dist/api/files.d.ts.map
DELETED
@@ -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"}
|
package/dist/api/index.d.ts
DELETED
package/dist/api/index.d.ts.map
DELETED
@@ -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"}
|
package/dist/api/plugins.d.ts
DELETED
@@ -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"}
|