@kumori/aurora-interfaces 1.0.5 → 1.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.
@@ -22,6 +22,7 @@ export interface Account {
22
22
  password?: string;
23
23
  domain?: string;
24
24
  endpoint?: string;
25
+ project_id?: string;
25
26
  };
26
27
  logo: string;
27
28
  environments: string[];
@@ -1,79 +1,80 @@
1
- import { Channel } from "./channel-interface";
2
- import { Usage } from "./usage-interface";
3
- import { Link } from "./link-interface";
4
- import { Resource } from "./resource-interface";
5
- import { Instance } from "./instance-interface";
6
- import { Revision } from "./revision-interface";
1
+ import { Channel } from './channel-interface';
2
+ import { Usage } from './usage-interface';
3
+ import { Link } from './link-interface';
4
+ import { Resource } from './resource-interface';
5
+ import { Instance } from './instance-interface';
6
+
7
7
 
8
8
  export interface Service {
9
- id: string;
10
- tenant: string;
11
- account: string;
12
- environment: string;
13
- name: string;
14
- logo: string;
15
- description: string;
16
- revisions: Revision[];
17
- status: {
18
- message: string;
19
- timestamp: string;
20
- args: string[];
21
- code: string;
22
- };
23
- role: {
24
- name: string;
25
- instances: Instance[];
26
- logo?: string;
27
- category?: string;
28
- version?: string;
29
- description?: string;
30
- resource?: Resource[];
31
- parameters?: { [key: string]: string }[];
32
- registry?: string;
33
- imageTag?: string;
34
- entrypoint?: string;
35
- cmd?: string;
36
- scalling?: {
37
- cpu: {
38
- up: string;
39
- down: string;
40
- };
41
- memory: {
42
- up: string;
43
- down: string;
44
- };
45
- instances: {
46
- max: number;
47
- min: number;
48
- };
49
- histeresys: string;
50
- };
51
- hsize?: number;
52
- }[];
53
- links: Link[];
54
- resources: Resource[];
55
- usage: Usage;
56
- minReplicas?: number;
57
- maxReplicas?: number;
58
- lastDeployed?: string;
59
- project: string;
60
- registry: string;
61
- imageName: string;
62
- entrypoint: string;
63
- cmd: string;
64
- serverChannels: Channel[];
65
- clientChannels: Channel[];
66
- duplexChannels: Channel[];
67
- cloudProvider: string;
68
- currentRevision?: string;
69
- startedAt?: string;
70
- parameters: { [key: string]: string }[];
71
- error?: {
72
- code: string;
73
- message: string;
74
- timestamp?: string;
75
- };
76
- download?: boolean;
77
- serviceData?: Blob;
78
- dsl?: boolean;
9
+ id: string;
10
+ tenant: string;
11
+ account: string;
12
+ environment: string;
13
+ name: string;
14
+ logo: string;
15
+ description: string;
16
+ revisions: string[];
17
+ status: {
18
+ message: string;
19
+ timestamp: string;
20
+ args: string[];
21
+ code: string;
22
+ };
23
+ role: {
24
+ name: string;
25
+ instances: Instance[];
26
+ logo?: string;
27
+ category?: string;
28
+ version?: string;
29
+ description?: string;
30
+ resource?: Resource[];
31
+ parameters?: { [key: string]: string }[];
32
+ registry?: string;
33
+ imageTag?: string;
34
+ entrypoint?: string;
35
+ cmd?: string;
36
+ scalling?: {
37
+ cpu: {
38
+ up: string;
39
+ down: string;
40
+ },
41
+ memory: {
42
+ up: string;
43
+ down: string;
44
+ }
45
+ instances: {
46
+ max: number;
47
+ min: number;
48
+ }
49
+ histeresys: string;
50
+ },
51
+ hsize?: number;
52
+ }[];
53
+ links: Link[];
54
+ resources: Resource[];
55
+ usage: Usage;
56
+ minReplicas?: number;
57
+ maxReplicas?: number;
58
+ lastDeployed?: string;
59
+ project: string;
60
+ registry: string;
61
+ imageName: string;
62
+ entrypoint: string;
63
+ cmd: string;
64
+ serverChannels: Channel[];
65
+ clientChannels: Channel[];
66
+ duplexChannels: Channel[];
67
+ cloudProvider: string;
68
+ currentRevision?: string;
69
+ startedAt?: string;
70
+ parameters: { [key: string]: string }[];
71
+ error?: {
72
+ code: string;
73
+ message: string;
74
+ timestamp?: string;
75
+ };
76
+ download? : boolean;
77
+ serviceData? : Blob;
78
+ dsl?: boolean;
79
79
  }
80
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kumori/aurora-interfaces",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "aurora interfaces",
5
5
  "main": "export-interfaces.ts",
6
6
  "repository": {
@@ -1,16 +0,0 @@
1
- import { Usage } from "./usage-interface";
2
-
3
- export interface Revision {
4
- id: string;
5
- schema: any;
6
- usage: Usage;
7
- status: {
8
- code: string;
9
- message: string;
10
- timestamp: string;
11
- args: string[];
12
- };
13
- errorCode?: string;
14
- errorMsg?: string;
15
- createdAt?: string;
16
- }