DocumentationTypesInterfaces

Payload Locked Document

amerta


amerta / payload-types / PayloadLockedDocument

Interface: PayloadLockedDocument

Defined in: payload-types.ts:3399

This interface was referenced by Config's JSON-Schema via the definition "payload-locked-documents".

Properties

createdAt

createdAt: string

Defined in: payload-types.ts:3553


document?

optional document: { relationTo: "products"; value: string | Product; } | { relationTo: "collections"; value: string | Collection; } | { relationTo: "product-brands"; value: string | ProductBrand; } | { relationTo: "product-tags"; value: string | ProductTag; } | { relationTo: "product-options"; value: string | ProductOption; } | { relationTo: "product-media"; value: string | ProductMedia; } | { relationTo: "product-reviews"; value: string | ProductReview; } | { relationTo: "pages"; value: string | Page; } | { relationTo: "posts"; value: string | Post; } | { relationTo: "categories"; value: string | Category; } | { relationTo: "tags"; value: string | Tag; } | { relationTo: "translations"; value: string | Translation; } | { relationTo: "store"; value: string | Store; } | { relationTo: "sales-channel"; value: string | SalesChannel; } | { relationTo: "orders"; value: string | Order; } | { relationTo: "customers"; value: string | Customer; } | { relationTo: "customer-groups"; value: string | CustomerGroup; } | { relationTo: "customer-tags"; value: string | CustomerTag; } | { relationTo: "users"; value: string | User; } | { relationTo: "menu"; value: string | Menu; } | { relationTo: "media"; value: string | Media; } | { relationTo: "currency"; value: string | Currency; } | { relationTo: "country"; value: string | Country; } | { relationTo: "tax-rate"; value: string | TaxRate; } | { relationTo: "shipping"; value: string | Shipping; } | { relationTo: "payment-method"; value: string | PaymentMethod; } | { relationTo: "payments"; value: string | Payment; } | { relationTo: "cart"; value: string | Cart; } | { relationTo: "cart-rules"; value: string | CartRule; } | { relationTo: "wishlist"; value: string | Wishlist; } | { relationTo: "coupons"; value: string | Coupon; } | { relationTo: "email-templates"; value: string | EmailTemplate; } | { relationTo: "redirects"; value: string | Redirect; } | { relationTo: "forms"; value: string | Form; } | { relationTo: "form-submissions"; value: string | FormSubmission; } | null

Defined in: payload-types.ts:3401


globalSlug?

optional globalSlug: string | null

Defined in: payload-types.ts:3542


id

id: string

Defined in: payload-types.ts:3400


updatedAt

updatedAt: string

Defined in: payload-types.ts:3552


user

user: { relationTo: "customers"; value: string | Customer; } | { relationTo: "users"; value: string | User; }

Defined in: payload-types.ts:3543