@uniformdev/mesh-sdk 19.88.0 → 19.88.1-alpha.7

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
@@ -64,6 +64,8 @@ interface paths$1 {
64
64
  };
65
65
  };
66
66
  renderableInPropertyPanel?: boolean;
67
+ /** @enum {string} */
68
+ localizable?: "default-yes" | "default-no" | "yes" | "no";
67
69
  }[];
68
70
  };
69
71
  dataConnectors?: {
@@ -213,6 +215,8 @@ interface paths$1 {
213
215
  };
214
216
  };
215
217
  renderableInPropertyPanel?: boolean;
218
+ /** @enum {string} */
219
+ localizable?: "default-yes" | "default-no" | "yes" | "no";
216
220
  }[];
217
221
  };
218
222
  dataConnectors?: {
@@ -361,6 +365,8 @@ interface paths$1 {
361
365
  };
362
366
  };
363
367
  renderableInPropertyPanel?: boolean;
368
+ /** @enum {string} */
369
+ localizable?: "default-yes" | "default-no" | "yes" | "no";
364
370
  }[];
365
371
  };
366
372
  dataConnectors?: {
@@ -758,6 +764,7 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
758
764
  };
759
765
  } | undefined;
760
766
  renderableInPropertyPanel?: boolean | undefined;
767
+ localizable?: "default-yes" | "default-no" | "yes" | "no" | undefined;
761
768
  }[];
762
769
  } | undefined;
763
770
  dataConnectors?: {
@@ -970,6 +977,13 @@ type ParamTypeLocationMetadata<TParamConfiguration = unknown, TIntegrationConfig
970
977
  * Use the <ParamTypeDynamicDataProvider> to wire up dynamic data in your parameter.
971
978
  */
972
979
  connectedData: Record<string, unknown>;
980
+ /**
981
+ * The target locale being edited.
982
+ * If the parameter is not defined as localizable, then this is always undefined.
983
+ * If the parameter is localizable, then this is the current editor language.
984
+ * Note that setValue() always sets the target language automatically.
985
+ */
986
+ targetLocale: string | undefined;
973
987
  };
974
988
  type ParamTypeLocation<TParamValue = unknown, TParamConfiguration = unknown, TParamSetValue = TParamValue, TIntegrationConfiguration = unknown> = MeshLocationCore<TParamValue | undefined, ParamTypeLocationMetadata<TParamConfiguration, TIntegrationConfiguration>, TParamSetValue, 'paramType'> & {
975
989
  /**
package/dist/index.d.ts CHANGED
@@ -64,6 +64,8 @@ interface paths$1 {
64
64
  };
65
65
  };
66
66
  renderableInPropertyPanel?: boolean;
67
+ /** @enum {string} */
68
+ localizable?: "default-yes" | "default-no" | "yes" | "no";
67
69
  }[];
68
70
  };
69
71
  dataConnectors?: {
@@ -213,6 +215,8 @@ interface paths$1 {
213
215
  };
214
216
  };
215
217
  renderableInPropertyPanel?: boolean;
218
+ /** @enum {string} */
219
+ localizable?: "default-yes" | "default-no" | "yes" | "no";
216
220
  }[];
217
221
  };
218
222
  dataConnectors?: {
@@ -361,6 +365,8 @@ interface paths$1 {
361
365
  };
362
366
  };
363
367
  renderableInPropertyPanel?: boolean;
368
+ /** @enum {string} */
369
+ localizable?: "default-yes" | "default-no" | "yes" | "no";
364
370
  }[];
365
371
  };
366
372
  dataConnectors?: {
@@ -758,6 +764,7 @@ declare class IntegrationDefinitionClient extends ApiClient<DefClientOptions> {
758
764
  };
759
765
  } | undefined;
760
766
  renderableInPropertyPanel?: boolean | undefined;
767
+ localizable?: "default-yes" | "default-no" | "yes" | "no" | undefined;
761
768
  }[];
762
769
  } | undefined;
763
770
  dataConnectors?: {
@@ -970,6 +977,13 @@ type ParamTypeLocationMetadata<TParamConfiguration = unknown, TIntegrationConfig
970
977
  * Use the <ParamTypeDynamicDataProvider> to wire up dynamic data in your parameter.
971
978
  */
972
979
  connectedData: Record<string, unknown>;
980
+ /**
981
+ * The target locale being edited.
982
+ * If the parameter is not defined as localizable, then this is always undefined.
983
+ * If the parameter is localizable, then this is the current editor language.
984
+ * Note that setValue() always sets the target language automatically.
985
+ */
986
+ targetLocale: string | undefined;
973
987
  };
974
988
  type ParamTypeLocation<TParamValue = unknown, TParamConfiguration = unknown, TParamSetValue = TParamValue, TIntegrationConfiguration = unknown> = MeshLocationCore<TParamValue | undefined, ParamTypeLocationMetadata<TParamConfiguration, TIntegrationConfiguration>, TParamSetValue, 'paramType'> & {
975
989
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-sdk",
3
- "version": "19.88.0",
3
+ "version": "19.88.1-alpha.7+69b3ccba4",
4
4
  "description": "Uniform Mesh Framework SDK",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -33,14 +33,14 @@
33
33
  "access": "public"
34
34
  },
35
35
  "dependencies": {
36
- "@uniformdev/canvas": "19.88.0",
37
- "@uniformdev/context": "19.88.0",
38
- "@uniformdev/project-map": "19.88.0",
36
+ "@uniformdev/canvas": "19.88.1-alpha.7+69b3ccba4",
37
+ "@uniformdev/context": "19.88.1-alpha.7+69b3ccba4",
38
+ "@uniformdev/project-map": "19.88.1-alpha.7+69b3ccba4",
39
39
  "imagesloaded": "^5.0.0",
40
40
  "mitt": "^3.0.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@types/imagesloaded": "^4.1.2"
44
44
  },
45
- "gitHead": "0a02f919a6b0f0c41307f120adada2e5d45a947b"
45
+ "gitHead": "69b3ccba4050c4ff412c4f226f54a36d74cf9a39"
46
46
  }