@shapediver/sdk.sdtf-core
Version:
Base implementation for all sdTF TypeScript SDKs
9 lines • 399 B
TypeScript
import { ISdtfBaseComponent } from '../../structure/components/ISdtfBaseComponent';
export type SdtfWriteableBase<T extends ISdtfBaseComponent> = Partial<Omit<T, 'toJson'>> & {
readonly componentId: string;
};
export interface ISdtfBaseWriteableComponent {
readonly componentId: string;
toDataObject(): Record<string, unknown>;
}
//# sourceMappingURL=ISdtfBaseWriteableComponent.d.ts.map