@codifycli/plugin-core 1.1.0-beta3 → 1.1.0-beta5

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.
@@ -10,8 +10,8 @@ export interface ExampleConfig extends Record<string, unknown> {
10
10
  description?: string;
11
11
  }
12
12
  export interface ExampleConfigs {
13
- example1: ExampleConfig;
14
- example2: ExampleConfig;
13
+ example1?: ExampleConfig;
14
+ example2?: ExampleConfig;
15
15
  }
16
16
  export interface InputTransformation {
17
17
  to: (input: any) => Promise<any> | any;
@@ -181,7 +181,7 @@ export interface ResourceSettings<T extends StringIndexedObject> {
181
181
  * A collection of example configs used to give users an idea on how to use this specific resource. These examples
182
182
  * don't need to be limited to just the current resource. They can include other resources as well
183
183
  */
184
- exampleConfigs: ExampleConfigs;
184
+ exampleConfigs?: ExampleConfigs;
185
185
  }
186
186
  /**
187
187
  * The type of parameter. This value is mainly used to determine a pre-set equality method for comparing the current
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codifycli/plugin-core",
3
- "version": "1.1.0-beta3",
3
+ "version": "1.1.0-beta5",
4
4
  "description": "TypeScript library for building Codify plugins to manage system resources (applications, CLI tools, settings) through infrastructure-as-code",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "license": "ISC",
37
37
  "dependencies": {
38
- "@codifycli/schemas": "1.1.0-beta2",
38
+ "@codifycli/schemas": "1.1.0-beta3",
39
39
  "@homebridge/node-pty-prebuilt-multiarch": "^0.13.1",
40
40
  "ajv": "^8.18.0",
41
41
  "ajv-formats": "^2.1.1",
@@ -22,8 +22,8 @@ export interface ExampleConfig extends Record<string, unknown> {
22
22
  }
23
23
 
24
24
  export interface ExampleConfigs {
25
- example1: ExampleConfig;
26
- example2: ExampleConfig;
25
+ example1?: ExampleConfig;
26
+ example2?: ExampleConfig;
27
27
  }
28
28
 
29
29
  export interface InputTransformation {
@@ -217,7 +217,7 @@ export interface ResourceSettings<T extends StringIndexedObject> {
217
217
  * A collection of example configs used to give users an idea on how to use this specific resource. These examples
218
218
  * don't need to be limited to just the current resource. They can include other resources as well
219
219
  */
220
- exampleConfigs: ExampleConfigs
220
+ exampleConfigs?: ExampleConfigs
221
221
  }
222
222
 
223
223
  /**