ttpg-darrell 1.1.41 → 1.1.43

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.
Files changed (53) hide show
  1. package/build/cjs/lib/context-menu/abstract-right-click-card/abstract-right-click-card.d.ts +9 -1
  2. package/build/cjs/lib/context-menu/abstract-right-click-card/abstract-right-click-card.js +24 -4
  3. package/build/cjs/lib/context-menu/abstract-right-click-card/abstract-right-click-card.js.map +1 -1
  4. package/build/cjs/lib/dice-group/dice-group.js +1 -1
  5. package/build/cjs/lib/dice-group/dice-group.js.map +1 -1
  6. package/build/cjs/lib-ext/create-assets/create-cardsheets/create-cardsheet-params.d.ts +24 -246
  7. package/build/cjs/lib-ext/create-assets/create-d6/create-d6-params.d.ts +10 -158
  8. package/build/cjs/lib-ext/image/cell/cell-parser/cell-schema.d.ts +10 -0
  9. package/build/esm/lib/context-menu/abstract-right-click-card/abstract-right-click-card.d.ts +9 -1
  10. package/build/esm/lib/context-menu/abstract-right-click-card/abstract-right-click-card.js +24 -4
  11. package/build/esm/lib/context-menu/abstract-right-click-card/abstract-right-click-card.js.map +1 -1
  12. package/build/esm/lib/dice-group/dice-group.js +1 -1
  13. package/build/esm/lib/dice-group/dice-group.js.map +1 -1
  14. package/build/esm/lib-ext/create-assets/create-cardsheets/create-cardsheet-params.d.ts +24 -246
  15. package/build/esm/lib-ext/create-assets/create-d6/create-d6-params.d.ts +10 -158
  16. package/build/esm/lib-ext/image/cell/cell-parser/cell-schema.d.ts +10 -0
  17. package/package.json +1 -1
  18. package/build/cjs/lib/color-lib/color-mapping-rotating.d.ts +0 -1
  19. package/build/cjs/lib/color-lib/color-mapping-rotating.js +0 -72
  20. package/build/cjs/lib/color-lib/color-mapping-rotating.js.map +0 -1
  21. package/build/cjs/lib/parse/parse-color/parse-color.d.ts +0 -7
  22. package/build/cjs/lib/parse/parse-color/parse-color.js +0 -51
  23. package/build/cjs/lib/parse/parse-color/parse-color.js.map +0 -1
  24. package/build/cjs/lib-ext/color-mapping/color-extract.d.ts +0 -1
  25. package/build/cjs/lib-ext/color-mapping/color-extract.js +0 -127
  26. package/build/cjs/lib-ext/color-mapping/color-extract.js.map +0 -1
  27. package/build/cjs/lib-ext/color-mapping/color-mapping-linear-centered.d.ts +0 -1
  28. package/build/cjs/lib-ext/color-mapping/color-mapping-linear-centered.js +0 -230
  29. package/build/cjs/lib-ext/color-mapping/color-mapping-linear-centered.js.map +0 -1
  30. package/build/cjs/lib-ext/color-mapping/color-mapping-linear.d.ts +0 -1
  31. package/build/cjs/lib-ext/color-mapping/color-mapping-linear.js +0 -217
  32. package/build/cjs/lib-ext/color-mapping/color-mapping-linear.js.map +0 -1
  33. package/build/cjs/lib-ext/color-mapping/color-mapping-ridge.d.ts +0 -1
  34. package/build/cjs/lib-ext/color-mapping/color-mapping-ridge.js +0 -216
  35. package/build/cjs/lib-ext/color-mapping/color-mapping-ridge.js.map +0 -1
  36. package/build/cjs/lib-ext/color-mapping/color-mapping.d.ts +0 -15
  37. package/build/cjs/lib-ext/color-mapping/color-mapping.data.d.ts +0 -7
  38. package/build/cjs/lib-ext/color-mapping/color-mapping.data.js +0 -790
  39. package/build/cjs/lib-ext/color-mapping/color-mapping.data.js.map +0 -1
  40. package/build/cjs/lib-ext/color-mapping/color-mapping.js +0 -54
  41. package/build/cjs/lib-ext/color-mapping/color-mapping.js.map +0 -1
  42. package/build/cjs/lib-ext/color-mapping/raw-linear.d.ts +0 -1
  43. package/build/cjs/lib-ext/color-mapping/raw-linear.js +0 -167
  44. package/build/cjs/lib-ext/color-mapping/raw-linear.js.map +0 -1
  45. package/build/cjs/lib-ext/image/cell/cell-parser/cell-parser.test.d.ts +0 -1
  46. package/build/cjs/lib-ext/image/cell/cell-parser/cell-parser.test.js +0 -212
  47. package/build/cjs/lib-ext/image/cell/cell-parser/cell-parser.test.js.map +0 -1
  48. package/build/esm/lib/parse/parse-color/parse-color.d.ts +0 -7
  49. package/build/esm/lib/parse/parse-color/parse-color.js +0 -44
  50. package/build/esm/lib/parse/parse-color/parse-color.js.map +0 -1
  51. package/build/esm/lib-ext/image/cell/cell-parser/cell-parser.test.d.ts +0 -1
  52. package/build/esm/lib-ext/image/cell/cell-parser/cell-parser.test.js +0 -210
  53. package/build/esm/lib-ext/image/cell/cell-parser/cell-parser.test.js.map +0 -1
@@ -10,8 +10,16 @@ import { IGlobal } from "../../global/i-global";
10
10
  */
11
11
  export declare abstract class AbstractRightClickCard implements IGlobal {
12
12
  private readonly _cardNsidPrefix;
13
- private readonly _customActionName;
13
+ private readonly _customActionNames;
14
+ private readonly _tooltips;
14
15
  private readonly _customActionHandler;
15
16
  constructor(cardNsidPrefix: string, customActionName: string, customActionHandler: (object: GameObject, player: Player, identifier: string) => void);
17
+ /**
18
+ * The first tooltip is
19
+ *
20
+ * @param tooltip
21
+ */
22
+ setTooltip(actionName: string, tooltip: string): this;
23
+ addCustomActionName(customActionName: string): this;
16
24
  init(): void;
17
25
  }
@@ -13,24 +13,44 @@ const nsid_1 = require("../../nsid/nsid");
13
13
  */
14
14
  class AbstractRightClickCard {
15
15
  constructor(cardNsidPrefix, customActionName, customActionHandler) {
16
+ this._customActionNames = [];
17
+ this._tooltips = new Map();
16
18
  this._cardNsidPrefix = cardNsidPrefix;
17
- this._customActionName = customActionName;
19
+ this._customActionNames.push(customActionName);
18
20
  this._customActionHandler = customActionHandler;
19
21
  }
22
+ /**
23
+ * The first tooltip is
24
+ *
25
+ * @param tooltip
26
+ */
27
+ setTooltip(actionName, tooltip) {
28
+ this._tooltips.set(actionName, tooltip);
29
+ return this;
30
+ }
31
+ addCustomActionName(customActionName) {
32
+ this._customActionNames.push(customActionName);
33
+ return this;
34
+ }
20
35
  init() {
21
36
  // These trigger the frame AFTER init. No need to look for objects.
22
37
  on_card_became_singleton_or_deck_1.OnCardBecameSingletonOrDeck.onSingletonCardCreated.add((card) => {
23
38
  const nsid = nsid_1.NSID.get(card);
24
39
  if (nsid.startsWith(this._cardNsidPrefix)) {
25
- card.removeCustomAction(this._customActionName);
26
- card.addCustomAction(this._customActionName);
40
+ for (const customActionName of this._customActionNames) {
41
+ const tooltip = this._tooltips.get(customActionName);
42
+ card.removeCustomAction(customActionName);
43
+ card.addCustomAction(customActionName, tooltip);
44
+ }
27
45
  card.onCustomAction.remove(this._customActionHandler);
28
46
  card.onCustomAction.add(this._customActionHandler);
29
47
  }
30
48
  });
31
49
  on_card_became_singleton_or_deck_1.OnCardBecameSingletonOrDeck.onSingletonCardMadeDeck.add((card, oldNsid) => {
32
50
  if (oldNsid.startsWith(this._cardNsidPrefix)) {
33
- card.removeCustomAction(this._customActionName);
51
+ for (const customActionName of this._customActionNames) {
52
+ card.removeCustomAction(customActionName);
53
+ }
34
54
  card.onCustomAction.remove(this._customActionHandler);
35
55
  }
36
56
  });
@@ -1 +1 @@
1
- {"version":3,"file":"abstract-right-click-card.js","sourceRoot":"","sources":["../../../../../src/lib/context-menu/abstract-right-click-card/abstract-right-click-card.ts"],"names":[],"mappings":";;;AACA,oIAA4H;AAE5H,0CAAuC;AAEvC;;;;;;;GAOG;AACH,MAAsB,sBAAsB;IASxC,YACI,cAAsB,EACtB,gBAAwB,EACxB,mBAIS;QAET,IAAI,CAAC,eAAe,GAAG,cAAc,CAAC;QACtC,IAAI,CAAC,iBAAiB,GAAG,gBAAgB,CAAC;QAC1C,IAAI,CAAC,oBAAoB,GAAG,mBAAmB,CAAC;IACpD,CAAC;IAED,IAAI;QACA,oEAAoE;QACpE,8DAA2B,CAAC,sBAAsB,CAAC,GAAG,CAAC,CAAC,IAAU,EAAE,EAAE;YAClE,MAAM,IAAI,GAAG,WAAI,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAC5B,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,eAAe,CAAC,EAAE,CAAC;gBACxC,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;gBAChD,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;gBAC7C,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;gBACtD,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;YACvD,CAAC;QACL,CAAC,CAAC,CAAC;QACH,8DAA2B,CAAC,uBAAuB,CAAC,GAAG,CACnD,CAAC,IAAU,EAAE,OAAe,EAAE,EAAE;YAC5B,IAAI,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,eAAe,CAAC,EAAE,CAAC;gBAC3C,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;gBAChD,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;YAC1D,CAAC;QACL,CAAC,CACJ,CAAC;IACN,CAAC;CACJ;AA3CD,wDA2CC"}
1
+ {"version":3,"file":"abstract-right-click-card.js","sourceRoot":"","sources":["../../../../../src/lib/context-menu/abstract-right-click-card/abstract-right-click-card.ts"],"names":[],"mappings":";;;AACA,oIAA4H;AAE5H,0CAAuC;AAEvC;;;;;;;GAOG;AACH,MAAsB,sBAAsB;IAUxC,YACI,cAAsB,EACtB,gBAAwB,EACxB,mBAIS;QAfI,uBAAkB,GAAkB,EAAE,CAAC;QACvC,cAAS,GAAwB,IAAI,GAAG,EAAE,CAAC;QAgBxD,IAAI,CAAC,eAAe,GAAG,cAAc,CAAC;QACtC,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QAC/C,IAAI,CAAC,oBAAoB,GAAG,mBAAmB,CAAC;IACpD,CAAC;IAED;;;;OAIG;IACH,UAAU,CAAC,UAAkB,EAAE,OAAe;QAC1C,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;QACxC,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,mBAAmB,CAAC,gBAAwB;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C"}
@@ -185,7 +185,7 @@ class DiceGroup {
185
185
  let faceIndex = Math.floor(Math.random() * diceParams.sides);
186
186
  diceResult.value = faceIndex + 1;
187
187
  // Maybe reroll.
188
- if (diceParams.reroll !== undefined &&
188
+ if (diceParams.reroll &&
189
189
  diceParams.hit !== undefined &&
190
190
  diceResult.value < diceParams.hit) {
191
191
  diceResult.rerolledValue = diceResult.value;
@@ -1 +1 @@
1
- {"version":3,"file":"dice-group.js","sourceRoot":"","sources":["../../../../src/lib/dice-group/dice-group.ts"],"names":[],"mappings":";;;AAAA,kDAQkC;AAwCrB,QAAA,yBAAyB,GAAG,sBAAsB,CAAC;AAEhE;;GAEG;AACH,MAAa,gBAAgB;IACzB,IAAI;QACA,MAAM,aAAa,GAAG,IAAI,CAAC;QAC3B,KAAK,MAAM,GAAG,IAAI,WAAK,CAAC,aAAa,CAAC,aAAa,CAAC,EAAE,CAAC;YACnD,IAAI,CAAC,CAAC,GAAG,YAAY,UAAI,CAAC,EAAE,CAAC;gBACzB,SAAS;YACb,CAAC;YACD,MAAM,KAAK,GAAG,GAAG,CAAC,YAAY,CAAC,iCAAyB,CAAC,CAAC;YAC1D,IAAI,KAAK,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;gBAC5B,GAAG,CAAC,OAAO,EAAE,CAAC;YAClB,CAAC;QACL,CAAC;IACL,CAAC;CACJ;AAbD,4CAaC;AAED;;;;;GAKG;AACH,MAAa,SAAS;IAIlB;;;;;OAKG;IACI,MAAM,CAAC,IAAI,CAAC,MAAuB;QACtC,MAAM,SAAS,GAAG,IAAI,SAAS,CAAC,MAAM,CAAC,CAAC;QACxC,IAAI,MAAM,CAAC,UAAU,EAAE,CAAC;YACpB,SAAS,CAAC,QAAQ,EAAE,CAAC;QACzB,CAAC;aAAM,CAAC;YACJ,SAAS,CAAC,IAAI,EAAE,CAAC;QACrB,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACI,MAAM,CAAC,MAAM,CAAC,UAAsB;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229
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
230
230
  }, "strict", z.ZodTypeAny, {
231
- face: (string | z.objectOutputType<{
231
+ face: string | z.objectOutputType<{
232
232
  type: z.ZodString;
233
233
  scale: z.ZodOptional<z.ZodObject<{
234
234
  pixel: z.ZodNumber;
@@ -265,44 +265,8 @@ export declare const CardsheetCardSchema: z.ZodObject<{
265
265
  range?: number | undefined;
266
266
  createCountToPrev?: number | undefined;
267
267
  }>, "many">>;
268
- }, z.ZodTypeAny, "passthrough">) & (string | z.objectOutputType<{
269
- type: z.ZodString;
270
- scale: z.ZodOptional<z.ZodObject<{
271
- pixel: z.ZodNumber;
272
- world: z.ZodNumber;
273
- }, "strict", z.ZodTypeAny, {
274
- pixel: number;
275
- world: number;
276
- }, {
277
- pixel: number;
278
- world: number;
279
- }>>;
280
- exports: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
281
- id: z.ZodOptional<z.ZodString>;
282
- cloneId: z.ZodOptional<z.ZodString>;
283
- snapPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
284
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
285
- left: z.ZodOptional<z.ZodNumber>;
286
- top: z.ZodOptional<z.ZodNumber>;
287
- rotation: z.ZodOptional<z.ZodNumber>;
288
- range: z.ZodOptional<z.ZodNumber>;
289
- createCountToPrev: z.ZodOptional<z.ZodNumber>;
290
- }, "strict", z.ZodTypeAny, {
291
- tags?: string[] | undefined;
292
- left?: number | undefined;
293
- top?: number | undefined;
294
- rotation?: number | undefined;
295
- range?: number | undefined;
296
- createCountToPrev?: number | undefined;
297
- }, {
298
- tags?: string[] | undefined;
299
- left?: number | undefined;
300
- top?: number | undefined;
301
- rotation?: number | undefined;
302
- range?: number | undefined;
303
- createCountToPrev?: number | undefined;
304
- }>, "many">>;
305
- }, z.ZodTypeAny, "passthrough"> | undefined);
268
+ }, z.ZodTypeAny, "passthrough">;
269
+ tags?: string[] | undefined;
306
270
  back?: string | z.objectOutputType<{
307
271
  type: z.ZodString;
308
272
  scale: z.ZodOptional<z.ZodObject<{
@@ -343,46 +307,8 @@ export declare const CardsheetCardSchema: z.ZodObject<{
343
307
  }, z.ZodTypeAny, "passthrough"> | undefined;
344
308
  name?: string | undefined;
345
309
  metadata?: string | undefined;
346
- tags?: string[] | undefined;
347
310
  }, {
348
- face: (string | z.objectInputType<{
349
- type: z.ZodString;
350
- scale: z.ZodOptional<z.ZodObject<{
351
- pixel: z.ZodNumber;
352
- world: z.ZodNumber;
353
- }, "strict", z.ZodTypeAny, {
354
- pixel: number;
355
- world: number;
356
- }, {
357
- pixel: number;
358
- world: number;
359
- }>>;
360
- exports: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
361
- id: z.ZodOptional<z.ZodString>;
362
- cloneId: z.ZodOptional<z.ZodString>;
363
- snapPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
364
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
365
- left: z.ZodOptional<z.ZodNumber>;
366
- top: z.ZodOptional<z.ZodNumber>;
367
- rotation: z.ZodOptional<z.ZodNumber>;
368
- range: z.ZodOptional<z.ZodNumber>;
369
- createCountToPrev: z.ZodOptional<z.ZodNumber>;
370
- }, "strict", z.ZodTypeAny, {
371
- tags?: string[] | undefined;
372
- left?: number | undefined;
373
- top?: number | undefined;
374
- rotation?: number | undefined;
375
- range?: number | undefined;
376
- createCountToPrev?: number | undefined;
377
- }, {
378
- tags?: string[] | undefined;
379
- left?: number | undefined;
380
- top?: number | undefined;
381
- rotation?: number | undefined;
382
- range?: number | undefined;
383
- createCountToPrev?: number | undefined;
384
- }>, "many">>;
385
- }, z.ZodTypeAny, "passthrough">) & (string | z.objectInputType<{
311
+ face: string | z.objectInputType<{
386
312
  type: z.ZodString;
387
313
  scale: z.ZodOptional<z.ZodObject<{
388
314
  pixel: z.ZodNumber;
@@ -419,7 +345,8 @@ export declare const CardsheetCardSchema: z.ZodObject<{
419
345
  range?: number | undefined;
420
346
  createCountToPrev?: number | undefined;
421
347
  }>, "many">>;
422
- }, z.ZodTypeAny, "passthrough"> | undefined);
348
+ }, z.ZodTypeAny, "passthrough">;
349
+ tags?: string[] | undefined;
423
350
  back?: string | z.objectInputType<{
424
351
  type: z.ZodString;
425
352
  scale: z.ZodOptional<z.ZodObject<{
@@ -460,7 +387,6 @@ export declare const CardsheetCardSchema: z.ZodObject<{
460
387
  }, z.ZodTypeAny, "passthrough"> | undefined;
461
388
  name?: string | undefined;
462
389
  metadata?: string | undefined;
463
- tags?: string[] | undefined;
464
390
  }>;
465
391
  export type CardsheetCardType = z.infer<typeof CardsheetCardSchema>;
466
392
  export declare const CreateCardsheetParamsSchema: z.ZodObject<{
@@ -719,44 +645,7 @@ export declare const CreateCardsheetParamsSchema: z.ZodObject<{
719
645
  metadata: z.ZodOptional<z.ZodString>;
720
646
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
721
647
  }, "strict", z.ZodTypeAny, {
722
- face: (string | z.objectOutputType<{
723
- type: z.ZodString;
724
- scale: z.ZodOptional<z.ZodObject<{
725
- pixel: z.ZodNumber;
726
- world: z.ZodNumber;
727
- }, "strict", z.ZodTypeAny, {
728
- pixel: number;
729
- world: number;
730
- }, {
731
- pixel: number;
732
- world: number;
733
- }>>;
734
- exports: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
735
- id: z.ZodOptional<z.ZodString>;
736
- cloneId: z.ZodOptional<z.ZodString>;
737
- snapPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
738
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
739
- left: z.ZodOptional<z.ZodNumber>;
740
- top: z.ZodOptional<z.ZodNumber>;
741
- rotation: z.ZodOptional<z.ZodNumber>;
742
- range: z.ZodOptional<z.ZodNumber>;
743
- createCountToPrev: z.ZodOptional<z.ZodNumber>;
744
- }, "strict", z.ZodTypeAny, {
745
- tags?: string[] | undefined;
746
- left?: number | undefined;
747
- top?: number | undefined;
748
- rotation?: number | undefined;
749
- range?: number | undefined;
750
- createCountToPrev?: number | undefined;
751
- }, {
752
- tags?: string[] | undefined;
753
- left?: number | undefined;
754
- top?: number | undefined;
755
- rotation?: number | undefined;
756
- range?: number | undefined;
757
- createCountToPrev?: number | undefined;
758
- }>, "many">>;
759
- }, z.ZodTypeAny, "passthrough">) & (string | z.objectOutputType<{
648
+ face: string | z.objectOutputType<{
760
649
  type: z.ZodString;
761
650
  scale: z.ZodOptional<z.ZodObject<{
762
651
  pixel: z.ZodNumber;
@@ -793,7 +682,8 @@ export declare const CreateCardsheetParamsSchema: z.ZodObject<{
793
682
  range?: number | undefined;
794
683
  createCountToPrev?: number | undefined;
795
684
  }>, "many">>;
796
- }, z.ZodTypeAny, "passthrough"> | undefined);
685
+ }, z.ZodTypeAny, "passthrough">;
686
+ tags?: string[] | undefined;
797
687
  back?: string | z.objectOutputType<{
798
688
  type: z.ZodString;
799
689
  scale: z.ZodOptional<z.ZodObject<{
@@ -834,46 +724,8 @@ export declare const CreateCardsheetParamsSchema: z.ZodObject<{
834
724
  }, z.ZodTypeAny, "passthrough"> | undefined;
835
725
  name?: string | undefined;
836
726
  metadata?: string | undefined;
837
- tags?: string[] | undefined;
838
727
  }, {
839
- face: (string | z.objectInputType<{
840
- type: z.ZodString;
841
- scale: z.ZodOptional<z.ZodObject<{
842
- pixel: z.ZodNumber;
843
- world: z.ZodNumber;
844
- }, "strict", z.ZodTypeAny, {
845
- pixel: number;
846
- world: number;
847
- }, {
848
- pixel: number;
849
- world: number;
850
- }>>;
851
- exports: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
852
- id: z.ZodOptional<z.ZodString>;
853
- cloneId: z.ZodOptional<z.ZodString>;
854
- snapPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
855
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
856
- left: z.ZodOptional<z.ZodNumber>;
857
- top: z.ZodOptional<z.ZodNumber>;
858
- rotation: z.ZodOptional<z.ZodNumber>;
859
- range: z.ZodOptional<z.ZodNumber>;
860
- createCountToPrev: z.ZodOptional<z.ZodNumber>;
861
- }, "strict", z.ZodTypeAny, {
862
- tags?: string[] | undefined;
863
- left?: number | undefined;
864
- top?: number | undefined;
865
- rotation?: number | undefined;
866
- range?: number | undefined;
867
- createCountToPrev?: number | undefined;
868
- }, {
869
- tags?: string[] | undefined;
870
- left?: number | undefined;
871
- top?: number | undefined;
872
- rotation?: number | undefined;
873
- range?: number | undefined;
874
- createCountToPrev?: number | undefined;
875
- }>, "many">>;
876
- }, z.ZodTypeAny, "passthrough">) & (string | z.objectInputType<{
728
+ face: string | z.objectInputType<{
877
729
  type: z.ZodString;
878
730
  scale: z.ZodOptional<z.ZodObject<{
879
731
  pixel: z.ZodNumber;
@@ -910,7 +762,8 @@ export declare const CreateCardsheetParamsSchema: z.ZodObject<{
910
762
  range?: number | undefined;
911
763
  createCountToPrev?: number | undefined;
912
764
  }>, "many">>;
913
- }, z.ZodTypeAny, "passthrough"> | undefined);
765
+ }, z.ZodTypeAny, "passthrough">;
766
+ tags?: string[] | undefined;
914
767
  back?: string | z.objectInputType<{
915
768
  type: z.ZodString;
916
769
  scale: z.ZodOptional<z.ZodObject<{
@@ -951,7 +804,6 @@ export declare const CreateCardsheetParamsSchema: z.ZodObject<{
951
804
  }, z.ZodTypeAny, "passthrough"> | undefined;
952
805
  name?: string | undefined;
953
806
  metadata?: string | undefined;
954
- tags?: string[] | undefined;
955
807
  }>, "many">;
956
808
  back: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
957
809
  type: z.ZodString;
@@ -1077,44 +929,7 @@ export declare const CreateCardsheetParamsSchema: z.ZodObject<{
1077
929
  height: number;
1078
930
  };
1079
931
  cards: {
1080
- face: (string | z.objectOutputType<{
1081
- type: z.ZodString;
1082
- scale: z.ZodOptional<z.ZodObject<{
1083
- pixel: z.ZodNumber;
1084
- world: z.ZodNumber;
1085
- }, "strict", z.ZodTypeAny, {
1086
- pixel: number;
1087
- world: number;
1088
- }, {
1089
- pixel: number;
1090
- world: number;
1091
- }>>;
1092
- exports: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
1093
- id: z.ZodOptional<z.ZodString>;
1094
- cloneId: z.ZodOptional<z.ZodString>;
1095
- snapPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
1096
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1097
- left: z.ZodOptional<z.ZodNumber>;
1098
- top: z.ZodOptional<z.ZodNumber>;
1099
- rotation: z.ZodOptional<z.ZodNumber>;
1100
- range: z.ZodOptional<z.ZodNumber>;
1101
- createCountToPrev: z.ZodOptional<z.ZodNumber>;
1102
- }, "strict", z.ZodTypeAny, {
1103
- tags?: string[] | undefined;
1104
- left?: number | undefined;
1105
- top?: number | undefined;
1106
- rotation?: number | undefined;
1107
- range?: number | undefined;
1108
- createCountToPrev?: number | undefined;
1109
- }, {
1110
- tags?: string[] | undefined;
1111
- left?: number | undefined;
1112
- top?: number | undefined;
1113
- rotation?: number | undefined;
1114
- range?: number | undefined;
1115
- createCountToPrev?: number | undefined;
1116
- }>, "many">>;
1117
- }, z.ZodTypeAny, "passthrough">) & (string | z.objectOutputType<{
932
+ face: string | z.objectOutputType<{
1118
933
  type: z.ZodString;
1119
934
  scale: z.ZodOptional<z.ZodObject<{
1120
935
  pixel: z.ZodNumber;
@@ -1151,7 +966,8 @@ export declare const CreateCardsheetParamsSchema: z.ZodObject<{
1151
966
  range?: number | undefined;
1152
967
  createCountToPrev?: number | undefined;
1153
968
  }>, "many">>;
1154
- }, z.ZodTypeAny, "passthrough"> | undefined);
969
+ }, z.ZodTypeAny, "passthrough">;
970
+ tags?: string[] | undefined;
1155
971
  back?: string | z.objectOutputType<{
1156
972
  type: z.ZodString;
1157
973
  scale: z.ZodOptional<z.ZodObject<{
@@ -1192,12 +1008,8 @@ export declare const CreateCardsheetParamsSchema: z.ZodObject<{
1192
1008
  }, z.ZodTypeAny, "passthrough"> | undefined;
1193
1009
  name?: string | undefined;
1194
1010
  metadata?: string | undefined;
1195
- tags?: string[] | undefined;
1196
1011
  }[];
1197
1012
  rootDir?: string | undefined;
1198
- deckMetadata?: string | undefined;
1199
- applyAllInputDir?: string | undefined;
1200
- applyAllTags?: string[] | undefined;
1201
1013
  back?: string | z.objectOutputType<{
1202
1014
  type: z.ZodString;
1203
1015
  scale: z.ZodOptional<z.ZodObject<{
@@ -1236,6 +1048,9 @@ export declare const CreateCardsheetParamsSchema: z.ZodObject<{
1236
1048
  createCountToPrev?: number | undefined;
1237
1049
  }>, "many">>;
1238
1050
  }, z.ZodTypeAny, "passthrough"> | undefined;
1051
+ deckMetadata?: string | undefined;
1052
+ applyAllInputDir?: string | undefined;
1053
+ applyAllTags?: string[] | undefined;
1239
1054
  }, {
1240
1055
  assetFilename: string;
1241
1056
  templateName: string;
@@ -1248,44 +1063,7 @@ export declare const CreateCardsheetParamsSchema: z.ZodObject<{
1248
1063
  height: number;
1249
1064
  };
1250
1065
  cards: {
1251
- face: (string | z.objectInputType<{
1252
- type: z.ZodString;
1253
- scale: z.ZodOptional<z.ZodObject<{
1254
- pixel: z.ZodNumber;
1255
- world: z.ZodNumber;
1256
- }, "strict", z.ZodTypeAny, {
1257
- pixel: number;
1258
- world: number;
1259
- }, {
1260
- pixel: number;
1261
- world: number;
1262
- }>>;
1263
- exports: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
1264
- id: z.ZodOptional<z.ZodString>;
1265
- cloneId: z.ZodOptional<z.ZodString>;
1266
- snapPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
1267
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1268
- left: z.ZodOptional<z.ZodNumber>;
1269
- top: z.ZodOptional<z.ZodNumber>;
1270
- rotation: z.ZodOptional<z.ZodNumber>;
1271
- range: z.ZodOptional<z.ZodNumber>;
1272
- createCountToPrev: z.ZodOptional<z.ZodNumber>;
1273
- }, "strict", z.ZodTypeAny, {
1274
- tags?: string[] | undefined;
1275
- left?: number | undefined;
1276
- top?: number | undefined;
1277
- rotation?: number | undefined;
1278
- range?: number | undefined;
1279
- createCountToPrev?: number | undefined;
1280
- }, {
1281
- tags?: string[] | undefined;
1282
- left?: number | undefined;
1283
- top?: number | undefined;
1284
- rotation?: number | undefined;
1285
- range?: number | undefined;
1286
- createCountToPrev?: number | undefined;
1287
- }>, "many">>;
1288
- }, z.ZodTypeAny, "passthrough">) & (string | z.objectInputType<{
1066
+ face: string | z.objectInputType<{
1289
1067
  type: z.ZodString;
1290
1068
  scale: z.ZodOptional<z.ZodObject<{
1291
1069
  pixel: z.ZodNumber;
@@ -1322,7 +1100,8 @@ export declare const CreateCardsheetParamsSchema: z.ZodObject<{
1322
1100
  range?: number | undefined;
1323
1101
  createCountToPrev?: number | undefined;
1324
1102
  }>, "many">>;
1325
- }, z.ZodTypeAny, "passthrough"> | undefined);
1103
+ }, z.ZodTypeAny, "passthrough">;
1104
+ tags?: string[] | undefined;
1326
1105
  back?: string | z.objectInputType<{
1327
1106
  type: z.ZodString;
1328
1107
  scale: z.ZodOptional<z.ZodObject<{
@@ -1363,12 +1142,8 @@ export declare const CreateCardsheetParamsSchema: z.ZodObject<{
1363
1142
  }, z.ZodTypeAny, "passthrough"> | undefined;
1364
1143
  name?: string | undefined;
1365
1144
  metadata?: string | undefined;
1366
- tags?: string[] | undefined;
1367
1145
  }[];
1368
1146
  rootDir?: string | undefined;
1369
- deckMetadata?: string | undefined;
1370
- applyAllInputDir?: string | undefined;
1371
- applyAllTags?: string[] | undefined;
1372
1147
  back?: string | z.objectInputType<{
1373
1148
  type: z.ZodString;
1374
1149
  scale: z.ZodOptional<z.ZodObject<{
@@ -1407,5 +1182,8 @@ export declare const CreateCardsheetParamsSchema: z.ZodObject<{
1407
1182
  createCountToPrev?: number | undefined;
1408
1183
  }>, "many">>;
1409
1184
  }, z.ZodTypeAny, "passthrough"> | undefined;
1185
+ deckMetadata?: string | undefined;
1186
+ applyAllInputDir?: string | undefined;
1187
+ applyAllTags?: string[] | undefined;
1410
1188
  }>;
1411
1189
  export type CreateCardsheetParams = z.infer<typeof CreateCardsheetParamsSchema>;