@shapediver/sdk.sdtf-core
Version:
Base implementation for all sdTF TypeScript SDKs
11 lines • 732 B
TypeScript
import { ISdtfAttribute, ISdtfAttributes } from '../../structure/components/ISdtfAttributes';
import { ISdtfBaseReadableComponent, SdtfReadableBase } from './ISdtfBaseReadableComponent';
import { ISdtfReadableTypeHint } from './ISdtfReadableTypeHint';
export interface ISdtfReadableAttributes extends ISdtfBaseReadableComponent, Omit<SdtfReadableBase<ISdtfAttributes>, 'entries'> {
entries: Record<string, ISdtfReadableAttribute>;
}
export interface ISdtfReadableAttribute extends Omit<ISdtfBaseReadableComponent, 'componentId'>, Omit<ISdtfAttribute, 'toJson' | 'accessor' | 'typeHint' | 'value'> {
typeHint?: ISdtfReadableTypeHint;
getContent(): Promise<unknown>;
}
//# sourceMappingURL=ISdtfReadableAttributes.d.ts.map