@knapsack/types 4.69.12--canary.4821.8709676.0 → 4.69.12--canary.4739.f046133.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -1 +1 @@
1
- {"version":3,"file":"renderers.d.ts","sourceRoot":"","sources":["../src/renderers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAE/E,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,C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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.12--canary.4821.8709676.0",
4
+ "version": "4.69.12--canary.4739.f046133.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.12--canary.4821.8709676.0",
41
+ "@knapsack/utils": "4.69.12--canary.4739.f046133.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.12--canary.4821.8709676.0",
48
- "@knapsack/test-ava": "4.69.12--canary.4821.8709676.0",
49
- "@knapsack/typescript-config-starter": "4.69.12--canary.4821.8709676.0",
47
+ "@knapsack/eslint-config-starter": "4.69.12--canary.4739.f046133.0",
48
+ "@knapsack/test-ava": "4.69.12--canary.4739.f046133.0",
49
+ "@knapsack/typescript-config-starter": "4.69.12--canary.4739.f046133.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": "8709676f3545d2ea5c97f981cc964e92035585f0"
71
+ "gitHead": "f046133a5dc4bc40e7c05608e8dc856a459e2950"
72
72
  }