From 046963468b7baf76005b59cbdeefdf20a443695b Mon Sep 17 00:00:00 2001 From: david Date: Wed, 3 May 2023 07:32:58 -0400 Subject: [PATCH] clean module entry point Signed-off-by: david --- sdk/mod.ts | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/sdk/mod.ts b/sdk/mod.ts index 45508e2..9552a21 100644 --- a/sdk/mod.ts +++ b/sdk/mod.ts @@ -1,18 +1,9 @@ /// -import { StateRecord } from "./mashin.d.ts"; - export class Mashin {} +export { Resource, Provider } from "./resource.ts"; +export type { ResourceName, ResourceOptions } from "./resource.ts"; +export type { Inputs, Outputs } from "./output.ts"; +export { getFileName } from "./download.ts"; -export abstract class Backend { - abstract name: string; - abstract version: string; - config: T; - abstract save(encryptedState: StateRecord): Promise; - abstract load(): Promise; - abstract close(): Promise; - - constructor(config: T) { - this.config = config; - } -} +export abstract class Backend {}