@starlightcms/js-sdk 3.2.0 → 4.0.0-beta.0
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.
- package/dist/cjs/types/fields.d.ts +7 -7
- package/dist/cjs/types/fields.d.ts.map +1 -1
- package/dist/cjs/types/fields.js.map +1 -1
- package/dist/cjs/types/groups.d.ts +2 -12
- package/dist/cjs/types/groups.d.ts.map +1 -1
- package/dist/cjs/types/groups.js.map +1 -1
- package/dist/esm/types/fields.d.ts +7 -7
- package/dist/esm/types/fields.d.ts.map +1 -1
- package/dist/esm/types/fields.js.map +1 -1
- package/dist/esm/types/groups.d.ts +2 -12
- package/dist/esm/types/groups.d.ts.map +1 -1
- package/dist/esm/types/groups.js.map +1 -1
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ import { VisualData } from './visual';
|
|
|
9
9
|
*
|
|
10
10
|
* @group Data Fields
|
|
11
11
|
*/
|
|
12
|
-
export type BooleanField = boolean;
|
|
12
|
+
export type BooleanField = boolean | undefined;
|
|
13
13
|
/**
|
|
14
14
|
* Represents an HTML Field returned by the API.
|
|
15
15
|
*
|
|
@@ -19,7 +19,7 @@ export type BooleanField = boolean;
|
|
|
19
19
|
*
|
|
20
20
|
* @group Data Fields
|
|
21
21
|
*/
|
|
22
|
-
export type HtmlField = string;
|
|
22
|
+
export type HtmlField = string | undefined;
|
|
23
23
|
/**
|
|
24
24
|
* Represents a Media Field returned by the API.
|
|
25
25
|
*
|
|
@@ -29,7 +29,7 @@ export type HtmlField = string;
|
|
|
29
29
|
*
|
|
30
30
|
* @group Data Fields
|
|
31
31
|
*/
|
|
32
|
-
export type MediaField = MediaObject;
|
|
32
|
+
export type MediaField = MediaObject | undefined;
|
|
33
33
|
/**
|
|
34
34
|
* Represents a Relation Field returned by the API.
|
|
35
35
|
*
|
|
@@ -39,7 +39,7 @@ export type MediaField = MediaObject;
|
|
|
39
39
|
*
|
|
40
40
|
* @group Data Fields
|
|
41
41
|
*/
|
|
42
|
-
export type RelationField<T> = Relation<T
|
|
42
|
+
export type RelationField<T> = Relation<T> | undefined;
|
|
43
43
|
/**
|
|
44
44
|
* Represents a String Field returned by the API.
|
|
45
45
|
*
|
|
@@ -49,7 +49,7 @@ export type RelationField<T> = Relation<T>;
|
|
|
49
49
|
*
|
|
50
50
|
* @group Data Fields
|
|
51
51
|
*/
|
|
52
|
-
export type StringField = string;
|
|
52
|
+
export type StringField = string | undefined;
|
|
53
53
|
/**
|
|
54
54
|
* Represents a Text Field returned by the API.
|
|
55
55
|
*
|
|
@@ -59,7 +59,7 @@ export type StringField = string;
|
|
|
59
59
|
*
|
|
60
60
|
* @group Data Fields
|
|
61
61
|
*/
|
|
62
|
-
export type TextField = string;
|
|
62
|
+
export type TextField = string | undefined;
|
|
63
63
|
/**
|
|
64
64
|
* Represents a Visual Field returned by the API.
|
|
65
65
|
*
|
|
@@ -69,5 +69,5 @@ export type TextField = string;
|
|
|
69
69
|
*
|
|
70
70
|
* @group Data Fields
|
|
71
71
|
*/
|
|
72
|
-
export type VisualField = VisualData;
|
|
72
|
+
export type VisualField = VisualData | undefined;
|
|
73
73
|
//# sourceMappingURL=fields.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../src/types/fields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAErC;;;;;;;;GAQG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../src/types/fields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAErC;;;;;;;;GAQG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,SAAS,CAAA;AAE9C;;;;;;;;GAQG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,SAAS,CAAA;AAE1C;;;;;;;;GAQG;AACH,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG,SAAS,CAAA;AAEhD;;;;;;;;GAQG;AACH,MAAM,MAAM,aAAa,CAAC,CAAC,IAAI,QAAQ,CAAC,CAAC,CAAC,GAAG,SAAS,CAAA;AAEtD;;;;;;;;GAQG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,SAAS,CAAA;AAE5C;;;;;;;;GAQG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,SAAS,CAAA;AAE1C;;;;;;;;GAQG;AACH,MAAM,MAAM,WAAW,GAAG,UAAU,GAAG,SAAS,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../src/types/fields.ts"],"names":[],"mappings":"","sourcesContent":["import { MediaObject, Relation } from './entities'\nimport { VisualData } from './visual'\n\n/**\n * Represents a Boolean Field returned by the API.\n *\n * Field types are used to type Entry and Singleton objects when requesting\n * them using some SDK methods. See {@apilink DefaultModelDefinition}\n * for more info.\n *\n * @group Data Fields\n */\nexport type BooleanField = boolean\n\n/**\n * Represents an HTML Field returned by the API.\n *\n * Field types are used to type Entry and Singleton objects when requesting\n * them using some SDK methods. See {@apilink DefaultModelDefinition}\n * for more info.\n *\n * @group Data Fields\n */\nexport type HtmlField = string\n\n/**\n * Represents a Media Field returned by the API.\n *\n * Field types are used to type Entry and Singleton objects when requesting\n * them using some SDK methods. See {@apilink DefaultModelDefinition}\n * for more info.\n *\n * @group Data Fields\n */\nexport type MediaField = MediaObject\n\n/**\n * Represents a Relation Field returned by the API.\n *\n * Field types are used to type Entry and Singleton objects when requesting\n * them using some SDK methods. See {@apilink DefaultModelDefinition}\n * for more info.\n *\n * @group Data Fields\n */\nexport type RelationField<T> = Relation<T
|
|
1
|
+
{"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../src/types/fields.ts"],"names":[],"mappings":"","sourcesContent":["import { MediaObject, Relation } from './entities'\nimport { VisualData } from './visual'\n\n/**\n * Represents a Boolean Field returned by the API.\n *\n * Field types are used to type Entry and Singleton objects when requesting\n * them using some SDK methods. See {@apilink DefaultModelDefinition}\n * for more info.\n *\n * @group Data Fields\n */\nexport type BooleanField = boolean | undefined\n\n/**\n * Represents an HTML Field returned by the API.\n *\n * Field types are used to type Entry and Singleton objects when requesting\n * them using some SDK methods. See {@apilink DefaultModelDefinition}\n * for more info.\n *\n * @group Data Fields\n */\nexport type HtmlField = string | undefined\n\n/**\n * Represents a Media Field returned by the API.\n *\n * Field types are used to type Entry and Singleton objects when requesting\n * them using some SDK methods. See {@apilink DefaultModelDefinition}\n * for more info.\n *\n * @group Data Fields\n */\nexport type MediaField = MediaObject | undefined\n\n/**\n * Represents a Relation Field returned by the API.\n *\n * Field types are used to type Entry and Singleton objects when requesting\n * them using some SDK methods. See {@apilink DefaultModelDefinition}\n * for more info.\n *\n * @group Data Fields\n */\nexport type RelationField<T> = Relation<T> | undefined\n\n/**\n * Represents a String Field returned by the API.\n *\n * Field types are used to type Entry and Singleton objects when requesting\n * them using some SDK methods. See {@apilink DefaultModelDefinition}\n * for more info.\n *\n * @group Data Fields\n */\nexport type StringField = string | undefined\n\n/**\n * Represents a Text Field returned by the API.\n *\n * Field types are used to type Entry and Singleton objects when requesting\n * them using some SDK methods. See {@apilink DefaultModelDefinition}\n * for more info.\n *\n * @group Data Fields\n */\nexport type TextField = string | undefined\n\n/**\n * Represents a Visual Field returned by the API.\n *\n * Field types are used to type Entry and Singleton objects when requesting\n * them using some SDK methods. See {@apilink DefaultModelDefinition}\n * for more info.\n *\n * @group Data Fields\n */\nexport type VisualField = VisualData | undefined\n"]}
|
|
@@ -7,17 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* @group Data Groups
|
|
9
9
|
*/
|
|
10
|
-
export type Group<Fields extends Record<string, unknown>> = Fields;
|
|
11
|
-
/**
|
|
12
|
-
* Represents a Legacy Group returned by the API.
|
|
13
|
-
*
|
|
14
|
-
* Group types are used to type Entry and Singleton objects when requesting
|
|
15
|
-
* them using some SDK methods. See {@apilink DefaultModelDefinition}
|
|
16
|
-
* for more info.
|
|
17
|
-
*
|
|
18
|
-
* @group Data Groups
|
|
19
|
-
*/
|
|
20
|
-
export type LegacyGroup<Fields extends Record<string, unknown>> = Fields;
|
|
10
|
+
export type Group<Fields extends Record<string, unknown>> = Fields | undefined;
|
|
21
11
|
/**
|
|
22
12
|
* Represents a Repeater Group returned by the API.
|
|
23
13
|
*
|
|
@@ -32,5 +22,5 @@ export type LegacyGroup<Fields extends Record<string, unknown>> = Fields;
|
|
|
32
22
|
*
|
|
33
23
|
* @group Data Groups
|
|
34
24
|
*/
|
|
35
|
-
export type RepeaterGroup<Fields extends Record<string, unknown>> = Fields[] | null;
|
|
25
|
+
export type RepeaterGroup<Fields extends Record<string, unknown>> = Fields[] | null | undefined;
|
|
36
26
|
//# sourceMappingURL=groups.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"groups.d.ts","sourceRoot":"","sources":["../../../src/types/groups.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,MAAM,KAAK,CAAC,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,MAAM,
|
|
1
|
+
{"version":3,"file":"groups.d.ts","sourceRoot":"","sources":["../../../src/types/groups.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,MAAM,KAAK,CAAC,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,MAAM,GAAG,SAAS,CAAA;AAE9E;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,aAAa,CAAC,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAC5D,MAAM,EAAE,GACR,IAAI,GACJ,SAAS,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"groups.js","sourceRoot":"","sources":["../../../src/types/groups.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Represents a Group returned by the API.\n *\n * Group types are used to type Entry and Singleton objects when requesting\n * them using some SDK methods. See {@apilink DefaultModelDefinition}\n * for more info.\n *\n * @group Data Groups\n */\nexport type Group<Fields extends Record<string, unknown>> = Fields
|
|
1
|
+
{"version":3,"file":"groups.js","sourceRoot":"","sources":["../../../src/types/groups.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Represents a Group returned by the API.\n *\n * Group types are used to type Entry and Singleton objects when requesting\n * them using some SDK methods. See {@apilink DefaultModelDefinition}\n * for more info.\n *\n * @group Data Groups\n */\nexport type Group<Fields extends Record<string, unknown>> = Fields | undefined\n\n/**\n * Represents a Repeater Group returned by the API.\n *\n * Note that the API return empty repeaters as `null`.\n *\n * To retrieve the type of a `RepeaterGroup` item, use the\n * {@apilink RepeaterItem} utility type.\n *\n * Group types are used to type Entry and Singleton objects when requesting\n * them using some SDK methods. See {@apilink DefaultModelDefinition}\n * for more info.\n *\n * @group Data Groups\n */\nexport type RepeaterGroup<Fields extends Record<string, unknown>> =\n | Fields[]\n | null\n | undefined\n"]}
|
|
@@ -9,7 +9,7 @@ import { VisualData } from './visual';
|
|
|
9
9
|
*
|
|
10
10
|
* @group Data Fields
|
|
11
11
|
*/
|
|
12
|
-
export type BooleanField = boolean;
|
|
12
|
+
export type BooleanField = boolean | undefined;
|
|
13
13
|
/**
|
|
14
14
|
* Represents an HTML Field returned by the API.
|
|
15
15
|
*
|
|
@@ -19,7 +19,7 @@ export type BooleanField = boolean;
|
|
|
19
19
|
*
|
|
20
20
|
* @group Data Fields
|
|
21
21
|
*/
|
|
22
|
-
export type HtmlField = string;
|
|
22
|
+
export type HtmlField = string | undefined;
|
|
23
23
|
/**
|
|
24
24
|
* Represents a Media Field returned by the API.
|
|
25
25
|
*
|
|
@@ -29,7 +29,7 @@ export type HtmlField = string;
|
|
|
29
29
|
*
|
|
30
30
|
* @group Data Fields
|
|
31
31
|
*/
|
|
32
|
-
export type MediaField = MediaObject;
|
|
32
|
+
export type MediaField = MediaObject | undefined;
|
|
33
33
|
/**
|
|
34
34
|
* Represents a Relation Field returned by the API.
|
|
35
35
|
*
|
|
@@ -39,7 +39,7 @@ export type MediaField = MediaObject;
|
|
|
39
39
|
*
|
|
40
40
|
* @group Data Fields
|
|
41
41
|
*/
|
|
42
|
-
export type RelationField<T> = Relation<T
|
|
42
|
+
export type RelationField<T> = Relation<T> | undefined;
|
|
43
43
|
/**
|
|
44
44
|
* Represents a String Field returned by the API.
|
|
45
45
|
*
|
|
@@ -49,7 +49,7 @@ export type RelationField<T> = Relation<T>;
|
|
|
49
49
|
*
|
|
50
50
|
* @group Data Fields
|
|
51
51
|
*/
|
|
52
|
-
export type StringField = string;
|
|
52
|
+
export type StringField = string | undefined;
|
|
53
53
|
/**
|
|
54
54
|
* Represents a Text Field returned by the API.
|
|
55
55
|
*
|
|
@@ -59,7 +59,7 @@ export type StringField = string;
|
|
|
59
59
|
*
|
|
60
60
|
* @group Data Fields
|
|
61
61
|
*/
|
|
62
|
-
export type TextField = string;
|
|
62
|
+
export type TextField = string | undefined;
|
|
63
63
|
/**
|
|
64
64
|
* Represents a Visual Field returned by the API.
|
|
65
65
|
*
|
|
@@ -69,5 +69,5 @@ export type TextField = string;
|
|
|
69
69
|
*
|
|
70
70
|
* @group Data Fields
|
|
71
71
|
*/
|
|
72
|
-
export type VisualField = VisualData;
|
|
72
|
+
export type VisualField = VisualData | undefined;
|
|
73
73
|
//# sourceMappingURL=fields.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../src/types/fields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAErC;;;;;;;;GAQG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../src/types/fields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAErC;;;;;;;;GAQG;AACH,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,SAAS,CAAA;AAE9C;;;;;;;;GAQG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,SAAS,CAAA;AAE1C;;;;;;;;GAQG;AACH,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG,SAAS,CAAA;AAEhD;;;;;;;;GAQG;AACH,MAAM,MAAM,aAAa,CAAC,CAAC,IAAI,QAAQ,CAAC,CAAC,CAAC,GAAG,SAAS,CAAA;AAEtD;;;;;;;;GAQG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,SAAS,CAAA;AAE5C;;;;;;;;GAQG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,SAAS,CAAA;AAE1C;;;;;;;;GAQG;AACH,MAAM,MAAM,WAAW,GAAG,UAAU,GAAG,SAAS,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../src/types/fields.ts"],"names":[],"mappings":"","sourcesContent":["import { MediaObject, Relation } from './entities'\nimport { VisualData } from './visual'\n\n/**\n * Represents a Boolean Field returned by the API.\n *\n * Field types are used to type Entry and Singleton objects when requesting\n * them using some SDK methods. See {@apilink DefaultModelDefinition}\n * for more info.\n *\n * @group Data Fields\n */\nexport type BooleanField = boolean\n\n/**\n * Represents an HTML Field returned by the API.\n *\n * Field types are used to type Entry and Singleton objects when requesting\n * them using some SDK methods. See {@apilink DefaultModelDefinition}\n * for more info.\n *\n * @group Data Fields\n */\nexport type HtmlField = string\n\n/**\n * Represents a Media Field returned by the API.\n *\n * Field types are used to type Entry and Singleton objects when requesting\n * them using some SDK methods. See {@apilink DefaultModelDefinition}\n * for more info.\n *\n * @group Data Fields\n */\nexport type MediaField = MediaObject\n\n/**\n * Represents a Relation Field returned by the API.\n *\n * Field types are used to type Entry and Singleton objects when requesting\n * them using some SDK methods. See {@apilink DefaultModelDefinition}\n * for more info.\n *\n * @group Data Fields\n */\nexport type RelationField<T> = Relation<T
|
|
1
|
+
{"version":3,"file":"fields.js","sourceRoot":"","sources":["../../../src/types/fields.ts"],"names":[],"mappings":"","sourcesContent":["import { MediaObject, Relation } from './entities'\nimport { VisualData } from './visual'\n\n/**\n * Represents a Boolean Field returned by the API.\n *\n * Field types are used to type Entry and Singleton objects when requesting\n * them using some SDK methods. See {@apilink DefaultModelDefinition}\n * for more info.\n *\n * @group Data Fields\n */\nexport type BooleanField = boolean | undefined\n\n/**\n * Represents an HTML Field returned by the API.\n *\n * Field types are used to type Entry and Singleton objects when requesting\n * them using some SDK methods. See {@apilink DefaultModelDefinition}\n * for more info.\n *\n * @group Data Fields\n */\nexport type HtmlField = string | undefined\n\n/**\n * Represents a Media Field returned by the API.\n *\n * Field types are used to type Entry and Singleton objects when requesting\n * them using some SDK methods. See {@apilink DefaultModelDefinition}\n * for more info.\n *\n * @group Data Fields\n */\nexport type MediaField = MediaObject | undefined\n\n/**\n * Represents a Relation Field returned by the API.\n *\n * Field types are used to type Entry and Singleton objects when requesting\n * them using some SDK methods. See {@apilink DefaultModelDefinition}\n * for more info.\n *\n * @group Data Fields\n */\nexport type RelationField<T> = Relation<T> | undefined\n\n/**\n * Represents a String Field returned by the API.\n *\n * Field types are used to type Entry and Singleton objects when requesting\n * them using some SDK methods. See {@apilink DefaultModelDefinition}\n * for more info.\n *\n * @group Data Fields\n */\nexport type StringField = string | undefined\n\n/**\n * Represents a Text Field returned by the API.\n *\n * Field types are used to type Entry and Singleton objects when requesting\n * them using some SDK methods. See {@apilink DefaultModelDefinition}\n * for more info.\n *\n * @group Data Fields\n */\nexport type TextField = string | undefined\n\n/**\n * Represents a Visual Field returned by the API.\n *\n * Field types are used to type Entry and Singleton objects when requesting\n * them using some SDK methods. See {@apilink DefaultModelDefinition}\n * for more info.\n *\n * @group Data Fields\n */\nexport type VisualField = VisualData | undefined\n"]}
|
|
@@ -7,17 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* @group Data Groups
|
|
9
9
|
*/
|
|
10
|
-
export type Group<Fields extends Record<string, unknown>> = Fields;
|
|
11
|
-
/**
|
|
12
|
-
* Represents a Legacy Group returned by the API.
|
|
13
|
-
*
|
|
14
|
-
* Group types are used to type Entry and Singleton objects when requesting
|
|
15
|
-
* them using some SDK methods. See {@apilink DefaultModelDefinition}
|
|
16
|
-
* for more info.
|
|
17
|
-
*
|
|
18
|
-
* @group Data Groups
|
|
19
|
-
*/
|
|
20
|
-
export type LegacyGroup<Fields extends Record<string, unknown>> = Fields;
|
|
10
|
+
export type Group<Fields extends Record<string, unknown>> = Fields | undefined;
|
|
21
11
|
/**
|
|
22
12
|
* Represents a Repeater Group returned by the API.
|
|
23
13
|
*
|
|
@@ -32,5 +22,5 @@ export type LegacyGroup<Fields extends Record<string, unknown>> = Fields;
|
|
|
32
22
|
*
|
|
33
23
|
* @group Data Groups
|
|
34
24
|
*/
|
|
35
|
-
export type RepeaterGroup<Fields extends Record<string, unknown>> = Fields[] | null;
|
|
25
|
+
export type RepeaterGroup<Fields extends Record<string, unknown>> = Fields[] | null | undefined;
|
|
36
26
|
//# sourceMappingURL=groups.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"groups.d.ts","sourceRoot":"","sources":["../../../src/types/groups.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,MAAM,KAAK,CAAC,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,MAAM,
|
|
1
|
+
{"version":3,"file":"groups.d.ts","sourceRoot":"","sources":["../../../src/types/groups.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,MAAM,KAAK,CAAC,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,MAAM,GAAG,SAAS,CAAA;AAE9E;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,aAAa,CAAC,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAC5D,MAAM,EAAE,GACR,IAAI,GACJ,SAAS,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"groups.js","sourceRoot":"","sources":["../../../src/types/groups.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Represents a Group returned by the API.\n *\n * Group types are used to type Entry and Singleton objects when requesting\n * them using some SDK methods. See {@apilink DefaultModelDefinition}\n * for more info.\n *\n * @group Data Groups\n */\nexport type Group<Fields extends Record<string, unknown>> = Fields
|
|
1
|
+
{"version":3,"file":"groups.js","sourceRoot":"","sources":["../../../src/types/groups.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Represents a Group returned by the API.\n *\n * Group types are used to type Entry and Singleton objects when requesting\n * them using some SDK methods. See {@apilink DefaultModelDefinition}\n * for more info.\n *\n * @group Data Groups\n */\nexport type Group<Fields extends Record<string, unknown>> = Fields | undefined\n\n/**\n * Represents a Repeater Group returned by the API.\n *\n * Note that the API return empty repeaters as `null`.\n *\n * To retrieve the type of a `RepeaterGroup` item, use the\n * {@apilink RepeaterItem} utility type.\n *\n * Group types are used to type Entry and Singleton objects when requesting\n * them using some SDK methods. See {@apilink DefaultModelDefinition}\n * for more info.\n *\n * @group Data Groups\n */\nexport type RepeaterGroup<Fields extends Record<string, unknown>> =\n | Fields[]\n | null\n | undefined\n"]}
|