{"version":3,"file":"block_settings.cjs","names":[],"sources":["../src/block_settings.ts"],"sourcesContent":["/**\n * What part of block version should be locked against updates.\n *\n *   - `major` - 1.2.3 can be updated to 1.4.7\n *   - `minor` - 1.2.3 can be updated to 1.2.5\n *   - `patch` - version of the block is completely locked\n *\n * */\nexport type VersionLock = \"major\" | \"minor\" | \"patch\";\n\n/**\n * Block settings, persisted on the backend.\n *\n * Settings modulate different aspects of block behaviour,\n * currently only updates.\n * */\nexport type BlockSettings = {\n  /** Only version strictly greater that this one will be suggested for auto-update. */\n  skipVersion?: string;\n  /**\n   * If certain version locking policy is set, auto-updates will only be suggested,\n   * if there is an update within the specified release line.\n   * */\n  versionLock?: VersionLock;\n};\n\nexport const InitialBlockSettings: BlockSettings = {};\n"],"mappings":";AA0BA,MAAa,uBAAsC,CAAC"}