codify-schemas 1.0.67 → 1.0.68

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.
@@ -43,12 +43,11 @@
43
43
  },
44
44
  "description": "A list of properties that are required for importing and destroying a resource"
45
45
  },
46
- "canImport": {
46
+ "preventImport": {
47
47
  "type": "boolean",
48
48
  "description": "Controls whether a resource can be imported. For example: action resources cannot be imported"
49
49
  }
50
- },
51
- "required": ["canImport"]
50
+ }
52
51
  },
53
52
  "allowMultiple": {
54
53
  "type": "object",
@@ -98,7 +98,7 @@ export interface GetResourceInfoResponseData {
98
98
  };
99
99
  importAndDestroy?: {
100
100
  requiredParameters: string[] | null;
101
- canImport: boolean;
101
+ preventImport: boolean;
102
102
  };
103
103
  allowMultiple?: {
104
104
  requiredParameters: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codify-schemas",
3
- "version": "1.0.67",
3
+ "version": "1.0.68",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -43,12 +43,11 @@
43
43
  },
44
44
  "description": "A list of properties that are required for importing and destroying a resource"
45
45
  },
46
- "canImport": {
46
+ "preventImport": {
47
47
  "type": "boolean",
48
48
  "description": "Controls whether a resource can be imported. For example: action resources cannot be imported"
49
49
  }
50
- },
51
- "required": ["canImport"]
50
+ }
52
51
  },
53
52
  "allowMultiple": {
54
53
  "type": "object",
@@ -52,7 +52,7 @@ describe('Get resources response data schema', () => {
52
52
  requiredParameters: ['plugin'],
53
53
  },
54
54
  importAndDestroy: {
55
- canImport: true,
55
+ preventImport: true,
56
56
  requiredProperties: ['plugin']
57
57
  },
58
58
  allowMultiple: {
@@ -103,7 +103,7 @@ describe('Get resources response data schema', () => {
103
103
  requiredParameters: ['plugin'],
104
104
  },
105
105
  importAndDestroy: {
106
- canImport: true,
106
+ preventImport: true,
107
107
  requiredParameters: ['plugin'],
108
108
  },
109
109
  allowMultiple: {
@@ -114,7 +114,7 @@ export interface GetResourceInfoResponseData {
114
114
  },
115
115
  importAndDestroy?: {
116
116
  requiredParameters: string[] | null,
117
- canImport: boolean,
117
+ preventImport: boolean,
118
118
  },
119
119
  allowMultiple?: {
120
120
  requiredParameters: string[]