codify-schemas 1.0.64 → 1.0.66
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/messages/get-resource-info-response-data-schema.json +11 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
- package/src/messages/get-resource-info-response-data-schema.json +11 -0
- package/src/messages/get-resource-info-response-data-schema.test.ts +6 -0
- package/src/types/index.ts +3 -0
|
@@ -22,6 +22,17 @@
|
|
|
22
22
|
"type": "string"
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
|
+
"import": {
|
|
26
|
+
"type": "object",
|
|
27
|
+
"properties": {
|
|
28
|
+
"requiredProperties": {
|
|
29
|
+
"type": "array",
|
|
30
|
+
"items": {
|
|
31
|
+
"type": "string"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
},
|
|
25
36
|
"importAndDestroy": {
|
|
26
37
|
"type": "object",
|
|
27
38
|
"properties": {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -90,6 +90,9 @@ export interface GetResourceInfoResponseData {
|
|
|
90
90
|
type: string;
|
|
91
91
|
schema?: Record<string, unknown>;
|
|
92
92
|
dependencies?: string[];
|
|
93
|
+
import?: {
|
|
94
|
+
requiredParameters: string[] | null;
|
|
95
|
+
};
|
|
93
96
|
importAndDestroy?: {
|
|
94
97
|
requiredParameters: string[] | null;
|
|
95
98
|
};
|
package/dist/types/index.js.map
CHANGED
|
@@ -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;AA6CD,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;
|
|
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;AA6CD,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;AAgFD,MAAM,CAAN,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,kCAAmB,CAAA;IACnB,8BAAe,CAAA;AACjB,CAAC,EAHW,WAAW,KAAX,WAAW,QAGtB"}
|
package/package.json
CHANGED
|
@@ -22,6 +22,17 @@
|
|
|
22
22
|
"type": "string"
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
|
+
"import": {
|
|
26
|
+
"type": "object",
|
|
27
|
+
"properties": {
|
|
28
|
+
"requiredProperties": {
|
|
29
|
+
"type": "array",
|
|
30
|
+
"items": {
|
|
31
|
+
"type": "string"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
},
|
|
25
36
|
"importAndDestroy": {
|
|
26
37
|
"type": "object",
|
|
27
38
|
"properties": {
|
|
@@ -48,6 +48,9 @@ describe('Get resources response data schema', () => {
|
|
|
48
48
|
],
|
|
49
49
|
|
|
50
50
|
},
|
|
51
|
+
import: {
|
|
52
|
+
requiredParameters: ['plugin'],
|
|
53
|
+
},
|
|
51
54
|
importAndDestroy: {
|
|
52
55
|
requiredProperties: ['plugin']
|
|
53
56
|
},
|
|
@@ -95,6 +98,9 @@ describe('Get resources response data schema', () => {
|
|
|
95
98
|
"typeB"
|
|
96
99
|
]
|
|
97
100
|
},
|
|
101
|
+
import: {
|
|
102
|
+
requiredParameters: ['plugin'],
|
|
103
|
+
},
|
|
98
104
|
importAndDestroy: {
|
|
99
105
|
requiredParameters: ['plugin'],
|
|
100
106
|
},
|
package/src/types/index.ts
CHANGED
|
@@ -106,6 +106,9 @@ export interface GetResourceInfoResponseData {
|
|
|
106
106
|
type: string;
|
|
107
107
|
schema?: Record<string, unknown>,
|
|
108
108
|
dependencies?: string[],
|
|
109
|
+
import?: {
|
|
110
|
+
requiredParameters: string[] | null,
|
|
111
|
+
},
|
|
109
112
|
importAndDestroy?: {
|
|
110
113
|
requiredParameters: string[] | null,
|
|
111
114
|
},
|