@uigraph/sdk 1.1.38 → 1.1.40

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.
@@ -2,6 +2,11 @@ import { t as ComponentInputType } from "./__component-type.CO8FgnQE.mjs";
2
2
  import { Edge, Node } from "@xyflow/react";
3
3
 
4
4
  //#region src/types/component.d.ts
5
+ type LinkOrFileValue = {
6
+ fileId?: string;
7
+ url?: string;
8
+ file?: File;
9
+ };
5
10
  type ServerComponentField = {
6
11
  componentFieldId?: string | null;
7
12
  isReadonly?: boolean | null;
@@ -114,4 +119,4 @@ interface RFComponentField {
114
119
  data: unknown;
115
120
  }
116
121
  //#endregion
117
- export { MermaidNode as a, SequenceParticipant as c, ServerComponentField as d, ServerComponentFieldInput as f, MermaidEdge as i, SubgraphInfo as l, RFComponentField as n, SequenceDiagramData as o, ReactFlowData as r, SequenceMessage as s, CustomData as t, SubgraphLayout as u };
122
+ export { MermaidNode as a, SequenceParticipant as c, LinkOrFileValue as d, ServerComponentField as f, MermaidEdge as i, SubgraphInfo as l, RFComponentField as n, SequenceDiagramData as o, ServerComponentFieldInput as p, ReactFlowData as r, SequenceMessage as s, CustomData as t, SubgraphLayout as u };
@@ -2,6 +2,11 @@ import { t as ComponentInputType } from "./__component-type.tW2Xh7Xk.cjs";
2
2
  import { Edge, Node } from "@xyflow/react";
3
3
 
4
4
  //#region src/types/component.d.ts
5
+ type LinkOrFileValue = {
6
+ fileId?: string;
7
+ url?: string;
8
+ file?: File;
9
+ };
5
10
  type ServerComponentField = {
6
11
  componentFieldId?: string | null;
7
12
  isReadonly?: boolean | null;
@@ -114,4 +119,4 @@ interface RFComponentField {
114
119
  data: unknown;
115
120
  }
116
121
  //#endregion
117
- export { MermaidNode as a, SequenceParticipant as c, ServerComponentField as d, ServerComponentFieldInput as f, MermaidEdge as i, SubgraphInfo as l, RFComponentField as n, SequenceDiagramData as o, ReactFlowData as r, SequenceMessage as s, CustomData as t, SubgraphLayout as u };
122
+ export { MermaidNode as a, SequenceParticipant as c, LinkOrFileValue as d, ServerComponentField as f, MermaidEdge as i, SubgraphInfo as l, RFComponentField as n, SequenceDiagramData as o, ServerComponentFieldInput as p, ReactFlowData as r, SequenceMessage as s, CustomData as t, SubgraphLayout as u };
package/dist/browser.cjs CHANGED
@@ -15,18 +15,24 @@ function buildDynamicZodSchema(fields) {
15
15
  case require_component_type.ComponentInputType.DropdownSelect:
16
16
  case require_component_type.ComponentInputType.DatePicker: {
17
17
  var _field$label;
18
- const stringSchema$1 = zod.z.string();
19
- zodType = field.required ? stringSchema$1.min(1, { message: `${(_field$label = field.label) !== null && _field$label !== void 0 ? _field$label : "Field"} is required` }) : stringSchema$1.optional();
18
+ const stringSchema = zod.z.string();
19
+ zodType = field.required ? stringSchema.min(1, { message: `${(_field$label = field.label) !== null && _field$label !== void 0 ? _field$label : "Field"} is required` }) : stringSchema.optional();
20
20
  break;
21
21
  }
22
22
  case require_component_type.ComponentInputType.FileUpload:
23
- case require_component_type.ComponentInputType.LinkOrFileUpload:
23
+ case require_component_type.ComponentInputType.LinkOrFileUpload: {
24
24
  var _field$label2;
25
- const stringSchema = zod.z.string();
26
- const fileSchema = zod.z.instanceof(File);
27
- const unionSchema = zod.z.union([field.required ? fileSchema : fileSchema.optional(), field.required ? stringSchema.min(1, { message: `${(_field$label2 = field.label) !== null && _field$label2 !== void 0 ? _field$label2 : "Field"} is required` }) : stringSchema.optional()]);
28
- zodType = field.required ? unionSchema : unionSchema.optional();
25
+ const objectSchema = zod.z.object({
26
+ fileId: zod.z.string().optional(),
27
+ url: zod.z.string().optional(),
28
+ file: zod.z.instanceof(File).optional()
29
+ });
30
+ zodType = field.required ? objectSchema.refine((value) => {
31
+ var _value$url$length, _value$url, _value$fileId$length, _value$fileId;
32
+ return ((_value$url$length = (_value$url = value.url) === null || _value$url === void 0 ? void 0 : _value$url.length) !== null && _value$url$length !== void 0 ? _value$url$length : 0) > 0 || ((_value$fileId$length = (_value$fileId = value.fileId) === null || _value$fileId === void 0 ? void 0 : _value$fileId.length) !== null && _value$fileId$length !== void 0 ? _value$fileId$length : 0) > 0 || value.file instanceof File;
33
+ }, { message: `${(_field$label2 = field.label) !== null && _field$label2 !== void 0 ? _field$label2 : "Field"} is required` }) : objectSchema.optional();
29
34
  break;
35
+ }
30
36
  case require_component_type.ComponentInputType.URLInput: {
31
37
  var _field$label3;
32
38
  const urlSchema = zod.z.string({ message: "Invalid URL" });
@@ -1,4 +1,4 @@
1
- import { d as ServerComponentField } from "./__index.CTSMJl1o.cjs";
1
+ import { f as ServerComponentField } from "./__index.ClK6nImE.cjs";
2
2
  import "./__component-type.tW2Xh7Xk.cjs";
3
3
  import { z } from "zod";
4
4
 
@@ -1,4 +1,4 @@
1
- import { d as ServerComponentField } from "./__index.BxD_9h1c.mjs";
1
+ import { f as ServerComponentField } from "./__index.Bfg50WMf.mjs";
2
2
  import "./__component-type.CO8FgnQE.mjs";
3
3
  import { z } from "zod";
4
4
 
package/dist/browser.mjs CHANGED
@@ -13,18 +13,24 @@ function buildDynamicZodSchema(fields) {
13
13
  case ComponentInputType.DropdownSelect:
14
14
  case ComponentInputType.DatePicker: {
15
15
  var _field$label;
16
- const stringSchema$1 = z.string();
17
- zodType = field.required ? stringSchema$1.min(1, { message: `${(_field$label = field.label) !== null && _field$label !== void 0 ? _field$label : "Field"} is required` }) : stringSchema$1.optional();
16
+ const stringSchema = z.string();
17
+ zodType = field.required ? stringSchema.min(1, { message: `${(_field$label = field.label) !== null && _field$label !== void 0 ? _field$label : "Field"} is required` }) : stringSchema.optional();
18
18
  break;
19
19
  }
20
20
  case ComponentInputType.FileUpload:
21
- case ComponentInputType.LinkOrFileUpload:
21
+ case ComponentInputType.LinkOrFileUpload: {
22
22
  var _field$label2;
23
- const stringSchema = z.string();
24
- const fileSchema = z.instanceof(File);
25
- const unionSchema = z.union([field.required ? fileSchema : fileSchema.optional(), field.required ? stringSchema.min(1, { message: `${(_field$label2 = field.label) !== null && _field$label2 !== void 0 ? _field$label2 : "Field"} is required` }) : stringSchema.optional()]);
26
- zodType = field.required ? unionSchema : unionSchema.optional();
23
+ const objectSchema = z.object({
24
+ fileId: z.string().optional(),
25
+ url: z.string().optional(),
26
+ file: z.instanceof(File).optional()
27
+ });
28
+ zodType = field.required ? objectSchema.refine((value) => {
29
+ var _value$url$length, _value$url, _value$fileId$length, _value$fileId;
30
+ return ((_value$url$length = (_value$url = value.url) === null || _value$url === void 0 ? void 0 : _value$url.length) !== null && _value$url$length !== void 0 ? _value$url$length : 0) > 0 || ((_value$fileId$length = (_value$fileId = value.fileId) === null || _value$fileId === void 0 ? void 0 : _value$fileId.length) !== null && _value$fileId$length !== void 0 ? _value$fileId$length : 0) > 0 || value.file instanceof File;
31
+ }, { message: `${(_field$label2 = field.label) !== null && _field$label2 !== void 0 ? _field$label2 : "Field"} is required` }) : objectSchema.optional();
27
32
  break;
33
+ }
28
34
  case ComponentInputType.URLInput: {
29
35
  var _field$label3;
30
36
  const urlSchema = z.string({ message: "Invalid URL" });
package/dist/index.cjs CHANGED
@@ -1836,8 +1836,8 @@ function flattenMetaData(fields, fieldsValues) {
1836
1836
  break;
1837
1837
  case require_component_type.ComponentInputType.FileUpload:
1838
1838
  case require_component_type.ComponentInputType.LinkOrFileUpload:
1839
- var _data$0$value3, _data$4;
1840
- output[id] = (_data$0$value3 = data === null || data === void 0 || (_data$4 = data[0]) === null || _data$4 === void 0 ? void 0 : _data$4.value) !== null && _data$0$value3 !== void 0 ? _data$0$value3 : "";
1839
+ var _ref, _data$4;
1840
+ output[id] = (_ref = data === null || data === void 0 || (_data$4 = data[0]) === null || _data$4 === void 0 ? void 0 : _data$4.value) !== null && _ref !== void 0 ? _ref : null;
1841
1841
  break;
1842
1842
  case require_component_type.ComponentInputType.RichTextEditor:
1843
1843
  var _data$5;
@@ -1847,8 +1847,8 @@ function flattenMetaData(fields, fieldsValues) {
1847
1847
  output[id] = data !== null && data !== void 0 ? data : [];
1848
1848
  break;
1849
1849
  case require_component_type.ComponentInputType.BooleanToggle:
1850
- var _data$0$value4, _data$6;
1851
- output[id] = (_data$0$value4 = data === null || data === void 0 || (_data$6 = data[0]) === null || _data$6 === void 0 ? void 0 : _data$6.value) !== null && _data$0$value4 !== void 0 ? _data$0$value4 : false;
1850
+ var _data$0$value3, _data$6;
1851
+ output[id] = (_data$0$value3 = data === null || data === void 0 || (_data$6 = data[0]) === null || _data$6 === void 0 ? void 0 : _data$6.value) !== null && _data$0$value3 !== void 0 ? _data$0$value3 : false;
1852
1852
  break;
1853
1853
  case require_component_type.ComponentInputType.DateRangePicker:
1854
1854
  output[id] = data === null || data === void 0 ? void 0 : data[0];
@@ -1883,9 +1883,14 @@ function buildMetaData(fields, data) {
1883
1883
  localData = [{ value: value != null ? Number(value) : null }];
1884
1884
  break;
1885
1885
  case require_component_type.ComponentInputType.FileUpload:
1886
- case require_component_type.ComponentInputType.LinkOrFileUpload:
1887
- localData = [{ value: value !== null && value !== void 0 ? value : "" }];
1886
+ case require_component_type.ComponentInputType.LinkOrFileUpload: {
1887
+ const v = value;
1888
+ localData = [{ value: {
1889
+ fileId: v === null || v === void 0 ? void 0 : v.fileId,
1890
+ url: v === null || v === void 0 ? void 0 : v.url
1891
+ } }];
1888
1892
  break;
1893
+ }
1889
1894
  case require_component_type.ComponentInputType.RichTextEditor:
1890
1895
  localData = [value];
1891
1896
  break;
@@ -3990,7 +3995,7 @@ function getFieldValue(fieldData) {
3990
3995
  if (!Array.isArray(fieldData) || fieldData.length !== 1) return fieldData;
3991
3996
  const first = toRecord(fieldData[0]);
3992
3997
  if (!first) return fieldData;
3993
- if (!("value" in first)) return fieldData;
3998
+ if (!("value" in first)) return first;
3994
3999
  return first.value;
3995
4000
  }
3996
4001
  function getFieldByLabel(fields, label) {
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as MermaidNode, c as SequenceParticipant, d as ServerComponentField, f as ServerComponentFieldInput, i as MermaidEdge, l as SubgraphInfo, n as RFComponentField, o as SequenceDiagramData, r as ReactFlowData, s as SequenceMessage, t as CustomData, u as SubgraphLayout } from "./__index.CTSMJl1o.cjs";
1
+ import { a as MermaidNode, c as SequenceParticipant, d as LinkOrFileValue, f as ServerComponentField, i as MermaidEdge, l as SubgraphInfo, n as RFComponentField, o as SequenceDiagramData, p as ServerComponentFieldInput, r as ReactFlowData, s as SequenceMessage, t as CustomData, u as SubgraphLayout } from "./__index.ClK6nImE.cjs";
2
2
  import { t as ComponentInputType } from "./__component-type.tW2Xh7Xk.cjs";
3
3
  import { t as contextSchema } from "./__headless.DfSqiw4X.cjs";
4
4
  import z$1, { z } from "zod";
@@ -765,4 +765,4 @@ type UigOutput = {
765
765
  //#region src/uig-converter/index.d.ts
766
766
  declare function convertUiGraphToMermaid(input: UiGraphInput, options?: UiGraphOptions): UigOutput;
767
767
  //#endregion
768
- export { AstToSqlGenerator, AstToUiConverter, BasicDetailsSchema, CheckConstraintAST, ColumnAST, ComponentInputType, ConstraintAST, CustomData, DataTypeAST, DefaultValueAST, DialectIdSchema, DocumentCollectionSchema, DocumentIndexSchema, DynamoAttributeSchema, DynamoEditorSchema, DynamoGsiSchema, EditorSupportedDialectSchema, ForeignKeyConstraintAST, IndexAST, IndexColumnAST, IndexMethodAST, JsonEditorSchema, MermaidEdge, MermaidNode, MongoCollectionSchema, MongoEditorSchema, MongoIndexFieldSchema, MongoIndexSchema, MongoNestedFieldSchema, NestedFieldSchema, NoSqlFieldSchema, PrimaryKeyConstraintAST, RFComponentField, ReactFlowData, ReferentialActionAST, SchemaAST, SchemaDialect, SchemaUIRepresentation, SequenceDiagramData, SequenceMessage, SequenceParticipant, ServerComponentField, ServerComponentFieldInput, SqlToAstParser, SubgraphInfo, SubgraphLayout, TParsedColumn, TParsedForeignKey, TParsedIndex, TParsedSchema, TParsedTable, TableAST, TableOptionsAST, UniqueConstraintAST, buildMetaData, contextSchema, convertDynamoSchemaToAst, convertJsonSchemaToAst, convertMermaidToReactFlow, convertMermaidToReactFlowWithContext, convertMongoSchemaToAst, convertNoSQLToAst, convertUiGraphToMermaid, flattenMetaData, generateTableNodeId, generateUUID, sanitizeMermaidLabels, syncBaseData };
768
+ export { AstToSqlGenerator, AstToUiConverter, BasicDetailsSchema, CheckConstraintAST, ColumnAST, ComponentInputType, ConstraintAST, CustomData, DataTypeAST, DefaultValueAST, DialectIdSchema, DocumentCollectionSchema, DocumentIndexSchema, DynamoAttributeSchema, DynamoEditorSchema, DynamoGsiSchema, EditorSupportedDialectSchema, ForeignKeyConstraintAST, IndexAST, IndexColumnAST, IndexMethodAST, JsonEditorSchema, LinkOrFileValue, MermaidEdge, MermaidNode, MongoCollectionSchema, MongoEditorSchema, MongoIndexFieldSchema, MongoIndexSchema, MongoNestedFieldSchema, NestedFieldSchema, NoSqlFieldSchema, PrimaryKeyConstraintAST, RFComponentField, ReactFlowData, ReferentialActionAST, SchemaAST, SchemaDialect, SchemaUIRepresentation, SequenceDiagramData, SequenceMessage, SequenceParticipant, ServerComponentField, ServerComponentFieldInput, SqlToAstParser, SubgraphInfo, SubgraphLayout, TParsedColumn, TParsedForeignKey, TParsedIndex, TParsedSchema, TParsedTable, TableAST, TableOptionsAST, UniqueConstraintAST, buildMetaData, contextSchema, convertDynamoSchemaToAst, convertJsonSchemaToAst, convertMermaidToReactFlow, convertMermaidToReactFlowWithContext, convertMongoSchemaToAst, convertNoSQLToAst, convertUiGraphToMermaid, flattenMetaData, generateTableNodeId, generateUUID, sanitizeMermaidLabels, syncBaseData };
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as MermaidNode, c as SequenceParticipant, d as ServerComponentField, f as ServerComponentFieldInput, i as MermaidEdge, l as SubgraphInfo, n as RFComponentField, o as SequenceDiagramData, r as ReactFlowData, s as SequenceMessage, t as CustomData, u as SubgraphLayout } from "./__index.BxD_9h1c.mjs";
1
+ import { a as MermaidNode, c as SequenceParticipant, d as LinkOrFileValue, f as ServerComponentField, i as MermaidEdge, l as SubgraphInfo, n as RFComponentField, o as SequenceDiagramData, p as ServerComponentFieldInput, r as ReactFlowData, s as SequenceMessage, t as CustomData, u as SubgraphLayout } from "./__index.Bfg50WMf.mjs";
2
2
  import { t as ComponentInputType } from "./__component-type.CO8FgnQE.mjs";
3
3
  import { t as contextSchema } from "./__headless.BLqB7VsJ.mjs";
4
4
  import z$1, { z } from "zod";
@@ -765,4 +765,4 @@ type UigOutput = {
765
765
  //#region src/uig-converter/index.d.ts
766
766
  declare function convertUiGraphToMermaid(input: UiGraphInput, options?: UiGraphOptions): UigOutput;
767
767
  //#endregion
768
- export { AstToSqlGenerator, AstToUiConverter, BasicDetailsSchema, CheckConstraintAST, ColumnAST, ComponentInputType, ConstraintAST, CustomData, DataTypeAST, DefaultValueAST, DialectIdSchema, DocumentCollectionSchema, DocumentIndexSchema, DynamoAttributeSchema, DynamoEditorSchema, DynamoGsiSchema, EditorSupportedDialectSchema, ForeignKeyConstraintAST, IndexAST, IndexColumnAST, IndexMethodAST, JsonEditorSchema, MermaidEdge, MermaidNode, MongoCollectionSchema, MongoEditorSchema, MongoIndexFieldSchema, MongoIndexSchema, MongoNestedFieldSchema, NestedFieldSchema, NoSqlFieldSchema, PrimaryKeyConstraintAST, RFComponentField, ReactFlowData, ReferentialActionAST, SchemaAST, SchemaDialect, SchemaUIRepresentation, SequenceDiagramData, SequenceMessage, SequenceParticipant, ServerComponentField, ServerComponentFieldInput, SqlToAstParser, SubgraphInfo, SubgraphLayout, TParsedColumn, TParsedForeignKey, TParsedIndex, TParsedSchema, TParsedTable, TableAST, TableOptionsAST, UniqueConstraintAST, buildMetaData, contextSchema, convertDynamoSchemaToAst, convertJsonSchemaToAst, convertMermaidToReactFlow, convertMermaidToReactFlowWithContext, convertMongoSchemaToAst, convertNoSQLToAst, convertUiGraphToMermaid, flattenMetaData, generateTableNodeId, generateUUID, sanitizeMermaidLabels, syncBaseData };
768
+ export { AstToSqlGenerator, AstToUiConverter, BasicDetailsSchema, CheckConstraintAST, ColumnAST, ComponentInputType, ConstraintAST, CustomData, DataTypeAST, DefaultValueAST, DialectIdSchema, DocumentCollectionSchema, DocumentIndexSchema, DynamoAttributeSchema, DynamoEditorSchema, DynamoGsiSchema, EditorSupportedDialectSchema, ForeignKeyConstraintAST, IndexAST, IndexColumnAST, IndexMethodAST, JsonEditorSchema, LinkOrFileValue, MermaidEdge, MermaidNode, MongoCollectionSchema, MongoEditorSchema, MongoIndexFieldSchema, MongoIndexSchema, MongoNestedFieldSchema, NestedFieldSchema, NoSqlFieldSchema, PrimaryKeyConstraintAST, RFComponentField, ReactFlowData, ReferentialActionAST, SchemaAST, SchemaDialect, SchemaUIRepresentation, SequenceDiagramData, SequenceMessage, SequenceParticipant, ServerComponentField, ServerComponentFieldInput, SqlToAstParser, SubgraphInfo, SubgraphLayout, TParsedColumn, TParsedForeignKey, TParsedIndex, TParsedSchema, TParsedTable, TableAST, TableOptionsAST, UniqueConstraintAST, buildMetaData, contextSchema, convertDynamoSchemaToAst, convertJsonSchemaToAst, convertMermaidToReactFlow, convertMermaidToReactFlowWithContext, convertMongoSchemaToAst, convertNoSQLToAst, convertUiGraphToMermaid, flattenMetaData, generateTableNodeId, generateUUID, sanitizeMermaidLabels, syncBaseData };
package/dist/index.mjs CHANGED
@@ -1830,8 +1830,8 @@ function flattenMetaData(fields, fieldsValues) {
1830
1830
  break;
1831
1831
  case ComponentInputType.FileUpload:
1832
1832
  case ComponentInputType.LinkOrFileUpload:
1833
- var _data$0$value3, _data$4;
1834
- output[id] = (_data$0$value3 = data === null || data === void 0 || (_data$4 = data[0]) === null || _data$4 === void 0 ? void 0 : _data$4.value) !== null && _data$0$value3 !== void 0 ? _data$0$value3 : "";
1833
+ var _ref, _data$4;
1834
+ output[id] = (_ref = data === null || data === void 0 || (_data$4 = data[0]) === null || _data$4 === void 0 ? void 0 : _data$4.value) !== null && _ref !== void 0 ? _ref : null;
1835
1835
  break;
1836
1836
  case ComponentInputType.RichTextEditor:
1837
1837
  var _data$5;
@@ -1841,8 +1841,8 @@ function flattenMetaData(fields, fieldsValues) {
1841
1841
  output[id] = data !== null && data !== void 0 ? data : [];
1842
1842
  break;
1843
1843
  case ComponentInputType.BooleanToggle:
1844
- var _data$0$value4, _data$6;
1845
- output[id] = (_data$0$value4 = data === null || data === void 0 || (_data$6 = data[0]) === null || _data$6 === void 0 ? void 0 : _data$6.value) !== null && _data$0$value4 !== void 0 ? _data$0$value4 : false;
1844
+ var _data$0$value3, _data$6;
1845
+ output[id] = (_data$0$value3 = data === null || data === void 0 || (_data$6 = data[0]) === null || _data$6 === void 0 ? void 0 : _data$6.value) !== null && _data$0$value3 !== void 0 ? _data$0$value3 : false;
1846
1846
  break;
1847
1847
  case ComponentInputType.DateRangePicker:
1848
1848
  output[id] = data === null || data === void 0 ? void 0 : data[0];
@@ -1877,9 +1877,14 @@ function buildMetaData(fields, data) {
1877
1877
  localData = [{ value: value != null ? Number(value) : null }];
1878
1878
  break;
1879
1879
  case ComponentInputType.FileUpload:
1880
- case ComponentInputType.LinkOrFileUpload:
1881
- localData = [{ value: value !== null && value !== void 0 ? value : "" }];
1880
+ case ComponentInputType.LinkOrFileUpload: {
1881
+ const v = value;
1882
+ localData = [{ value: {
1883
+ fileId: v === null || v === void 0 ? void 0 : v.fileId,
1884
+ url: v === null || v === void 0 ? void 0 : v.url
1885
+ } }];
1882
1886
  break;
1887
+ }
1883
1888
  case ComponentInputType.RichTextEditor:
1884
1889
  localData = [value];
1885
1890
  break;
@@ -3983,7 +3988,7 @@ function getFieldValue(fieldData) {
3983
3988
  if (!Array.isArray(fieldData) || fieldData.length !== 1) return fieldData;
3984
3989
  const first = toRecord(fieldData[0]);
3985
3990
  if (!first) return fieldData;
3986
- if (!("value" in first)) return fieldData;
3991
+ if (!("value" in first)) return first;
3987
3992
  return first.value;
3988
3993
  }
3989
3994
  function getFieldByLabel(fields, label) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uigraph/sdk",
3
- "version": "1.1.38",
3
+ "version": "1.1.40",
4
4
  "type": "module",
5
5
  "license": "BUSL-1.1",
6
6
  "repository": {