codify-schemas 1.0.50 → 1.0.52

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema",
3
3
  "$id": "https://www.codifycli.com/get-resource-info-request-data-schema.json",
4
- "title": "Get Resource Schema",
4
+ "title": "Get Resource Info Schema",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "type": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema",
3
3
  "$id": "https://www.codifycli.com/get-resource-info-response-data-schema.json",
4
- "title": "Get Resource Schema",
4
+ "title": "Get Resource Info Schema",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "plugin": {
@@ -21,6 +21,17 @@
21
21
  "items": {
22
22
  "type": "string"
23
23
  }
24
+ },
25
+ "import": {
26
+ "type": "object",
27
+ "properties": {
28
+ "requiredProperties": {
29
+ "type": "array",
30
+ "items": {
31
+ "type": "string"
32
+ }
33
+ }
34
+ }
24
35
  }
25
36
  },
26
37
  "required": ["type", "plugin"]
@@ -75,13 +75,16 @@ export interface GetResourceInfoResponseData {
75
75
  type: string;
76
76
  schema?: Record<string, unknown>;
77
77
  dependencies?: string[];
78
+ import?: {
79
+ requiredParameters: string[] | null;
80
+ };
78
81
  }
79
82
  export interface ImportRequestData {
80
83
  config: ResourceConfig;
81
84
  }
82
85
  export interface ImportResponseData {
83
86
  request: ResourceConfig;
84
- result: ResourceConfig;
87
+ result: ResourceConfig[];
85
88
  }
86
89
  export interface ApplyRequestData {
87
90
  planId?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAsBA,MAAM,CAAN,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,gCAAe,CAAA;AACjB,CAAC,EAHW,aAAa,KAAb,aAAa,QAGxB;AA4BD,MAAM,CAAN,IAAY,iBAMX;AAND,WAAY,iBAAiB;IAC3B,sCAAiB,CAAA;IACjB,wCAAmB,CAAA;IACnB,sCAAiB,CAAA;IACjB,0CAAqB,CAAA;IACrB,kCAAa,CAAA;AACf,CAAC,EANW,iBAAiB,KAAjB,iBAAiB,QAM5B;AAED,MAAM,CAAN,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,iCAAW,CAAA;IACX,uCAAiB,CAAA;IACjB,uCAAiB,CAAA;IACjB,mCAAa,CAAA;AACf,CAAC,EALW,kBAAkB,KAAlB,kBAAkB,QAK7B;AAuED,MAAM,CAAN,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,kCAAmB,CAAA;IACnB,8BAAe,CAAA;AACjB,CAAC,EAHW,WAAW,KAAX,WAAW,QAGtB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAsBA,MAAM,CAAN,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,gCAAe,CAAA;AACjB,CAAC,EAHW,aAAa,KAAb,aAAa,QAGxB;AA4BD,MAAM,CAAN,IAAY,iBAMX;AAND,WAAY,iBAAiB;IAC3B,sCAAiB,CAAA;IACjB,wCAAmB,CAAA;IACnB,sCAAiB,CAAA;IACjB,0CAAqB,CAAA;IACrB,kCAAa,CAAA;AACf,CAAC,EANW,iBAAiB,KAAjB,iBAAiB,QAM5B;AAED,MAAM,CAAN,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,iCAAW,CAAA;IACX,uCAAiB,CAAA;IACjB,uCAAiB,CAAA;IACjB,mCAAa,CAAA;AACf,CAAC,EALW,kBAAkB,KAAlB,kBAAkB,QAK7B;AA0ED,MAAM,CAAN,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,kCAAmB,CAAA;IACnB,8BAAe,CAAA;AACjB,CAAC,EAHW,WAAW,KAAX,WAAW,QAGtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codify-schemas",
3
- "version": "1.0.50",
3
+ "version": "1.0.52",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema",
3
3
  "$id": "https://www.codifycli.com/get-resource-info-request-data-schema.json",
4
- "title": "Get Resource Schema",
4
+ "title": "Get Resource Info Schema",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "type": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema",
3
3
  "$id": "https://www.codifycli.com/get-resource-info-response-data-schema.json",
4
- "title": "Get Resource Schema",
4
+ "title": "Get Resource Info Schema",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "plugin": {
@@ -21,6 +21,17 @@
21
21
  "items": {
22
22
  "type": "string"
23
23
  }
24
+ },
25
+ "import": {
26
+ "type": "object",
27
+ "properties": {
28
+ "requiredProperties": {
29
+ "type": "array",
30
+ "items": {
31
+ "type": "string"
32
+ }
33
+ }
34
+ }
24
35
  }
25
36
  },
26
37
  "required": ["type", "plugin"]
@@ -88,6 +88,9 @@ export interface GetResourceInfoResponseData {
88
88
  type: string;
89
89
  schema?: Record<string, unknown>,
90
90
  dependencies?: string[],
91
+ import?: {
92
+ requiredParameters: string[] | null,
93
+ }
91
94
  }
92
95
 
93
96
  export interface ImportRequestData {
@@ -96,7 +99,7 @@ export interface ImportRequestData {
96
99
 
97
100
  export interface ImportResponseData {
98
101
  request: ResourceConfig;
99
- result: ResourceConfig;
102
+ result: ResourceConfig[];
100
103
  }
101
104
 
102
105
  export interface ApplyRequestData {