@uniformdev/assets 19.55.1-alpha.8 → 19.55.2-alpha.17

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
@@ -81,7 +81,8 @@ interface paths {
81
81
  * @description The project ID to upsert the asset to
82
82
  */
83
83
  projectId: string;
84
- asset: components["schemas"]["AssetInput"];
84
+ asset?: components["schemas"]["AssetInput"];
85
+ assets?: components["schemas"]["AssetInput"][];
85
86
  };
86
87
  };
87
88
  };
@@ -127,7 +128,7 @@ interface components {
127
128
  schemas: {
128
129
  /** @description Defines the shape of the asset */
129
130
  Asset: {
130
- /** @description Content type of the asset. */
131
+ /** @description Asset type of the asset. */
131
132
  type: string;
132
133
  /**
133
134
  * Format: uuid
@@ -479,26 +480,26 @@ interface external {
479
480
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
480
481
  fields?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
481
482
  /**
482
- * Format: uuid
483
- * @description Reference to the category this component definition belongs to
484
- * @default null
485
- */
486
- categoryId?: string | null;
487
- /**
488
- * @description Description of the component definition
483
+ * @description Description of the content type
489
484
  * @default null
490
485
  */
491
486
  description?: string;
492
487
  /**
493
- * @description Description of the component definition
494
- * @default null
488
+ * @description Icon name for the content type (e.g. 'screen')
489
+ * @default file-document
495
490
  */
496
- previewImageUrl?: string;
491
+ icon?: string;
497
492
  /** @description Created date string for this content type (ignored for writes) */
498
493
  created?: string;
499
494
  /** @description Last modified date string for this content type (ignored for writes) */
500
495
  updated?: string;
501
496
  slugSettings?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionSlugSettings"];
497
+ /**
498
+ * @description The definition type of this content type (block or content type)
499
+ * @default contentType
500
+ * @enum {string}
501
+ */
502
+ type?: "contentType" | "block";
502
503
  };
503
504
  /** @description Defines an editable parameter on a component. */
504
505
  ComponentParameter: {
@@ -717,15 +718,8 @@ interface external {
717
718
  allowedOnComponents?: string[];
718
719
  /** @description Resource path, appended to the data source's baseUrl (e.g. baseUrl = https://base.url, path = /v1/endpoint -> final URL https://base.url/v1/endpoint). Must have leading slash. */
719
720
  path: string;
720
- /** @description Time-to-live (in seconds) for the primary resource data cache. */
721
+ /** @description Time-to-live (in seconds) for the resource data cache. */
721
722
  ttl?: number;
722
- /** @description Long term data resource cache configuration. */
723
- longTermCache?: {
724
- /** @description A flag to turn the long term cache on. */
725
- enabled: boolean;
726
- /** @description Time-to-live (in hours) for the long term resource data cache. */
727
- ttlInHours?: number;
728
- };
729
723
  /** @description A key for the resource data cache purging. */
730
724
  purgeKey?: string;
731
725
  /** @description URL to a custom badge icon for the Uniform dashboard for this data type. If not set falls back to the data connector or integration icons. */
@@ -835,6 +829,26 @@ interface external {
835
829
  */
836
830
  projectMapId: string;
837
831
  };
832
+ /** @description AI Prompt definition. */
833
+ Prompt: {
834
+ /**
835
+ * Format: uuid
836
+ * @description Unique identifier for the prompt
837
+ */
838
+ id: string;
839
+ /** @description Unique identifier for the integration that this prompt belongs to. */
840
+ integrationType: string;
841
+ /** @description Name for the prompt */
842
+ promptName?: string | null;
843
+ /** @description Text for the prompt */
844
+ promptText?: string | null;
845
+ /** @description Data for the prompt */
846
+ promptData?: string | null;
847
+ /** @description Turn off/on prompt */
848
+ enabled?: boolean | null;
849
+ /** @description Integration default prompt */
850
+ builtIn?: boolean | null;
851
+ };
838
852
  };
839
853
  };
840
854
  operations: {};
package/dist/index.d.ts CHANGED
@@ -81,7 +81,8 @@ interface paths {
81
81
  * @description The project ID to upsert the asset to
82
82
  */
83
83
  projectId: string;
84
- asset: components["schemas"]["AssetInput"];
84
+ asset?: components["schemas"]["AssetInput"];
85
+ assets?: components["schemas"]["AssetInput"][];
85
86
  };
86
87
  };
87
88
  };
@@ -127,7 +128,7 @@ interface components {
127
128
  schemas: {
128
129
  /** @description Defines the shape of the asset */
129
130
  Asset: {
130
- /** @description Content type of the asset. */
131
+ /** @description Asset type of the asset. */
131
132
  type: string;
132
133
  /**
133
134
  * Format: uuid
@@ -479,26 +480,26 @@ interface external {
479
480
  /** @description The fields for this content type. Fields are key-value pairs that can be text, numbers, JSON objects, etc. */
480
481
  fields?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionParameter"][];
481
482
  /**
482
- * Format: uuid
483
- * @description Reference to the category this component definition belongs to
484
- * @default null
485
- */
486
- categoryId?: string | null;
487
- /**
488
- * @description Description of the component definition
483
+ * @description Description of the content type
489
484
  * @default null
490
485
  */
491
486
  description?: string;
492
487
  /**
493
- * @description Description of the component definition
494
- * @default null
488
+ * @description Icon name for the content type (e.g. 'screen')
489
+ * @default file-document
495
490
  */
496
- previewImageUrl?: string;
491
+ icon?: string;
497
492
  /** @description Created date string for this content type (ignored for writes) */
498
493
  created?: string;
499
494
  /** @description Last modified date string for this content type (ignored for writes) */
500
495
  updated?: string;
501
496
  slugSettings?: external["uniform-canvas-types.swagger.yml"]["components"]["schemas"]["ComponentDefinitionSlugSettings"];
497
+ /**
498
+ * @description The definition type of this content type (block or content type)
499
+ * @default contentType
500
+ * @enum {string}
501
+ */
502
+ type?: "contentType" | "block";
502
503
  };
503
504
  /** @description Defines an editable parameter on a component. */
504
505
  ComponentParameter: {
@@ -717,15 +718,8 @@ interface external {
717
718
  allowedOnComponents?: string[];
718
719
  /** @description Resource path, appended to the data source's baseUrl (e.g. baseUrl = https://base.url, path = /v1/endpoint -> final URL https://base.url/v1/endpoint). Must have leading slash. */
719
720
  path: string;
720
- /** @description Time-to-live (in seconds) for the primary resource data cache. */
721
+ /** @description Time-to-live (in seconds) for the resource data cache. */
721
722
  ttl?: number;
722
- /** @description Long term data resource cache configuration. */
723
- longTermCache?: {
724
- /** @description A flag to turn the long term cache on. */
725
- enabled: boolean;
726
- /** @description Time-to-live (in hours) for the long term resource data cache. */
727
- ttlInHours?: number;
728
- };
729
723
  /** @description A key for the resource data cache purging. */
730
724
  purgeKey?: string;
731
725
  /** @description URL to a custom badge icon for the Uniform dashboard for this data type. If not set falls back to the data connector or integration icons. */
@@ -835,6 +829,26 @@ interface external {
835
829
  */
836
830
  projectMapId: string;
837
831
  };
832
+ /** @description AI Prompt definition. */
833
+ Prompt: {
834
+ /**
835
+ * Format: uuid
836
+ * @description Unique identifier for the prompt
837
+ */
838
+ id: string;
839
+ /** @description Unique identifier for the integration that this prompt belongs to. */
840
+ integrationType: string;
841
+ /** @description Name for the prompt */
842
+ promptName?: string | null;
843
+ /** @description Text for the prompt */
844
+ promptText?: string | null;
845
+ /** @description Data for the prompt */
846
+ promptData?: string | null;
847
+ /** @description Turn off/on prompt */
848
+ enabled?: boolean | null;
849
+ /** @description Integration default prompt */
850
+ builtIn?: boolean | null;
851
+ };
838
852
  };
839
853
  };
840
854
  operations: {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/assets",
3
- "version": "19.55.1-alpha.8+02b3f0ddb",
3
+ "version": "19.55.2-alpha.17+eab7a8c45",
4
4
  "description": "Uniform Assets",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -36,7 +36,7 @@
36
36
  "access": "public"
37
37
  },
38
38
  "dependencies": {
39
- "@uniformdev/context": "19.55.1-alpha.8+02b3f0ddb"
39
+ "@uniformdev/context": "19.55.2-alpha.17+eab7a8c45"
40
40
  },
41
- "gitHead": "02b3f0ddb80a99d95d2f69cab42013682d763ca8"
41
+ "gitHead": "eab7a8c45e5ed1812ac6394238980b7eaeeb4f83"
42
42
  }