@serialized/serialized-client
Advanced tools
Comparing version 0.1.0 to 0.1.1
import { AxiosInstance } from "axios"; | ||
import SerializedConfig from "./serialized-config"; | ||
import { SerializedConfig } from "./serialized-config"; | ||
import { LoadAggregateResponse } from "./types"; | ||
import BaseClient from "./base-client"; | ||
import AggregateRoot from "./model/aggregate-root"; | ||
export default class AggregateClient extends BaseClient { | ||
export declare class AggregateClient extends BaseClient { | ||
constructor(axiosClient: AxiosInstance, config: SerializedConfig); | ||
@@ -8,0 +8,0 @@ load(aggregateType: string, aggregateId: string, since?: number, limit?: number): Promise<LoadAggregateResponse>; |
@@ -108,2 +108,2 @@ "use strict"; | ||
}(base_client_1.default)); | ||
exports.default = AggregateClient; | ||
exports.AggregateClient = AggregateClient; |
import { AxiosInstance, AxiosRequestConfig } from "axios"; | ||
import SerializedConfig from "./serialized-config"; | ||
import { SerializedConfig } from "./serialized-config"; | ||
export default class BaseClient { | ||
@@ -4,0 +4,0 @@ protected axiosClient: AxiosInstance; |
import { AxiosInstance } from "axios"; | ||
import { LoadFeedResponse } from "./types"; | ||
import SerializedConfig from "./serialized-config"; | ||
import { SerializedConfig } from "./serialized-config"; | ||
import BaseClient from "./base-client"; | ||
export default class FeedClient extends BaseClient { | ||
export declare class FeedClient extends BaseClient { | ||
constructor(axiosClient: AxiosInstance, config: SerializedConfig); | ||
loadFeed(feedName: string): Promise<LoadFeedResponse>; | ||
} |
@@ -73,2 +73,2 @@ "use strict"; | ||
}(base_client_1.default)); | ||
exports.default = FeedClient; | ||
exports.FeedClient = FeedClient; |
import { AxiosInstance } from "axios"; | ||
import SerializedConfig from "./serialized-config"; | ||
import { SerializedConfig } from "./serialized-config"; | ||
import { ListSingleProjectionsResponse, LoadProjectionDefinitionResponse, LoadSingleProjectionResponse } from "./types"; | ||
import BaseClient from "./base-client"; | ||
export default class ProjectionsClient extends BaseClient { | ||
export declare class ProjectionsClient extends BaseClient { | ||
constructor(axiosClient: AxiosInstance, config: SerializedConfig); | ||
@@ -7,0 +7,0 @@ getSingleProjection(projectionName: string, projectionId: string): Promise<LoadSingleProjectionResponse>; |
@@ -103,2 +103,2 @@ "use strict"; | ||
}(base_client_1.default)); | ||
exports.default = ProjectionsClient; | ||
exports.ProjectionsClient = ProjectionsClient; |
@@ -1,4 +0,4 @@ | ||
export default interface SerializedConfig { | ||
export interface SerializedConfig { | ||
accessKey: string; | ||
secretAccessKey: string; | ||
} |
{ | ||
"name": "@serialized/serialized-client", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"files": ["dist/**/*"], | ||
"files": [ | ||
"dist/**/*" | ||
], | ||
"scripts": { | ||
@@ -8,0 +10,0 @@ "test": "jest", |
28789
603