@knapsack/types 4.69.14--canary.4821.246c5f4.0 → 4.69.15--canary.4433.ca0920f.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +30 -0
- package/dist/acd-test-fixtures/index.js +0 -2
- package/dist/acd-test-fixtures/index.js.map +1 -1
- package/dist/acd-test-fixtures/index.mjs +0 -2
- package/dist/acd-test-fixtures/index.mjs.map +1 -1
- package/dist/acd-test-fixtures/ks-sandbox.d.ts.map +1 -1
- package/dist/app-client-data/meta.d.ts +1 -0
- package/dist/app-client-data/meta.d.ts.map +1 -1
- package/dist/design-src.types.d.ts +1 -1
- package/dist/design-src.types.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/renderers.d.ts +0 -17
- package/dist/renderers.d.ts.map +1 -1
- package/package.json +6 -6
package/dist/renderers.d.ts
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
import type { KnapsackPatternTemplate, TemplateDemo } from './app-client-data';
|
2
1
|
export declare const rendererIds: {
|
3
2
|
readonly react: "react";
|
4
3
|
readonly vue: "vue";
|
@@ -34,7 +33,6 @@ export type TemplateSuggestion = {
|
|
34
33
|
export type TemplateSuggestionsGetFn = (opt: {
|
35
34
|
rendererId: RendererId;
|
36
35
|
newPath?: string;
|
37
|
-
state: ContentStateForRendering;
|
38
36
|
}) => Promise<{
|
39
37
|
suggestions: TemplateSuggestion[];
|
40
38
|
}>;
|
@@ -48,19 +46,4 @@ export type TemplateSuggestionsGetFn = (opt: {
|
|
48
46
|
* ```
|
49
47
|
*/
|
50
48
|
export type PkgPathAliases = Record<string, string>;
|
51
|
-
export type ContentStateForRendering = {
|
52
|
-
/**
|
53
|
-
* Patterns by ID
|
54
|
-
*/
|
55
|
-
patterns: {
|
56
|
-
[patternId: string]: {
|
57
|
-
id: string;
|
58
|
-
templates: Pick<KnapsackPatternTemplate, 'alias' | 'path' | 'templateLanguageId' | 'spec' | 'id' | 'title'>[];
|
59
|
-
templateDemos: Array<TemplateDemo & {
|
60
|
-
templateId: string;
|
61
|
-
templateLanguageId: RendererId;
|
62
|
-
}>;
|
63
|
-
};
|
64
|
-
};
|
65
|
-
};
|
66
49
|
//# sourceMappingURL=renderers.d.ts.map
|
package/dist/renderers.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"renderers.d.ts","sourceRoot":"","sources":["../src/renderers.ts"],"names":[],"mappings":"AAAA,
|
1
|
+
{"version":3,"file":"renderers.d.ts","sourceRoot":"","sources":["../src/renderers.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;;CAQd,CAAC;AAEX;;;;GAIG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,WAAW,CAAC;AAClD;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,EAAE,OAAO,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,eAAe,GAAG;IACjD,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,CAAC,GAAG,EAAE;IAC3C,UAAU,EAAE,UAAU,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,KAAK,OAAO,CAAC;IACZ,WAAW,EAAE,kBAAkB,EAAE,CAAC;CACnC,CAAC,CAAC;AAEH;;;;;;;;GAQG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC"}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@knapsack/types",
|
3
3
|
"description": "",
|
4
|
-
"version": "4.69.
|
4
|
+
"version": "4.69.15--canary.4433.ca0920f.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.69.
|
41
|
+
"@knapsack/utils": "4.69.15--canary.4433.ca0920f.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.69.
|
48
|
-
"@knapsack/test-ava": "4.69.
|
49
|
-
"@knapsack/typescript-config-starter": "4.69.
|
47
|
+
"@knapsack/eslint-config-starter": "4.69.15--canary.4433.ca0920f.0",
|
48
|
+
"@knapsack/test-ava": "4.69.15--canary.4433.ca0920f.0",
|
49
|
+
"@knapsack/typescript-config-starter": "4.69.15--canary.4433.ca0920f.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": "ca0920f909939385302ee5e8b883f28b53eb008a"
|
72
72
|
}
|