codify-schemas 1.0.81 → 1.0.84

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.
@@ -64,6 +64,10 @@
64
64
  },
65
65
  "previousValue": {
66
66
  "description": "The new value"
67
+ },
68
+ "isSensitive": {
69
+ "description": "Indicates if the parameter is sensitive",
70
+ "type": "boolean"
67
71
  }
68
72
  },
69
73
  "required": [
@@ -22,6 +22,12 @@
22
22
  "type": "string"
23
23
  }
24
24
  },
25
+ "operatingSystems": {
26
+ "type": "array",
27
+ "items": {
28
+ "enum": ["Darwin", "Linux", "Windows_NT"]
29
+ }
30
+ },
25
31
  "import": {
26
32
  "type": "object",
27
33
  "properties": {
@@ -24,6 +24,12 @@
24
24
  "items": {
25
25
  "type": "string"
26
26
  }
27
+ },
28
+ "operatingSystems": {
29
+ "type": "array",
30
+ "items": {
31
+ "enum": ["Darwin", "Linux", "Windows_NT"]
32
+ }
27
33
  }
28
34
  },
29
35
  "required": [
@@ -46,6 +46,10 @@
46
46
  },
47
47
  "newValue": {
48
48
  "description": "The new value"
49
+ },
50
+ "isSensitive": {
51
+ "description": "Indicates if the parameter is sensitive",
52
+ "type": "boolean"
49
53
  }
50
54
  },
51
55
  "required": ["name", "operation", "previousValue", "newValue"]
@@ -80,6 +80,7 @@ export interface PlanResponseData {
80
80
  operation: ParameterOperation;
81
81
  previousValue: unknown | null;
82
82
  newValue: unknown | null;
83
+ isSensitive?: boolean;
83
84
  }>;
84
85
  }
85
86
  export interface GetResourceInfoRequestData {
@@ -96,6 +97,7 @@ export interface GetResourceInfoResponseData {
96
97
  import?: {
97
98
  requiredParameters: string[] | null;
98
99
  };
100
+ operatingSystems?: 'Darwin' | 'Linux' | 'Windows_NT';
99
101
  importAndDestroy?: {
100
102
  requiredParameters: string[] | null;
101
103
  preventImport?: boolean;
@@ -140,12 +142,14 @@ export interface ApplyRequestData {
140
142
  operation: ParameterOperation;
141
143
  newValue: unknown | null;
142
144
  previousValue: unknown | null;
145
+ isSensitive?: boolean;
143
146
  }>;
144
147
  };
145
148
  }
146
149
  export interface ResourceDefinition {
147
150
  type: string;
148
151
  dependencies: string[];
152
+ operatingSystems?: 'Darwin' | 'Linux' | 'Windows_NT';
149
153
  sensitiveParameters?: string[];
150
154
  }
151
155
  export interface InitializeRequestData {
@@ -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;AAoHD,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;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;AAwHD,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.81",
3
+ "version": "1.0.84",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -64,6 +64,10 @@
64
64
  },
65
65
  "previousValue": {
66
66
  "description": "The new value"
67
+ },
68
+ "isSensitive": {
69
+ "description": "Indicates if the parameter is sensitive",
70
+ "type": "boolean"
67
71
  }
68
72
  },
69
73
  "required": [
@@ -36,6 +36,7 @@ describe('Apply request data schema', () => {
36
36
  operation: ParameterOperation.ADD,
37
37
  newValue: 'abc',
38
38
  previousValue: null,
39
+ isSensitive: false,
39
40
  }]
40
41
  }
41
42
  } as ApplyRequestData)).to.be.true;
@@ -22,6 +22,12 @@
22
22
  "type": "string"
23
23
  }
24
24
  },
25
+ "operatingSystems": {
26
+ "type": "array",
27
+ "items": {
28
+ "enum": ["Darwin", "Linux", "Windows_NT"]
29
+ }
30
+ },
25
31
  "import": {
26
32
  "type": "object",
27
33
  "properties": {
@@ -24,6 +24,12 @@
24
24
  "items": {
25
25
  "type": "string"
26
26
  }
27
+ },
28
+ "operatingSystems": {
29
+ "type": "array",
30
+ "items": {
31
+ "enum": ["Darwin", "Linux", "Windows_NT"]
32
+ }
27
33
  }
28
34
  },
29
35
  "required": [
@@ -46,6 +46,10 @@
46
46
  },
47
47
  "newValue": {
48
48
  "description": "The new value"
49
+ },
50
+ "isSensitive": {
51
+ "description": "Indicates if the parameter is sensitive",
52
+ "type": "boolean"
49
53
  }
50
54
  },
51
55
  "required": ["name", "operation", "previousValue", "newValue"]
@@ -27,7 +27,8 @@ describe('Plan response data schema', () => {
27
27
  name: 'parameter1',
28
28
  operation: ParameterOperation.ADD,
29
29
  previousValue: null,
30
- newValue: 'abc'
30
+ newValue: 'abc',
31
+ isSensitive: false,
31
32
  }]
32
33
  } as PlanResponseData)).to.be.true;
33
34
  })
@@ -94,6 +94,7 @@ export interface PlanResponseData {
94
94
  operation: ParameterOperation;
95
95
  previousValue: unknown | null;
96
96
  newValue: unknown | null;
97
+ isSensitive?: boolean;
97
98
  }>
98
99
  }
99
100
 
@@ -112,6 +113,7 @@ export interface GetResourceInfoResponseData {
112
113
  import?: {
113
114
  requiredParameters: string[] | null;
114
115
  },
116
+ operatingSystems?: 'Darwin' | 'Linux' | 'Windows_NT';
115
117
  importAndDestroy?: {
116
118
  requiredParameters: string[] | null;
117
119
  preventImport?: boolean;
@@ -161,6 +163,7 @@ export interface ApplyRequestData {
161
163
  operation: ParameterOperation;
162
164
  newValue: unknown | null;
163
165
  previousValue: unknown | null;
166
+ isSensitive?: boolean;
164
167
  }>
165
168
  }
166
169
  }
@@ -168,6 +171,7 @@ export interface ApplyRequestData {
168
171
  export interface ResourceDefinition {
169
172
  type: string;
170
173
  dependencies: string[];
174
+ operatingSystems?: 'Darwin' | 'Linux' | 'Windows_NT';
171
175
  sensitiveParameters?: string[];
172
176
  }
173
177