@epilot/app-client 0.0.4 → 0.0.6

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/openapi.d.ts CHANGED
@@ -23,7 +23,7 @@ declare namespace Components {
23
23
  */
24
24
  export interface App {
25
25
  app_id?: string;
26
- name?: string;
26
+ name?: TranslatedString;
27
27
  /**
28
28
  * URL of the app icon.
29
29
  */
@@ -32,10 +32,7 @@ declare namespace Components {
32
32
  * URL of the app documentation.
33
33
  */
34
34
  documentation_url?: string;
35
- /**
36
- * Markdown description of the app.
37
- */
38
- description?: string;
35
+ description?: TranslatedString;
39
36
  created_by?: string;
40
37
  created_at?: string;
41
38
  /**
@@ -92,7 +89,7 @@ declare namespace Components {
92
89
  */
93
90
  export interface AppConfiguration {
94
91
  app_id?: string;
95
- name?: string;
92
+ name?: TranslatedString;
96
93
  /**
97
94
  * URL of the app icon.
98
95
  */
@@ -104,7 +101,7 @@ declare namespace Components {
104
101
  /**
105
102
  * Markdown description of the app.
106
103
  */
107
- description?: string;
104
+ description?: TranslatedString;
108
105
  created_by?: string;
109
106
  created_at?: string;
110
107
  updated_at?: string;
@@ -151,6 +148,10 @@ declare namespace Components {
151
148
  * Unique identifier for the component
152
149
  */
153
150
  id: string;
151
+ /**
152
+ * Name of the component
153
+ */
154
+ name?: string;
154
155
  /**
155
156
  * List of options for the app component
156
157
  */
@@ -163,6 +164,10 @@ declare namespace Components {
163
164
  * Unique identifier for the component
164
165
  */
165
166
  id: string;
167
+ /**
168
+ * Name of the component
169
+ */
170
+ name?: string;
166
171
  /**
167
172
  * List of options for the app component
168
173
  */
@@ -173,6 +178,10 @@ declare namespace Components {
173
178
  * Unique identifier for the component
174
179
  */
175
180
  id: string;
181
+ /**
182
+ * Name of the component
183
+ */
184
+ name?: string;
176
185
  /**
177
186
  * List of options for the app component
178
187
  */
@@ -312,6 +321,16 @@ declare namespace Components {
312
321
  */
313
322
  key: string;
314
323
  }
324
+ export interface TranslatedString {
325
+ /**
326
+ * English translation
327
+ */
328
+ en?: string;
329
+ /**
330
+ * German translation
331
+ */
332
+ de?: string;
333
+ }
315
334
  export interface UploadFilePayload {
316
335
  /**
317
336
  * example:
@@ -531,4 +550,5 @@ export type OptionsRef = Components.Schemas.OptionsRef;
531
550
  export type PortalAuth = Components.Schemas.PortalAuth;
532
551
  export type PortalExtensionConfig = Components.Schemas.PortalExtensionConfig;
533
552
  export type S3Reference = Components.Schemas.S3Reference;
553
+ export type TranslatedString = Components.Schemas.TranslatedString;
534
554
  export type UploadFilePayload = Components.Schemas.UploadFilePayload;
package/dist/openapi.json CHANGED
@@ -388,6 +388,10 @@
388
388
  "type": "string",
389
389
  "description": "Unique identifier for the component"
390
390
  },
391
+ "name": {
392
+ "type": "string",
393
+ "description": "Name of the component"
394
+ },
391
395
  "options": {
392
396
  "type": "array",
393
397
  "items": {
@@ -651,7 +655,7 @@
651
655
  "type": "string"
652
656
  },
653
657
  "name": {
654
- "type": "string"
658
+ "$ref": "#/components/schemas/TranslatedString"
655
659
  },
656
660
  "icon_url": {
657
661
  "type": "string",
@@ -662,7 +666,7 @@
662
666
  "description": "URL of the app documentation."
663
667
  },
664
668
  "description": {
665
- "type": "string",
669
+ "$ref": "#/components/schemas/TranslatedString",
666
670
  "description": "Markdown description of the app."
667
671
  },
668
672
  "created_by": {
@@ -722,6 +726,19 @@
722
726
  }
723
727
  }
724
728
  },
729
+ "TranslatedString": {
730
+ "type": "object",
731
+ "properties": {
732
+ "en": {
733
+ "type": "string",
734
+ "description": "English translation"
735
+ },
736
+ "de": {
737
+ "type": "string",
738
+ "description": "German translation"
739
+ }
740
+ }
741
+ },
725
742
  "CallerIdentity": {
726
743
  "type": "object",
727
744
  "properties": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/app-client",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "description": "JavaScript client library for the epilot App API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",