@luxuryescapes/contract-svc-lab-v2 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.
- package/dist/index.d.ts +4 -0
- package/dist/index.js +1 -0
- package/dist/server.d.ts +69 -0
- package/dist/server.js +5 -0
- package/package.json +22 -0
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/server.d.ts
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by openapi-typescript.
|
|
3
|
+
* Do not make direct changes to the file.
|
|
4
|
+
*/
|
|
5
|
+
export interface paths {
|
|
6
|
+
"/api/lab/v2/admin/audiences": {
|
|
7
|
+
/** Create an empty audience */
|
|
8
|
+
post: operations["createAudience"];
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export interface components {
|
|
12
|
+
schemas: {};
|
|
13
|
+
}
|
|
14
|
+
export interface operations {
|
|
15
|
+
/** Create an empty audience */
|
|
16
|
+
createAudience: {
|
|
17
|
+
parameters: {
|
|
18
|
+
header: {
|
|
19
|
+
/** Cookie */
|
|
20
|
+
Cookie: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
responses: {
|
|
24
|
+
/** 201 response */
|
|
25
|
+
201: {
|
|
26
|
+
content: {
|
|
27
|
+
"application/json": {
|
|
28
|
+
status: 201;
|
|
29
|
+
message: string;
|
|
30
|
+
result: {
|
|
31
|
+
id: number;
|
|
32
|
+
name: string;
|
|
33
|
+
description: string | null;
|
|
34
|
+
system: boolean;
|
|
35
|
+
/** Format: date-time */
|
|
36
|
+
created_at: string;
|
|
37
|
+
/** Format: date-time */
|
|
38
|
+
updated_at: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
/** 400 response */
|
|
44
|
+
400: {
|
|
45
|
+
content: {
|
|
46
|
+
"application/json": {
|
|
47
|
+
status: 400;
|
|
48
|
+
message: string;
|
|
49
|
+
errors?: {
|
|
50
|
+
message: string;
|
|
51
|
+
path?: string;
|
|
52
|
+
}[];
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
/** payload */
|
|
58
|
+
requestBody: {
|
|
59
|
+
content: {
|
|
60
|
+
"application/json": {
|
|
61
|
+
name: string;
|
|
62
|
+
description?: string | null;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
export interface external {
|
|
69
|
+
}
|
package/dist/server.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@luxuryescapes/contract-svc-lab-v2",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist"
|
|
8
|
+
],
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"repository": "git@github.com:lux-group/svc-lab-v2.git",
|
|
12
|
+
"author": "@lux-group/team-cx-platform",
|
|
13
|
+
"devDependencies": {
|
|
14
|
+
"rimraf": "6.1.3",
|
|
15
|
+
"typescript": "^7.0.2"
|
|
16
|
+
},
|
|
17
|
+
"scripts": {
|
|
18
|
+
"build": "tsc --project ./tsconfig.build.json",
|
|
19
|
+
"prebuild": "rimraf dist",
|
|
20
|
+
"prepublishOnly": "yarn install && yarn build"
|
|
21
|
+
}
|
|
22
|
+
}
|