type
DraftGlobalSlug
Global slugs with the generated drafts capability.
Full signature
type DraftGlobalSlug<Config extends RiduConfigShape> = {
[Slug in GlobalSlug<Config>]: GlobalContractFor<Config, Slug>["drafts"] extends true
? Slug
: never;
}[GlobalSlug<Config>]Related types
RiduConfigShapeThe minimum generated contract shape consumed by the SDK.
GlobalSlugThe generated union of global slugs.
GlobalContractForResolve the generated contract for one global slug.