@formspec/build 0.1.0-alpha.19 → 0.1.0-alpha.20

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 (35) hide show
  1. package/dist/__tests__/fixtures/class-schema-regressions.d.ts +4 -0
  2. package/dist/__tests__/fixtures/class-schema-regressions.d.ts.map +1 -1
  3. package/dist/__tests__/parity/utils.d.ts.map +1 -1
  4. package/dist/analyzer/class-analyzer.d.ts +4 -1
  5. package/dist/analyzer/class-analyzer.d.ts.map +1 -1
  6. package/dist/analyzer/jsdoc-constraints.d.ts +2 -1
  7. package/dist/analyzer/jsdoc-constraints.d.ts.map +1 -1
  8. package/dist/analyzer/tsdoc-parser.d.ts +13 -3
  9. package/dist/analyzer/tsdoc-parser.d.ts.map +1 -1
  10. package/dist/browser.cjs +30 -748
  11. package/dist/browser.cjs.map +1 -1
  12. package/dist/browser.js +32 -748
  13. package/dist/browser.js.map +1 -1
  14. package/dist/build.d.ts +14 -14
  15. package/dist/cli.cjs +691 -1101
  16. package/dist/cli.cjs.map +1 -1
  17. package/dist/cli.js +704 -1100
  18. package/dist/cli.js.map +1 -1
  19. package/dist/generators/class-schema.d.ts.map +1 -1
  20. package/dist/index.cjs +689 -1095
  21. package/dist/index.cjs.map +1 -1
  22. package/dist/index.js +703 -1095
  23. package/dist/index.js.map +1 -1
  24. package/dist/internals.cjs +663 -1069
  25. package/dist/internals.cjs.map +1 -1
  26. package/dist/internals.js +675 -1067
  27. package/dist/internals.js.map +1 -1
  28. package/dist/ui-schema/schema.d.ts +14 -14
  29. package/dist/validate/constraint-validator.d.ts +6 -45
  30. package/dist/validate/constraint-validator.d.ts.map +1 -1
  31. package/package.json +2 -1
  32. package/dist/__tests__/json-utils.test.d.ts +0 -5
  33. package/dist/__tests__/json-utils.test.d.ts.map +0 -1
  34. package/dist/analyzer/json-utils.d.ts +0 -22
  35. package/dist/analyzer/json-utils.d.ts.map +0 -1
package/dist/build.d.ts CHANGED
@@ -171,17 +171,17 @@ export declare const controlSchema: z.ZodObject<{
171
171
  scope: string;
172
172
  }>;
173
173
  }, "strict", z.ZodTypeAny, {
174
- effect: "SHOW" | "HIDE" | "ENABLE" | "DISABLE";
175
174
  condition: {
176
175
  schema: RuleConditionSchema;
177
176
  scope: string;
178
177
  };
179
- }, {
180
178
  effect: "SHOW" | "HIDE" | "ENABLE" | "DISABLE";
179
+ }, {
181
180
  condition: {
182
181
  schema: RuleConditionSchema;
183
182
  scope: string;
184
183
  };
184
+ effect: "SHOW" | "HIDE" | "ENABLE" | "DISABLE";
185
185
  }>>;
186
186
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
187
187
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -201,17 +201,17 @@ export declare const controlSchema: z.ZodObject<{
201
201
  scope: string;
202
202
  }>;
203
203
  }, "strict", z.ZodTypeAny, {
204
- effect: "SHOW" | "HIDE" | "ENABLE" | "DISABLE";
205
204
  condition: {
206
205
  schema: RuleConditionSchema;
207
206
  scope: string;
208
207
  };
209
- }, {
210
208
  effect: "SHOW" | "HIDE" | "ENABLE" | "DISABLE";
209
+ }, {
211
210
  condition: {
212
211
  schema: RuleConditionSchema;
213
212
  scope: string;
214
213
  };
214
+ effect: "SHOW" | "HIDE" | "ENABLE" | "DISABLE";
215
215
  }>>;
216
216
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
217
217
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -231,17 +231,17 @@ export declare const controlSchema: z.ZodObject<{
231
231
  scope: string;
232
232
  }>;
233
233
  }, "strict", z.ZodTypeAny, {
234
- effect: "SHOW" | "HIDE" | "ENABLE" | "DISABLE";
235
234
  condition: {
236
235
  schema: RuleConditionSchema;
237
236
  scope: string;
238
237
  };
239
- }, {
240
238
  effect: "SHOW" | "HIDE" | "ENABLE" | "DISABLE";
239
+ }, {
241
240
  condition: {
242
241
  schema: RuleConditionSchema;
243
242
  scope: string;
244
243
  };
244
+ effect: "SHOW" | "HIDE" | "ENABLE" | "DISABLE";
245
245
  }>>;
246
246
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
247
247
  }, z.ZodTypeAny, "passthrough">>;
@@ -707,17 +707,17 @@ export declare const labelElementSchema: z.ZodObject<{
707
707
  scope: string;
708
708
  }>;
709
709
  }, "strict", z.ZodTypeAny, {
710
- effect: "SHOW" | "HIDE" | "ENABLE" | "DISABLE";
711
710
  condition: {
712
711
  schema: RuleConditionSchema;
713
712
  scope: string;
714
713
  };
715
- }, {
716
714
  effect: "SHOW" | "HIDE" | "ENABLE" | "DISABLE";
715
+ }, {
717
716
  condition: {
718
717
  schema: RuleConditionSchema;
719
718
  scope: string;
720
719
  };
720
+ effect: "SHOW" | "HIDE" | "ENABLE" | "DISABLE";
721
721
  }>>;
722
722
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
723
723
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
@@ -736,17 +736,17 @@ export declare const labelElementSchema: z.ZodObject<{
736
736
  scope: string;
737
737
  }>;
738
738
  }, "strict", z.ZodTypeAny, {
739
- effect: "SHOW" | "HIDE" | "ENABLE" | "DISABLE";
740
739
  condition: {
741
740
  schema: RuleConditionSchema;
742
741
  scope: string;
743
742
  };
744
- }, {
745
743
  effect: "SHOW" | "HIDE" | "ENABLE" | "DISABLE";
744
+ }, {
746
745
  condition: {
747
746
  schema: RuleConditionSchema;
748
747
  scope: string;
749
748
  };
749
+ effect: "SHOW" | "HIDE" | "ENABLE" | "DISABLE";
750
750
  }>>;
751
751
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
752
752
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
@@ -765,17 +765,17 @@ export declare const labelElementSchema: z.ZodObject<{
765
765
  scope: string;
766
766
  }>;
767
767
  }, "strict", z.ZodTypeAny, {
768
- effect: "SHOW" | "HIDE" | "ENABLE" | "DISABLE";
769
768
  condition: {
770
769
  schema: RuleConditionSchema;
771
770
  scope: string;
772
771
  };
773
- }, {
774
772
  effect: "SHOW" | "HIDE" | "ENABLE" | "DISABLE";
773
+ }, {
775
774
  condition: {
776
775
  schema: RuleConditionSchema;
777
776
  scope: string;
778
777
  };
778
+ effect: "SHOW" | "HIDE" | "ENABLE" | "DISABLE";
779
779
  }>>;
780
780
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
781
781
  }, z.ZodTypeAny, "passthrough">>;
@@ -841,17 +841,17 @@ export declare const ruleSchema: z.ZodObject<{
841
841
  scope: string;
842
842
  }>;
843
843
  }, "strict", z.ZodTypeAny, {
844
- effect: "SHOW" | "HIDE" | "ENABLE" | "DISABLE";
845
844
  condition: {
846
845
  schema: RuleConditionSchema;
847
846
  scope: string;
848
847
  };
849
- }, {
850
848
  effect: "SHOW" | "HIDE" | "ENABLE" | "DISABLE";
849
+ }, {
851
850
  condition: {
852
851
  schema: RuleConditionSchema;
853
852
  scope: string;
854
853
  };
854
+ effect: "SHOW" | "HIDE" | "ENABLE" | "DISABLE";
855
855
  }>;
856
856
 
857
857
  /**