@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
27 lines • 862 B
text/typescript
import { BaseRecord, TagValue, TagsBase } from "../../../storage/BaseRecord.mjs";
import "../../../index.mjs";
//#region src/modules/generic-records/repository/GenericRecord.d.ts
export type GenericRecordTags = TagsBase;
export interface GenericRecordStorageProps {
id?: string;
createdAt?: Date;
tags?: GenericRecordTags;
content: Record<string, unknown>;
}
export interface SaveGenericRecordOption {
content: Record<string, unknown>;
id?: string;
tags?: GenericRecordTags;
}
export 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
//# sourceMappingURL=GenericRecord.d.mts.map