@prismicio/client
Version:
The official JavaScript + TypeScript client library for Prismic
22 lines (20 loc) • 694 B
text/typescript
import { CustomTypeModelSliceType } from "./sliceZone.cjs";
import { SharedSliceModelVariation } from "./sharedSliceVariation.cjs";
//#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.cts.map