Complete Email Sortierer implementation with Appwrite and Stripe integration
This commit is contained in:
45
server/node_modules/node-appwrite/dist/permission.d.mts
generated
vendored
Normal file
45
server/node_modules/node-appwrite/dist/permission.d.mts
generated
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
/**
|
||||
* Helper class to generate permission strings for resources.
|
||||
*/
|
||||
declare class Permission {
|
||||
/**
|
||||
* Generate read permission string for the provided role.
|
||||
*
|
||||
* @param {string} role
|
||||
* @returns {string}
|
||||
*/
|
||||
static read: (role: string) => string;
|
||||
/**
|
||||
* Generate write permission string for the provided role.
|
||||
*
|
||||
* This is an alias of update, delete, and possibly create.
|
||||
* Don't use write in combination with update, delete, or create.
|
||||
*
|
||||
* @param {string} role
|
||||
* @returns {string}
|
||||
*/
|
||||
static write: (role: string) => string;
|
||||
/**
|
||||
* Generate create permission string for the provided role.
|
||||
*
|
||||
* @param {string} role
|
||||
* @returns {string}
|
||||
*/
|
||||
static create: (role: string) => string;
|
||||
/**
|
||||
* Generate update permission string for the provided role.
|
||||
*
|
||||
* @param {string} role
|
||||
* @returns {string}
|
||||
*/
|
||||
static update: (role: string) => string;
|
||||
/**
|
||||
* Generate delete permission string for the provided role.
|
||||
*
|
||||
* @param {string} role
|
||||
* @returns {string}
|
||||
*/
|
||||
static delete: (role: string) => string;
|
||||
}
|
||||
|
||||
export { Permission };
|
||||
Reference in New Issue
Block a user