Name of key for JSON store or filename for file store.
DeleteOptions.
WARNING: Removes collection and all associated data.
Cannot be undone. Any in-flight changes to collection data will error.
Retrieve data based on type and scope in options.
Defaults to DataType.Json and DataScope.Skill.
Name of key for JSON store or filename for file store.
GetOptions.
Collection type and name are unique across all organization skills.
After first time create, can only update cache expiration settings.
Returns an array of DataItem based on type and scope in options.
Defaults to DataType.Json and DataScope.Skill.
ListOptions.
Search data based on type and scope in options.
Filename.
SearchOptions.
Sets data based on type and scope in options.
Defaults to DataType.Json and DataScope.Skill.
Name of key for JSON store or filename for file store.
SaveOptions.
Generated using TypeDoc
Delete data based on
typeandscopein options.{TypeError} when
keyOrFilenameis missing.Deleting Skill or Organization scope file or JSON store data from within a skill code
// Ensure you import DataPowers import { DataPowers, DataScope, DataTypes } from "@andi/powers"; await DataPowers.delete("keyName", { type: DataType.File }); await DataPowers.delete("keyName", { scope: DataScope.Organization });