@knapsack/types 4.69.9--canary.4745.99a87d9.0 → 4.69.9--canary.4739.282ee28.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -117,19 +117,6 @@ export declare function isKsJsImports(imports: unknown): imports is KsJsImport[]
117
117
  export declare function isKsRendererClientGlobalImportedModules(mods: unknown): mods is KsRendererClientGlobal['importedModules'];
118
118
  export declare function isKsRendererClientGlobal<ExportedComponentType = unknown>(knapsack: unknown): knapsack is KsRendererClientGlobal<ExportedComponentType>;
119
119
  export declare function getKsRendererClientGlobal<ExportedComponentType = unknown>(): KsRendererClientGlobal<ExportedComponentType>;
120
- /**
121
- * Results of rendering a pattern
122
- */
123
- export type KsRenderResults = {
124
- ok: boolean;
125
- html: string;
126
- usage?: string;
127
- templateLanguage?: string;
128
- message?: string;
129
- };
130
- export type KsRenderApiResults = KsRenderResults & {
131
- wrappedHtml: string;
132
- };
133
120
  export type TemplateSuggestion = {
134
121
  path: string;
135
122
  alias?: string;
@@ -140,15 +127,5 @@ export type TemplateSuggestionsGetFn = (opt: {
140
127
  }) => Promise<{
141
128
  suggestions: TemplateSuggestion[];
142
129
  }>;
143
- /**
144
- * Aliases for package paths
145
- * Example:
146
- * ```js
147
- * {
148
- * 'my-pkg': '../path/to/my-pkg',
149
- * }
150
- * ```
151
- */
152
- export type PkgPathAliases = Record<string, string>;
153
130
  export {};
154
131
  //# sourceMappingURL=renderers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderers.d.ts","sourceRoot":"","sources":["../src/renderers.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;CAQd,CAAC;AAEX;;;;GAIG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,WAAW,CAAC;AAElD;;;;;;;GAOG;AACH,MAAM,MAAM,cAAc,GACtB;IACE,IAAI,EAAE,SAAS,CAAC;IAChB,+BAA+B;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,GACD;IACE,IAAI,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K,OAAO,CAAC;QACZ,CAAC,UAAU,EAAE,MAAM,GAAG,qBAAqB,CAAC;KAC7C,CAAC,CAAC;CACJ;AAED,wBAAgB,aAAa,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,IAAI,UAAU,EAAE,CA2CvE;AAED,wBAAgB,uCAAuC,CACrD,IAAI,EAAE,OAAO,GACZ,IAAI,IAAI,sBAAsB,CAAC,iBAAiB,CAAC,CAMnD;AAED,wBAAgB,wBAAwB,CAAC,qBAAqB,GAAG,OAAO,EACtE,QAAQ,EAAE,OAAO,GAChB,QAAQ,IAAI,sBAAsB,CAAC,qBAAqB,CAAC,CAS3D;AAKD,wBAAgB,yBAAyB,CACvC,qBAAqB,GAAG,OAAO,KAC5B,sBAAsB,CAAC,qBAAqB,CAAC,CAmBjD;AAED,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"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@knapsack/types",
3
3
  "description": "",
4
- "version": "4.69.9--canary.4745.99a87d9.0",
4
+ "version": "4.69.9--canary.4739.282ee28.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.9--canary.4745.99a87d9.0",
41
+ "@knapsack/utils": "4.69.9--canary.4739.282ee28.0",
42
42
  "color-string": "^1.9.1",
43
43
  "immer": "^10.0.4",
44
44
  "superstruct": "^0.16.7"
45
45
  },
46
46
  "devDependencies": {
47
- "@knapsack/eslint-config-starter": "4.69.9--canary.4745.99a87d9.0",
48
- "@knapsack/test-ava": "4.69.9--canary.4745.99a87d9.0",
49
- "@knapsack/typescript-config-starter": "4.69.9--canary.4745.99a87d9.0",
47
+ "@knapsack/eslint-config-starter": "4.69.9--canary.4739.282ee28.0",
48
+ "@knapsack/test-ava": "4.69.9--canary.4739.282ee28.0",
49
+ "@knapsack/typescript-config-starter": "4.69.9--canary.4739.282ee28.0",
50
50
  "@tiptap/core": "^2.6.6",
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": "99a87d9b9f321739fe99bf3642c0b42e4f152676"
71
+ "gitHead": "282ee28902a0c4923aad0692b0d4b195c715e70c"
72
72
  }