UNPKG

@contentstack/management

Version:

The Content Management API is used to manage the content of your Contentstack account

19 lines (14 loc) 653 B
import { AnyProperty, SystemFields } from "../../utility/fields"; import { ContentstackCollection } from '../../contentstackCollection' import { SystemFunction } from "../../utility/operations"; export interface StackRoleMapping extends StackRoleMappingData { update(data:StackRoleMappingData): Promise<AnyProperty> } export interface StackRoleMappings extends StackRoleMappingData { fetchAll(params?: AnyProperty): Promise<ContentstackCollection<StackRoleMappings>> add(data: StackRoleMappingData): Promise<StackRoleMappings> } export interface StackRoleMappingData extends AnyProperty { stackApiKey?: string, roles: string[] }