@azure/cosmos
Version:
Microsoft Azure Cosmos DB Service Node.js SDK for NOSQL API
11 lines • 466 B
TypeScript
import type { PermissionMode } from "../../documents/index.js";
export interface PermissionDefinition {
/** The id of the permission */
id: string;
/** The mode of the permission, must be a value of {@link PermissionMode} */
permissionMode: PermissionMode;
/** The link of the resource that the permission will be applied to. */
resource: string;
resourcePartitionKey?: string | any[];
}
//# sourceMappingURL=PermissionDefinition.d.ts.map