Skip to content

Commit

Permalink
feat: Add metadata to schema (#207)
Browse files Browse the repository at this point in the history
* Add metadata to schema

* Rename

* export
  • Loading branch information
swetapadmanabhan authored Feb 21, 2024
1 parent 5f6c4a4 commit 275fd9f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ export type SchemaProperties = {
export type SchemaMixin = {
$ref: string;
};
export type SchemaMetadata = { entity_event: boolean };
export interface Schema {
properties: SchemaProperties;
default_projections: string[];
Expand All @@ -219,6 +220,7 @@ export interface Schema {
system_projections?: string[];
alias_for?: string | Data;
$mixin?: SchemaMixin;
metadata?: SchemaMetadata;
}
export interface QueryOptions {
abortController?: AbortController;
Expand Down

0 comments on commit 275fd9f

Please sign in to comment.