Skip to content

@grabm/abm / Variable: sourceMetadataSchema ​

ts
const sourceMetadataSchema: ZodObject<{
  hash: ZodOptional<ZodString>;
  id: ZodOptional<ZodString>;
  metadata: ZodDefault<ZodRecord<ZodString, ZodJSONSchema>>;
}, $strict>;

Optional caller-owned source identity; the library computes its own input hash.

Documentation for the grABM library.