formspec 0.1.0-alpha.55 → 0.1.0-alpha.58

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.
@@ -725,7 +725,7 @@ export declare interface GenerateJsonSchemaOptions {
725
725
  * JSON Schema representation to use for static enums.
726
726
  * @defaultValue "enum"
727
727
  */
728
- readonly enumSerialization?: "enum" | "oneOf";
728
+ readonly enumSerialization?: "enum" | "oneOf" | "smart-size";
729
729
  /** Metadata resolution policy for chain DSL generation. */
730
730
  readonly metadata?: MetadataPolicyInput | undefined;
731
731
  /**
@@ -725,7 +725,7 @@ export declare interface GenerateJsonSchemaOptions {
725
725
  * JSON Schema representation to use for static enums.
726
726
  * @defaultValue "enum"
727
727
  */
728
- readonly enumSerialization?: "enum" | "oneOf";
728
+ readonly enumSerialization?: "enum" | "oneOf" | "smart-size";
729
729
  /** Metadata resolution policy for chain DSL generation. */
730
730
  readonly metadata?: MetadataPolicyInput | undefined;
731
731
  /**
@@ -725,7 +725,7 @@ export declare interface GenerateJsonSchemaOptions {
725
725
  * JSON Schema representation to use for static enums.
726
726
  * @defaultValue "enum"
727
727
  */
728
- readonly enumSerialization?: "enum" | "oneOf";
728
+ readonly enumSerialization?: "enum" | "oneOf" | "smart-size";
729
729
  /** Metadata resolution policy for chain DSL generation. */
730
730
  readonly metadata?: MetadataPolicyInput | undefined;
731
731
  /**
@@ -725,7 +725,7 @@ export declare interface GenerateJsonSchemaOptions {
725
725
  * JSON Schema representation to use for static enums.
726
726
  * @defaultValue "enum"
727
727
  */
728
- readonly enumSerialization?: "enum" | "oneOf";
728
+ readonly enumSerialization?: "enum" | "oneOf" | "smart-size";
729
729
  /** Metadata resolution policy for chain DSL generation. */
730
730
  readonly metadata?: MetadataPolicyInput | undefined;
731
731
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "formspec",
3
- "version": "0.1.0-alpha.55",
3
+ "version": "0.1.0-alpha.58",
4
4
  "description": "Type-safe form specifications that compile to JSON Schema and JSON Forms UI Schema",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -21,7 +21,7 @@
21
21
  "dependencies": {
22
22
  "@formspec/core": "0.1.0-alpha.55",
23
23
  "@formspec/dsl": "0.1.0-alpha.55",
24
- "@formspec/build": "0.1.0-alpha.55",
24
+ "@formspec/build": "0.1.0-alpha.58",
25
25
  "@formspec/runtime": "0.1.0-alpha.55"
26
26
  },
27
27
  "publishConfig": {