@epilot/app-client 0.0.5 → 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;
@@ -324,6 +321,16 @@ declare namespace Components {
324
321
  */
325
322
  key: string;
326
323
  }
324
+ export interface TranslatedString {
325
+ /**
326
+ * English translation
327
+ */
328
+ en?: string;
329
+ /**
330
+ * German translation
331
+ */
332
+ de?: string;
333
+ }
327
334
  export interface UploadFilePayload {
328
335
  /**
329
336
  * example:
@@ -543,4 +550,5 @@ export type OptionsRef = Components.Schemas.OptionsRef;
543
550
  export type PortalAuth = Components.Schemas.PortalAuth;
544
551
  export type PortalExtensionConfig = Components.Schemas.PortalExtensionConfig;
545
552
  export type S3Reference = Components.Schemas.S3Reference;
553
+ export type TranslatedString = Components.Schemas.TranslatedString;
546
554
  export type UploadFilePayload = Components.Schemas.UploadFilePayload;
package/dist/openapi.json CHANGED
@@ -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.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",