From cae75db4e5f98a1199c1b2c7cdb4ebd77cd1f174 Mon Sep 17 00:00:00 2001 From: Alan Bridgeman Date: Mon, 14 Oct 2024 17:51:59 -0500 Subject: [PATCH] =?UTF-8?q?Forgot=20a=20few=20minor=20things=20about=20pac?= =?UTF-8?q?kaging=20for=20use=20inside=20other=20projects=20=F0=9F=98=80.?= =?UTF-8?q?=20Should=20be=20good=20now=20though.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.ts | 15 +++++++++++++++ tsconfig.json | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 src/index.ts diff --git a/src/index.ts b/src/index.ts new file mode 100644 index 0000000..09e3d21 --- /dev/null +++ b/src/index.ts @@ -0,0 +1,15 @@ +import { API, APICredentials } from './API'; +import { Campaign } from './Campaign'; +import { Template } from './Template'; +import { Subscriber } from './Subscriber'; +import { List } from './List'; + + +export { + API, + APICredentials, + Campaign, + Template, + Subscriber, + List +} \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index dce8ba8..e0962b6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -50,7 +50,7 @@ // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */ /* Emit */ - // "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ + "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ // "declarationMap": true, /* Create sourcemaps for d.ts files. */ // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ // "sourceMap": true, /* Create source map files for emitted JavaScript files. */