UNPKG

@tapcart/app-studio-utils

Version:

A utility library for Tapcart's App Studio

33 lines 807 B
export type ComponentCommitDetails = { componentHistoryId: string; timestamp: Date; author: string; }; export type AppStudioComponent = { _id: string; createdAt: Date; updatedAt: Date; owner: Owner; label: string; key: string; code: string; transpiledCode: string; manifestOptionsList: ManifestOption[]; manifestConfig: MappedManifestValues; componentHistoryId: string; latestCommit?: ComponentCommitDetails; versions: string[]; }; export type Owner = TapcartOwner | AppOwner; type TapcartOwner = { type: "tapcart"; }; type AppOwner = { id: string; type: "app"; }; export type ManifestOption = any; export type MappedManifestValues = any; export type BlockScope = Record<string, any>; export {}; //# sourceMappingURL=types.d.ts.map