@smplkit/sdk 1.8.2 → 1.8.4
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/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -344,7 +344,7 @@ interface components {
|
|
|
344
344
|
* Type
|
|
345
345
|
* @description Value type: STRING, BOOLEAN, NUMERIC, or JSON
|
|
346
346
|
*/
|
|
347
|
-
type
|
|
347
|
+
type: string;
|
|
348
348
|
/**
|
|
349
349
|
* Default
|
|
350
350
|
* @description Default value; must reference a value in the values array (constrained) or match the flag type (unconstrained)
|
|
@@ -795,7 +795,7 @@ declare class Flag {
|
|
|
795
795
|
/** Human-readable display name. */
|
|
796
796
|
name: string;
|
|
797
797
|
/** Value type: BOOLEAN, STRING, NUMERIC, or JSON. */
|
|
798
|
-
type: string
|
|
798
|
+
type: string;
|
|
799
799
|
/** Flag-level default value. */
|
|
800
800
|
default: unknown;
|
|
801
801
|
/** Closed set of possible values (constrained), or null (unconstrained). */
|
|
@@ -817,7 +817,7 @@ declare class Flag {
|
|
|
817
817
|
constructor(client: FlagsClient, fields: {
|
|
818
818
|
id: string | null;
|
|
819
819
|
name: string;
|
|
820
|
-
type: string
|
|
820
|
+
type: string;
|
|
821
821
|
default: unknown;
|
|
822
822
|
values: Array<{
|
|
823
823
|
name: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -344,7 +344,7 @@ interface components {
|
|
|
344
344
|
* Type
|
|
345
345
|
* @description Value type: STRING, BOOLEAN, NUMERIC, or JSON
|
|
346
346
|
*/
|
|
347
|
-
type
|
|
347
|
+
type: string;
|
|
348
348
|
/**
|
|
349
349
|
* Default
|
|
350
350
|
* @description Default value; must reference a value in the values array (constrained) or match the flag type (unconstrained)
|
|
@@ -795,7 +795,7 @@ declare class Flag {
|
|
|
795
795
|
/** Human-readable display name. */
|
|
796
796
|
name: string;
|
|
797
797
|
/** Value type: BOOLEAN, STRING, NUMERIC, or JSON. */
|
|
798
|
-
type: string
|
|
798
|
+
type: string;
|
|
799
799
|
/** Flag-level default value. */
|
|
800
800
|
default: unknown;
|
|
801
801
|
/** Closed set of possible values (constrained), or null (unconstrained). */
|
|
@@ -817,7 +817,7 @@ declare class Flag {
|
|
|
817
817
|
constructor(client: FlagsClient, fields: {
|
|
818
818
|
id: string | null;
|
|
819
819
|
name: string;
|
|
820
|
-
type: string
|
|
820
|
+
type: string;
|
|
821
821
|
default: unknown;
|
|
822
822
|
values: Array<{
|
|
823
823
|
name: string;
|
package/dist/index.js
CHANGED
|
@@ -18573,7 +18573,7 @@ var FlagsClient = class {
|
|
|
18573
18573
|
return new Flag(this, {
|
|
18574
18574
|
id: resource.id ?? null,
|
|
18575
18575
|
name: attrs.name,
|
|
18576
|
-
type: attrs.type
|
|
18576
|
+
type: attrs.type,
|
|
18577
18577
|
default: attrs.default,
|
|
18578
18578
|
values: attrs.values ? attrs.values.map((v) => ({ name: v.name, value: v.value })) : null,
|
|
18579
18579
|
description: attrs.description ?? null,
|