UNPKG

@prismicio/client

Version:

The official JavaScript + TypeScript client library for Prismic

22 lines (20 loc) 691 B
import { CustomTypeModelSliceType } from "./sliceZone.js"; import { SharedSliceModelVariation } from "./sharedSliceVariation.js"; //#region src/types/model/sharedSlice.d.ts /** * A Prismic shared Slice model. * * More details: {@link https://prismic.io/docs/slice} * * @typeParam Variation - A variation for the shared Slice. */ interface SharedSliceModel<ID extends string = string, Variation extends SharedSliceModelVariation = SharedSliceModelVariation> { type: typeof CustomTypeModelSliceType.SharedSlice; id: ID; name: string; description?: string; variations: readonly Variation[]; } //#endregion export { SharedSliceModel }; //# sourceMappingURL=sharedSlice.d.ts.map