@embark-black-book/api-contract 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3 @@
1
+ export * from './generated/api-types';
2
+ export * from './generated/api-client';
3
+ export * from './api-response-helpers';
package/dist/index.js ADDED
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+
3
+ const apiClient = require("./generated/api-client");
4
+ const responseHelpers = require("./api-response-helpers");
5
+
6
+ module.exports = {
7
+ ...apiClient,
8
+ ...responseHelpers,
9
+ };
package/package.json ADDED
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "@embark-black-book/api-contract",
3
+ "version": "0.1.0",
4
+ "description": "Type contract package generated from Blackbook by Embark Strapi OpenAPI",
5
+ "license": "UNLICENSED",
6
+ "exports": {
7
+ ".": {
8
+ "types": "./dist/index.d.ts",
9
+ "default": "./dist/index.js"
10
+ }
11
+ },
12
+ "main": "./dist/index.js",
13
+ "types": "./dist/index.d.ts",
14
+ "files": [
15
+ "dist"
16
+ ],
17
+ "scripts": {
18
+ "generate:client": "node ./scripts/generate-client.js",
19
+ "generate:types": "node ./scripts/generate-types.js",
20
+ "prepublishOnly": "npm run verify:publish",
21
+ "verify:publish": "node ./scripts/verify-package.js",
22
+ "watch:types": "node ./scripts/watch-contract-types.js"
23
+ },
24
+ "publishConfig": {
25
+ "access": "public"
26
+ }
27
+ }