@plasmicapp/react-web 0.2.387 → 0.2.388
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 +4 -4
- package/package.json +4 -4
package/dist/all.d.ts
CHANGED
|
@@ -12183,7 +12183,7 @@ type ControlContext<P> = [
|
|
|
12183
12183
|
/**
|
|
12184
12184
|
* props
|
|
12185
12185
|
*/
|
|
12186
|
-
P
|
|
12186
|
+
Partial<P>,
|
|
12187
12187
|
/**
|
|
12188
12188
|
* context data
|
|
12189
12189
|
*/
|
|
@@ -12271,9 +12271,9 @@ interface PlainVoidType extends BaseParam {
|
|
|
12271
12271
|
}
|
|
12272
12272
|
type VoidType = PlainVoidType | AnyType;
|
|
12273
12273
|
type IsAny<T> = 0 extends 1 & T ? true : false;
|
|
12274
|
-
type CommonType<T> = T extends GraphQLValue ? GraphQLType<
|
|
12275
|
-
type AnyTyping<P, T> = T extends string ? StringType<P, T> : T extends number ? NumberType<P, T> : T extends boolean ? BooleanType<P, T> : CommonType<T>;
|
|
12276
|
-
type RestrictedType<P, T> = IsAny<T> extends true ? AnyTyping<P, T> : [T] extends [string] ? StringType<P, T> : [T] extends [number] ? NumberType<P, T> : [T] extends [boolean] ? BooleanType<P, T> : CommonType<T>;
|
|
12274
|
+
type CommonType<P, T> = T extends GraphQLValue ? GraphQLType<P> : T extends null ? NullType : T extends undefined ? UndefinedType : T extends Array<any> ? ArrayType : T extends object ? ObjectType : AnyType;
|
|
12275
|
+
type AnyTyping<P, T> = T extends string ? StringType<P, T> : T extends number ? NumberType<P, T> : T extends boolean ? BooleanType<P, T> : CommonType<P, T>;
|
|
12276
|
+
type RestrictedType<P, T> = IsAny<T> extends true ? AnyTyping<P, T> : [T] extends [string] ? StringType<P, T> : [T] extends [number] ? NumberType<P, T> : [T] extends [boolean] ? BooleanType<P, T> : CommonType<P, T>;
|
|
12277
12277
|
type ParamType<P, T> = RestrictedType<P, T>;
|
|
12278
12278
|
type RequiredParam<P, T> = ParamType<P, T> & {
|
|
12279
12279
|
isOptional?: false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasmicapp/react-web",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.388",
|
|
4
4
|
"description": "plasmic library for rendering in the presentational style",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -96,9 +96,9 @@
|
|
|
96
96
|
},
|
|
97
97
|
"dependencies": {
|
|
98
98
|
"@plasmicapp/auth-react": "0.0.22",
|
|
99
|
-
"@plasmicapp/data-sources": "0.1.
|
|
99
|
+
"@plasmicapp/data-sources": "0.1.182",
|
|
100
100
|
"@plasmicapp/data-sources-context": "0.1.21",
|
|
101
|
-
"@plasmicapp/host": "1.0.
|
|
101
|
+
"@plasmicapp/host": "1.0.218",
|
|
102
102
|
"@plasmicapp/loader-splits": "1.0.64",
|
|
103
103
|
"@plasmicapp/nextjs-app-router": "1.0.16",
|
|
104
104
|
"@plasmicapp/prepass": "1.0.19",
|
|
@@ -155,5 +155,5 @@
|
|
|
155
155
|
"react": ">=16.8.0",
|
|
156
156
|
"react-dom": ">=16.8.0"
|
|
157
157
|
},
|
|
158
|
-
"gitHead": "
|
|
158
|
+
"gitHead": "916ebe6189d169a4368e46f2f2de7331bc4943b7"
|
|
159
159
|
}
|