@knapsack/types 4.71.1 → 4.71.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +102 -104
- 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.71.
|
|
4
|
+
"version": "4.71.2",
|
|
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.71.
|
|
41
|
+
"@knapsack/utils": "4.71.2",
|
|
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.71.
|
|
49
|
-
"@knapsack/test-ava": "4.71.
|
|
50
|
-
"@knapsack/typescript-config-starter": "4.71.
|
|
48
|
+
"@knapsack/eslint-config-starter": "4.71.2",
|
|
49
|
+
"@knapsack/test-ava": "4.71.2",
|
|
50
|
+
"@knapsack/typescript-config-starter": "4.71.2",
|
|
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": "
|
|
71
|
+
"gitHead": "53393364de6df01286130c0f44c948d70457215d"
|
|
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"}
|