@formant/data-sdk 0.0.119 → 0.0.120

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.
@@ -1,8 +1,8 @@
1
1
  import { StreamType } from "./StreamType";
2
2
  export type FieldType = "string" | "integer" | "number" | "array" | "object" | "bool" | "boolean" | "$formant.stream";
3
3
  export interface IJsonBaseSchema<T extends FieldType> {
4
- title: string;
5
- description: string;
4
+ title?: string;
5
+ description?: string;
6
6
  type: T;
7
7
  default?: string;
8
8
  required?: string[];
@@ -29,8 +29,8 @@ export interface IJsonStringSchema extends IJsonBaseSchema<"string"> {
29
29
  enum?: string[];
30
30
  "$formant.streams.byType"?: StreamType;
31
31
  "$formant.placeholder"?: string;
32
- "$formant.groups": boolean;
33
- "$formant.date": boolean;
32
+ "$formant.groups"?: boolean;
33
+ "$formant.date"?: boolean;
34
34
  }
35
35
  export type IJsonBooleanSchema = IJsonBaseSchema<"boolean">;
36
36
  export type IJsonIntegerSchema = IJsonBaseSchema<"integer">;
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "require": "./dist/data-sdk.umd.js"
19
19
  }
20
20
  },
21
- "version": "0.0.119",
21
+ "version": "0.0.120",
22
22
  "scripts": {
23
23
  "dev": "vite --port 9146",
24
24
  "build": "tsc && vite build",