SerializedResource type
The JSON-serialized representation of a resource as stored in the Design Document.
Signature:
type SerializedResource<TOptions extends KeyValueObject = KeyValueObject, TSources extends KeyValueObject = KeyValueObject> = {
id: string;
metadata: KeyValueObject;
options: TOptions;
sources: TSources;
type: string;
};