@esb-market-contracts/admin-backend 1.0.0 → 1.0.2

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.
Files changed (3) hide show
  1. package/hono.d.ts +42 -0
  2. package/package.json +1 -1
  3. package/types.d.ts +7 -40
package/hono.d.ts CHANGED
@@ -1,3 +1,45 @@
1
1
  // Generated by dts-bundle-generator v9.5.1
2
2
 
3
+ declare const SUCCESS_STATUS_CODES: readonly [
4
+ 200,
5
+ 201,
6
+ 202,
7
+ 307
8
+ ];
9
+ declare const EXCEPTION_STATUS_CODES: readonly [
10
+ 400,
11
+ 401,
12
+ 403,
13
+ 404,
14
+ 405,
15
+ 409,
16
+ 500
17
+ ];
18
+ export type SuccessStatusCode = (typeof SUCCESS_STATUS_CODES)[number];
19
+ export type ExceptionStatusCode = (typeof EXCEPTION_STATUS_CODES)[number];
20
+ declare const playgroundRouter: import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, {
21
+ "/playground": {
22
+ $get: {
23
+ input: {};
24
+ output: {
25
+ kind: "error";
26
+ status: ExceptionStatusCode;
27
+ error: string;
28
+ } | {
29
+ kind: "data";
30
+ status: SuccessStatusCode;
31
+ data: {
32
+ message: string;
33
+ };
34
+ };
35
+ outputFormat: "json";
36
+ status: 200 | 201 | 202 | 307 | 400 | 401 | 403 | 404 | 405 | 409 | 500;
37
+ };
38
+ };
39
+ }, "/playground", "/playground">;
40
+
41
+ export {
42
+ playgroundRouter as PlaygroundRouter,
43
+ };
44
+
3
45
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esb-market-contracts/admin-backend",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "sideEffects": false,
package/types.d.ts CHANGED
@@ -1,45 +1,12 @@
1
1
  // Generated by dts-bundle-generator v9.5.1
2
2
 
3
- declare const SUCCESS_STATUS_CODES: readonly [
4
- 200,
5
- 201,
6
- 202,
7
- 307
8
- ];
9
- declare const EXCEPTION_STATUS_CODES: readonly [
10
- 400,
11
- 401,
12
- 403,
13
- 404,
14
- 405,
15
- 409,
16
- 500
17
- ];
18
- export type SuccessStatusCode = (typeof SUCCESS_STATUS_CODES)[number];
19
- export type ExceptionStatusCode = (typeof EXCEPTION_STATUS_CODES)[number];
20
- declare const playgroundRouter: import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, {
21
- "/playground": {
22
- $get: {
23
- input: {};
24
- output: {
25
- kind: "error";
26
- status: ExceptionStatusCode;
27
- error: string;
28
- } | {
29
- kind: "data";
30
- status: SuccessStatusCode;
31
- data: {
32
- message: string;
33
- };
34
- };
35
- outputFormat: "json";
36
- status: 200 | 201 | 202 | 307 | 400 | 401 | 403 | 404 | 405 | 409 | 500;
37
- };
38
- };
39
- }, "/playground", "/playground">;
40
-
41
- export {
42
- playgroundRouter as PlaygroundRouter,
3
+ export type SomeType = {
4
+ someFunction: (input: string) => Promise<string>;
5
+ anotherFunction: (input: number) => Promise<number>;
43
6
  };
7
+ export interface SomeInterface {
8
+ someProperty: string;
9
+ anotherProperty: number;
10
+ }
44
11
 
45
12
  export {};