Skip to the content.

Untitled object in script schema version Schema

script.schema.json#/definitions/compiler_declaration/properties/module
Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Can be instantiated No Unknown status No Forbidden Forbidden none script.schema.json*

module Type

object (Details)

module Properties

Property Type Required Nullable Defined by
purge boolean Optional cannot be null JSON Schema Definitions File.
load array Optional cannot be null JSON Schema Definitions File.
restore string Optional cannot be null JSON Schema Definitions File.
swap array Optional cannot be null JSON Schema Definitions File.

purge

Run module purge if purge is set

purge

purge Type

boolean

load

Load one or more modules via module load

load

load Type

string[]

load Constraints

minimum number of items: the minimum number of items for this array is: 1

unique items: all items in this array must be unique. Duplicates are not allowed.

restore

Load a collection name via module restore

restore

restore Type

string

swap

Swap modules using module swap. The swap property expects 2 unique modules.

swap

swap Type

string[]

swap Constraints

maximum number of items: the maximum number of items for this array is: 2

minimum number of items: the minimum number of items for this array is: 2

unique items: all items in this array must be unique. Duplicates are not allowed.