codify-schemas 1.0.79 → 1.0.81
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/initialize-response-data-schema.json +6 -0
- package/dist/types/index.d.ts +2 -2
- package/package.json +1 -1
- package/src/messages/get-resource-info-response-data-schema.test.ts +1 -6
- package/src/messages/initialize-response-data-schema.json +6 -0
- package/src/messages/initialize-response-data-schema.test.ts +1 -0
- package/src/types/index.ts +2 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -100,7 +100,7 @@ export interface GetResourceInfoResponseData {
|
|
|
100
100
|
requiredParameters: string[] | null;
|
|
101
101
|
preventImport?: boolean;
|
|
102
102
|
};
|
|
103
|
-
sensitiveParameters
|
|
103
|
+
sensitiveParameters?: string[];
|
|
104
104
|
allowMultiple: boolean;
|
|
105
105
|
}
|
|
106
106
|
export interface MatchRequestData {
|
|
@@ -123,7 +123,6 @@ export interface ImportRequestData {
|
|
|
123
123
|
core: ResourceConfig;
|
|
124
124
|
parameters: Record<string, unknown>;
|
|
125
125
|
autoSearchAll?: boolean;
|
|
126
|
-
includeSensitive?: boolean;
|
|
127
126
|
}
|
|
128
127
|
export interface ImportResponseData {
|
|
129
128
|
request: ResourceJson;
|
|
@@ -147,6 +146,7 @@ export interface ApplyRequestData {
|
|
|
147
146
|
export interface ResourceDefinition {
|
|
148
147
|
type: string;
|
|
149
148
|
dependencies: string[];
|
|
149
|
+
sensitiveParameters?: string[];
|
|
150
150
|
}
|
|
151
151
|
export interface InitializeRequestData {
|
|
152
152
|
verbosityLevel?: number;
|
package/package.json
CHANGED
|
@@ -41,7 +41,6 @@ describe('Get resources response data schema', () => {
|
|
|
41
41
|
"type": "string"
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
|
-
"sensitiveParameters": ['schema']
|
|
45
44
|
},
|
|
46
45
|
dependencies: [
|
|
47
46
|
"typeA",
|
|
@@ -57,11 +56,7 @@ describe('Get resources response data schema', () => {
|
|
|
57
56
|
requiredParameters: ['plugin']
|
|
58
57
|
},
|
|
59
58
|
allowMultiple: true,
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
expect(validate({
|
|
63
|
-
type: 'type',
|
|
64
|
-
plugin: 'core-plugin',
|
|
59
|
+
sensitiveParameters: [],
|
|
65
60
|
})).to.be.true;
|
|
66
61
|
|
|
67
62
|
// For testing the typescript type
|
package/src/types/index.ts
CHANGED
|
@@ -116,7 +116,7 @@ export interface GetResourceInfoResponseData {
|
|
|
116
116
|
requiredParameters: string[] | null;
|
|
117
117
|
preventImport?: boolean;
|
|
118
118
|
},
|
|
119
|
-
sensitiveParameters
|
|
119
|
+
sensitiveParameters?: string[];
|
|
120
120
|
allowMultiple: boolean;
|
|
121
121
|
}
|
|
122
122
|
|
|
@@ -142,7 +142,6 @@ export interface ImportRequestData {
|
|
|
142
142
|
core: ResourceConfig;
|
|
143
143
|
parameters: Record<string, unknown>;
|
|
144
144
|
autoSearchAll?: boolean;
|
|
145
|
-
includeSensitive?: boolean;
|
|
146
145
|
}
|
|
147
146
|
|
|
148
147
|
export interface ImportResponseData {
|
|
@@ -169,6 +168,7 @@ export interface ApplyRequestData {
|
|
|
169
168
|
export interface ResourceDefinition {
|
|
170
169
|
type: string;
|
|
171
170
|
dependencies: string[];
|
|
171
|
+
sensitiveParameters?: string[];
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
export interface InitializeRequestData {
|