UNPKG

@youngshand/payload-auth-plugin

Version:

A temporary fork for testing of Authentication plugin for Payload CMS, use @payload-auth-plugin

19 lines 785 B
import { CollectionConfig, Field } from "payload"; /** * A higher order function that takes the collection config for the argument * @param incomingCollection * @returns {CollectionConfig} */ export declare const withAppUsersCollection: (incomingCollection: Omit<CollectionConfig, "fields"> & { fields?: Field[] | undefined; }) => CollectionConfig; /** * A higher order function that takes the collection config and a Users collection slug for the arguments * @param incomingCollection * @param userCollectionSlug * @returns {CollectionConfig} */ export declare const withAppAccountCollection: (incomingCollection: Omit<CollectionConfig, "fields"> & { fields?: Field[] | undefined; }, usersCollectionSlug: string) => CollectionConfig; //# sourceMappingURL=app.d.ts.map