Skip to content

Manifest ​

Class

constructor ​

collection ​

typescript
public collection(name: Parameter, config: Parameter): Promise<any>
public collection(name: Parameter, config: Parameter): Promise<any>

collections ​

typescript
public collections(): Promise<any>
public collections(): Promise<any>

commitMigration ​

typescript
public commitMigration(migration: Parameter): Promise<any>
public commitMigration(migration: Parameter): Promise<any>

getEditor ​

typescript
public getEditor(collection: Parameter): Promise<any>
public getEditor(collection: Parameter): Promise<any>

getHooks ​

typescript
public getHooks(collection: Parameter): Promise<any>
public getHooks(collection: Parameter): Promise<any>

getLastMigrationCommit ​

typescript
public getLastMigrationCommit(): Promise<any>
public getLastMigrationCommit(): Promise<any>

getMigration ​

typescript
public getMigration(version: Parameter): Promise<any>
public getMigration(version: Parameter): Promise<any>

getSchemaRef ​

typescript
public getSchemaRef(name: Parameter): Promise<any>
public getSchemaRef(name: Parameter): Promise<any>

getSchemaRefUsages ​

typescript
public getSchemaRefUsages(refName: Parameter): Promise<any>
public getSchemaRefUsages(refName: Parameter): Promise<any>

init ​

typescript
public init(): Promise<any>
public init(): Promise<any>

removeCollection ​

typescript
public removeCollection(name: Parameter): Promise<any>
public removeCollection(name: Parameter): Promise<any>

renameCollection ​

typescript
public renameCollection(from: Parameter, to: Parameter): Promise<any>
public renameCollection(from: Parameter, to: Parameter): Promise<any>

renameSchemaRef ​

typescript
public renameSchemaRef(from: Parameter, to: Parameter): Promise<any>
public renameSchemaRef(from: Parameter, to: Parameter): Promise<any>

save ​

typescript
public save(): Promise<any>
public save(): Promise<any>

schemaRef ​

typescript
public schemaRef(name: Parameter, ref: Parameter): Promise<any>
public schemaRef(name: Parameter, ref: Parameter): Promise<any>

schemaRefs ​

typescript
public schemaRefs(): Promise<any>
public schemaRefs(): Promise<any>

setEditor ​

typescript
public setEditor(collection: Parameter, editor: Parameter): Promise<any>
public setEditor(collection: Parameter, editor: Parameter): Promise<any>

setHooks ​

typescript
public setHooks(collection: Parameter, hooks: Parameter): Promise<any>
public setHooks(collection: Parameter, hooks: Parameter): Promise<any>

getDirectory ​

typescript
public getDirectory(): Promise<any>
public getDirectory(): Promise<any>