codify-schemas 1.0.81 → 1.0.83

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": [
@@ -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 {
@@ -140,6 +141,7 @@ export interface ApplyRequestData {
140
141
  operation: ParameterOperation;
141
142
  newValue: unknown | null;
142
143
  previousValue: unknown | null;
144
+ isSensitive?: boolean;
143
145
  }>;
144
146
  };
145
147
  }
@@ -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;AAsHD,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.83",
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;
@@ -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
 
@@ -161,6 +162,7 @@ export interface ApplyRequestData {
161
162
  operation: ParameterOperation;
162
163
  newValue: unknown | null;
163
164
  previousValue: unknown | null;
165
+ isSensitive?: boolean;
164
166
  }>
165
167
  }
166
168
  }