@uniformdev/mesh-sdk-react 19.66.1 → 19.68.1-alpha.27

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.d.mts CHANGED
@@ -429,7 +429,9 @@ declare function DataResourceDynamicInputProvider(props: DataResourceDynamicInpu
429
429
  *
430
430
  * You can also combine (2) and (3) to get both explicit value typing and assertion of the location.
431
431
  */
432
- declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLocationValue = unknown, TLocationSetValue = TLocationValue>(expectedLocation?: TLocationType): Omit<Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
432
+ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLocationValue = unknown, TLocationSetValue = TLocationValue>(expectedLocation?: TLocationType): Omit<Extract<_uniformdev_mesh_sdk.AssetLibraryLocation, {
433
+ type: TLocationType;
434
+ }> | Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
433
435
  type: TLocationType;
434
436
  }> | Extract<_uniformdev_mesh_sdk.DataTypeLocation, {
435
437
  type: TLocationType;
@@ -444,7 +446,9 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
444
446
  }> | Extract<_uniformdev_mesh_sdk.AIGenerateLocation<TLocationValue>, {
445
447
  type: TLocationType;
446
448
  }>, "setValue"> & {
447
- setValue: SetLocationValueDispatch<(Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
449
+ setValue: SetLocationValueDispatch<(Extract<_uniformdev_mesh_sdk.AssetLibraryLocation, {
450
+ type: TLocationType;
451
+ }> | Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
448
452
  type: TLocationType;
449
453
  }> | Extract<_uniformdev_mesh_sdk.DataTypeLocation, {
450
454
  type: TLocationType;
@@ -458,7 +462,9 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
458
462
  type: TLocationType;
459
463
  }> | Extract<_uniformdev_mesh_sdk.AIGenerateLocation<TLocationValue>, {
460
464
  type: TLocationType;
461
- }>)["value"], Parameters<(Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
465
+ }>)["value"], Parameters<(Extract<_uniformdev_mesh_sdk.AssetLibraryLocation, {
466
+ type: TLocationType;
467
+ }> | Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
462
468
  type: TLocationType;
463
469
  }> | Extract<_uniformdev_mesh_sdk.DataTypeLocation, {
464
470
  type: TLocationType;
package/dist/index.d.ts CHANGED
@@ -429,7 +429,9 @@ declare function DataResourceDynamicInputProvider(props: DataResourceDynamicInpu
429
429
  *
430
430
  * You can also combine (2) and (3) to get both explicit value typing and assertion of the location.
431
431
  */
432
- declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLocationValue = unknown, TLocationSetValue = TLocationValue>(expectedLocation?: TLocationType): Omit<Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
432
+ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLocationValue = unknown, TLocationSetValue = TLocationValue>(expectedLocation?: TLocationType): Omit<Extract<_uniformdev_mesh_sdk.AssetLibraryLocation, {
433
+ type: TLocationType;
434
+ }> | Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
433
435
  type: TLocationType;
434
436
  }> | Extract<_uniformdev_mesh_sdk.DataTypeLocation, {
435
437
  type: TLocationType;
@@ -444,7 +446,9 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
444
446
  }> | Extract<_uniformdev_mesh_sdk.AIGenerateLocation<TLocationValue>, {
445
447
  type: TLocationType;
446
448
  }>, "setValue"> & {
447
- setValue: SetLocationValueDispatch<(Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
449
+ setValue: SetLocationValueDispatch<(Extract<_uniformdev_mesh_sdk.AssetLibraryLocation, {
450
+ type: TLocationType;
451
+ }> | Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
448
452
  type: TLocationType;
449
453
  }> | Extract<_uniformdev_mesh_sdk.DataTypeLocation, {
450
454
  type: TLocationType;
@@ -458,7 +462,9 @@ declare function useMeshLocation<TLocationType extends MeshLocation['type'], TLo
458
462
  type: TLocationType;
459
463
  }> | Extract<_uniformdev_mesh_sdk.AIGenerateLocation<TLocationValue>, {
460
464
  type: TLocationType;
461
- }>)["value"], Parameters<(Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
465
+ }>)["value"], Parameters<(Extract<_uniformdev_mesh_sdk.AssetLibraryLocation, {
466
+ type: TLocationType;
467
+ }> | Extract<_uniformdev_mesh_sdk.DataSourceLocation, {
462
468
  type: TLocationType;
463
469
  }> | Extract<_uniformdev_mesh_sdk.DataTypeLocation, {
464
470
  type: TLocationType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-sdk-react",
3
- "version": "19.66.1",
3
+ "version": "19.68.1-alpha.27+9da5c6b31",
4
4
  "description": "Uniform Mesh Framework SDK for React",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -50,9 +50,9 @@
50
50
  "@lexical/selection": "^0.12.0",
51
51
  "@lexical/utils": "^0.12.0",
52
52
  "@react-icons/all-files": "https://github.com/react-icons/react-icons/releases/download/v4.10.1/react-icons-all-files-4.10.1.tgz",
53
- "@uniformdev/canvas": "19.66.1",
54
- "@uniformdev/design-system": "19.66.1",
55
- "@uniformdev/mesh-sdk": "19.66.1",
53
+ "@uniformdev/canvas": "19.68.1-alpha.27+9da5c6b31",
54
+ "@uniformdev/design-system": "19.68.1-alpha.27+9da5c6b31",
55
+ "@uniformdev/mesh-sdk": "19.68.1-alpha.27+9da5c6b31",
56
56
  "dequal": "^2.0.3",
57
57
  "lexical": "^0.12.0",
58
58
  "mitt": "^3.0.0",
@@ -61,7 +61,7 @@
61
61
  "react-use": "17.4.0",
62
62
  "timeago.js": "4.0.2",
63
63
  "uuid": "9.0.1",
64
- "zod": "3.22.3"
64
+ "zod": "3.22.4"
65
65
  },
66
66
  "peerDependencies": {
67
67
  "@emotion/react": ">=11.8.0",
@@ -86,5 +86,5 @@
86
86
  "publishConfig": {
87
87
  "access": "public"
88
88
  },
89
- "gitHead": "80e9cf7f60f95245269938596f00813b48a304f3"
89
+ "gitHead": "9da5c6b318807a05aa003ceb52317b27f4e1d8cf"
90
90
  }