Skip to content

Commit

Permalink
Merge branch 'development' of github.com:EyeSeeTea/d2-api into develo…
Browse files Browse the repository at this point in the history
…pment
  • Loading branch information
adrianq committed Jan 3, 2022
2 parents d1640b4 + 26e0722 commit 2d088f8
Show file tree
Hide file tree
Showing 17 changed files with 105,663 additions and 479 deletions.
1,011 changes: 584 additions & 427 deletions src/2.34/schemas.ts

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions src/2.35/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { D2ModelSchemas, models } from "./schemas";
import { MetadataPickBase, MetadataPayloadBase } from "../api/metadata";
import { D2ApiDefinitionBase, FilterBase } from "../api/common";
import { D2ApiVersioned, D2ApiOptions } from "../api/d2Api";

export * from "../api/index";
export * from "./schemas";

export interface D2ApiDefinition extends D2ApiDefinitionBase {
schemas: D2ModelSchemas;
filter: FilterBase;
}

export type MetadataPick<RootSelector> = MetadataPickBase<D2ApiDefinition, RootSelector>;
export type MetadataPayload = MetadataPayloadBase<D2ModelSchemas>;

export class D2Api extends D2ApiVersioned<D2ApiDefinition> {
public constructor(options?: D2ApiOptions) {
super(models, options);
}
}
Loading

0 comments on commit 2d088f8

Please sign in to comment.