mongosuper
Version:
mongosuper is a superset of mongoose. It is a wrapper around mongoose. It manage your mongoose connection and keep it alive always. It also provide you some extra features like CRUD operations, etc.
14 lines • 807 B
TypeScript
type globe = any;
type bool = boolean;
/**
* This function creates a new schema object based on the provided data, and returns it or undefined if
* there was an error.
* @param {globe} Data - The parameter `Data` is of type `globe`, which is not a standard JavaScript
* type. It is likely a custom type defined elsewhere in the codebase. Without knowing the definition
* of `globe`, it is difficult to determine what kind of data this parameter expects.
* @returns The function `CreateSchema` is returning either an instance of the `Schema` class created
* with the `Data` parameter, or `undefined` if an error occurs during the creation of the schema.
*/
export declare function CreateSchema(Data: globe, isTimeStamps: bool): undefined | globe;
export {};
//# sourceMappingURL=CreateSchema.d.ts.map