@epilot/app-client 0.0.5 → 0.0.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/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,10 +148,7 @@ declare namespace Components {
151
148
  * Unique identifier for the component
152
149
  */
153
150
  id: string;
154
- /**
155
- * Name of the component
156
- */
157
- name?: string;
151
+ name?: TranslatedString;
158
152
  /**
159
153
  * List of options for the app component
160
154
  */
@@ -167,10 +161,7 @@ declare namespace Components {
167
161
  * Unique identifier for the component
168
162
  */
169
163
  id: string;
170
- /**
171
- * Name of the component
172
- */
173
- name?: string;
164
+ name?: TranslatedString;
174
165
  /**
175
166
  * List of options for the app component
176
167
  */
@@ -184,7 +175,7 @@ declare namespace Components {
184
175
  /**
185
176
  * Name of the component
186
177
  */
187
- name?: string;
178
+ name?: TranslatedString;
188
179
  /**
189
180
  * List of options for the app component
190
181
  */
@@ -324,6 +315,16 @@ declare namespace Components {
324
315
  */
325
316
  key: string;
326
317
  }
318
+ export interface TranslatedString {
319
+ /**
320
+ * English translation
321
+ */
322
+ en?: string;
323
+ /**
324
+ * German translation
325
+ */
326
+ de?: string;
327
+ }
327
328
  export interface UploadFilePayload {
328
329
  /**
329
330
  * example:
@@ -543,4 +544,5 @@ export type OptionsRef = Components.Schemas.OptionsRef;
543
544
  export type PortalAuth = Components.Schemas.PortalAuth;
544
545
  export type PortalExtensionConfig = Components.Schemas.PortalExtensionConfig;
545
546
  export type S3Reference = Components.Schemas.S3Reference;
547
+ export type TranslatedString = Components.Schemas.TranslatedString;
546
548
  export type UploadFilePayload = Components.Schemas.UploadFilePayload;
package/dist/openapi.json CHANGED
@@ -389,7 +389,7 @@
389
389
  "description": "Unique identifier for the component"
390
390
  },
391
391
  "name": {
392
- "type": "string",
392
+ "$ref": "#/components/schemas/TranslatedString",
393
393
  "description": "Name of the component"
394
394
  },
395
395
  "options": {
@@ -655,7 +655,7 @@
655
655
  "type": "string"
656
656
  },
657
657
  "name": {
658
- "type": "string"
658
+ "$ref": "#/components/schemas/TranslatedString"
659
659
  },
660
660
  "icon_url": {
661
661
  "type": "string",
@@ -666,7 +666,7 @@
666
666
  "description": "URL of the app documentation."
667
667
  },
668
668
  "description": {
669
- "type": "string",
669
+ "$ref": "#/components/schemas/TranslatedString",
670
670
  "description": "Markdown description of the app."
671
671
  },
672
672
  "created_by": {
@@ -726,6 +726,19 @@
726
726
  }
727
727
  }
728
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
+ },
729
742
  "CallerIdentity": {
730
743
  "type": "object",
731
744
  "properties": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/app-client",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "description": "JavaScript client library for the epilot App API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",