UNPKG

@credo-ts/core

Version:

<p align="center"> <br /> <img alt="Credo Logo" src="https://github.com/openwallet-foundation/credo-ts/blob/c7886cb8377ceb8ee4efe8d264211e561a75072d/images/credo-logo.png" height="250px" /> </p> <h1 align="center"><b>Credo - Core</b></h1

29 lines (28 loc) • 932 B
import { BaseRecord, TagValue, TagsBase } from "../../../storage/BaseRecord.mjs"; import "../../../index.mjs"; //#region src/modules/generic-records/repository/GenericRecord.d.ts type GenericRecordTags = TagsBase; interface GenericRecordStorageProps { id?: string; createdAt?: Date; tags?: GenericRecordTags; content: Record<string, unknown>; } interface SaveGenericRecordOption { content: Record<string, unknown>; id?: string; tags?: GenericRecordTags; } declare class GenericRecord extends BaseRecord<GenericRecordTags> { content: Record<string, unknown>; static readonly type = "GenericRecord"; readonly type = "GenericRecord"; constructor(props: GenericRecordStorageProps); getTags(): { [key: string]: TagValue; [key: number]: never; }; } //#endregion export { GenericRecord, GenericRecordStorageProps, GenericRecordTags, SaveGenericRecordOption }; //# sourceMappingURL=GenericRecord.d.mts.map