@plasmicapp/react-web 0.2.311 → 0.2.313
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/all.d.ts
CHANGED
|
@@ -71,7 +71,7 @@ interface $StateSpec<T> {
|
|
|
71
71
|
valueProp?: string;
|
|
72
72
|
onChangeProp?: string;
|
|
73
73
|
isImmutable?: boolean;
|
|
74
|
-
variableType: "text" | "number" | "boolean" | "array" | "object" | "variant";
|
|
74
|
+
variableType: "text" | "number" | "boolean" | "array" | "object" | "variant" | "dateString" | "dateRangeStrings";
|
|
75
75
|
initFuncHash?: string;
|
|
76
76
|
refName?: string;
|
|
77
77
|
onMutate?: (stateValue: T, $ref: any) => void;
|
|
@@ -11219,9 +11219,17 @@ type StateSpec<P> = {
|
|
|
11219
11219
|
type: "readonly";
|
|
11220
11220
|
variableType: "object";
|
|
11221
11221
|
initVal?: object;
|
|
11222
|
+
} | {
|
|
11223
|
+
type: "readonly";
|
|
11224
|
+
variableType: "dateString";
|
|
11225
|
+
initVal?: string;
|
|
11226
|
+
} | {
|
|
11227
|
+
type: "readonly";
|
|
11228
|
+
variableType: "dateRangeStrings";
|
|
11229
|
+
initVal?: [string, string];
|
|
11222
11230
|
} | {
|
|
11223
11231
|
type: "writable";
|
|
11224
|
-
variableType: "text" | "number" | "boolean" | "array" | "object";
|
|
11232
|
+
variableType: "text" | "number" | "boolean" | "array" | "object" | "dateString" | "dateRangeStrings";
|
|
11225
11233
|
valueProp: string;
|
|
11226
11234
|
});
|
|
11227
11235
|
interface StateHelpers<P, T> {
|