codify-plugin-lib 1.0.133 → 1.0.134

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.
@@ -18,7 +18,7 @@ export type ParsedParameterSetting = {
18
18
  export declare class ParsedResourceSettings<T extends StringIndexedObject> implements ResourceSettings<T> {
19
19
  private cache;
20
20
  id: string;
21
- schema?: JSONSchemaType<T | any>;
21
+ schema?: Partial<JSONSchemaType<T | any>>;
22
22
  allowMultiple?: {
23
23
  matcher?: (desired: Partial<T>, current: Partial<T>[]) => Partial<T>;
24
24
  requiredParameters?: string[];
@@ -16,7 +16,7 @@ export interface ResourceSettings<T extends StringIndexedObject> {
16
16
  /**
17
17
  * Schema to validate user configs with. Must be in the format JSON Schema draft07
18
18
  */
19
- schema?: JSONSchemaType<T | any>;
19
+ schema?: Partial<JSONSchemaType<T | any>>;
20
20
  /**
21
21
  * Allow multiple of the same resource to unique. Set truthy if
22
22
  * multiples are allowed, for example for applications, there can be multiple copy of the same application installed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codify-plugin-lib",
3
- "version": "1.0.133",
3
+ "version": "1.0.134",
4
4
  "description": "Library plugin library",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -35,7 +35,7 @@ export type ParsedParameterSetting =
35
35
  export class ParsedResourceSettings<T extends StringIndexedObject> implements ResourceSettings<T> {
36
36
  private cache = new Map<string, unknown>();
37
37
  id!: string;
38
- schema?: JSONSchemaType<T | any>;
38
+ schema?: Partial<JSONSchemaType<T | any>>;
39
39
  allowMultiple?: {
40
40
  matcher?: (desired: Partial<T>, current: Partial<T>[]) => Partial<T>;
41
41
  requiredParameters?: string[]
@@ -24,7 +24,7 @@ export interface ResourceSettings<T extends StringIndexedObject> {
24
24
  /**
25
25
  * Schema to validate user configs with. Must be in the format JSON Schema draft07
26
26
  */
27
- schema?: JSONSchemaType<T | any>;
27
+ schema?: Partial<JSONSchemaType<T | any>>;
28
28
 
29
29
  /**
30
30
  * Allow multiple of the same resource to unique. Set truthy if