Files
ANDJJJJJJ/server/node_modules/node-appwrite/dist/id.d.mts

23 lines
472 B
TypeScript

/**
* Helper class to generate ID strings for resources.
*/
declare class ID {
#private;
/**
* Uses the provided ID as the ID for the resource.
*
* @param {string} id
* @returns {string}
*/
static custom(id: string): string;
/**
* Have Appwrite generate a unique ID for you.
*
* @param {number} padding. Default is 7.
* @returns {string}
*/
static unique(padding?: number): string;
}
export { ID };