Skip to content

Commit d3ef872

Browse files
Add allowDeletionOfFilesInMetaObject type definition and schema
Co-authored-by: GermanBluefox <4582016+GermanBluefox@users.noreply.github.com>
1 parent 915c3ac commit d3ef872

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

packages/types-dev/objects.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,8 @@ declare global {
654654
};
655655
/** If the mode is `schedule`, start one time adapter by ioBroker start, or by the configuration changes */
656656
allowInit?: boolean;
657+
/** If true, allows deletion of meta files without user confirmation when deleting adapter instances */
658+
allowDeletionOfFilesInMetaObject?: boolean;
657659
/** If the adapter should be automatically upgraded and which version ranges are supported */
658660
automaticUpgrade?: AutoUpgradePolicy;
659661
/** Possible values for the instance mode (if more than one is possible) */

schemas/io-package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -874,6 +874,10 @@
874874
}
875875
}
876876
},
877+
"allowDeletionOfFilesInMetaObject": {
878+
"description": "If true, allows deletion of meta files without user confirmation when deleting adapter instances",
879+
"type": "boolean"
880+
},
877881
"automaticUpgrade": {
878882
"description": "Automatically upgrade the adapter in the configured semver range. Best practice is to leave this as none and let the user opt-in.",
879883
"type": "string",

0 commit comments

Comments
 (0)