@arkyn/types 1.2.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/api/DeleteDTO.d.ts +12 -0
- package/dist/api/DeleteDTO.d.ts.map +1 -0
- package/dist/api/DeleteDTO.js +1 -0
- package/dist/api/GetDTO.d.ts +16 -0
- package/dist/api/GetDTO.d.ts.map +1 -0
- package/dist/api/GetDTO.js +1 -0
- package/dist/api/GetProps.d.ts +10 -0
- package/dist/api/GetProps.d.ts.map +1 -0
- package/dist/api/GetProps.js +1 -0
- package/dist/api/InboxFlowConnectionProps.d.ts +6 -0
- package/dist/api/InboxFlowConnectionProps.d.ts.map +1 -0
- package/dist/api/InboxFlowConnectionProps.js +1 -0
- package/dist/api/InstanceConstructorProps.d.ts +11 -0
- package/dist/api/InstanceConstructorProps.d.ts.map +1 -0
- package/dist/api/InstanceConstructorProps.js +1 -0
- package/dist/api/PatchDTO.d.ts +12 -0
- package/dist/api/PatchDTO.d.ts.map +1 -0
- package/dist/api/PatchDTO.js +1 -0
- package/dist/api/PostDTO.d.ts +12 -0
- package/dist/api/PostDTO.d.ts.map +1 -0
- package/dist/api/PostDTO.js +1 -0
- package/dist/api/PutDTO.d.ts +12 -0
- package/dist/api/PutDTO.d.ts.map +1 -0
- package/dist/api/PutDTO.js +1 -0
- package/dist/api/ResponseDTO.d.ts +8 -0
- package/dist/api/ResponseDTO.d.ts.map +1 -0
- package/dist/api/ResponseDTO.js +1 -0
- package/dist/api/config/InboxFlowDTO.d.ts +6 -0
- package/dist/api/config/InboxFlowDTO.d.ts.map +1 -0
- package/dist/api/config/InboxFlowDTO.js +1 -0
- package/dist/api/config/RedisDTO.d.ts +7 -0
- package/dist/api/config/RedisDTO.d.ts.map +1 -0
- package/dist/api/config/RedisDTO.js +1 -0
- package/dist/api/config/ResponseDTO.d.ts +8 -0
- package/dist/api/config/ResponseDTO.d.ts.map +1 -0
- package/dist/api/config/ResponseDTO.js +1 -0
- package/dist/bundle.js +1 -0
- package/dist/bundle.umd.cjs +1 -0
- package/dist/components/BadgeProps.d.ts +12 -0
- package/dist/components/BadgeProps.d.ts.map +1 -0
- package/dist/components/BadgeProps.js +1 -0
- package/dist/components/BreadcrumbProps.d.ts +8 -0
- package/dist/components/BreadcrumbProps.d.ts.map +1 -0
- package/dist/components/BreadcrumbProps.js +1 -0
- package/dist/components/ButtonProps.d.ts +14 -0
- package/dist/components/ButtonProps.d.ts.map +1 -0
- package/dist/components/ButtonProps.js +1 -0
- package/dist/components/DividerProps.d.ts +7 -0
- package/dist/components/DividerProps.d.ts.map +1 -0
- package/dist/components/DividerProps.js +1 -0
- package/dist/components/FormProps.d.ts +14 -0
- package/dist/components/FormProps.d.ts.map +1 -0
- package/dist/components/FormProps.js +1 -0
- package/dist/components/IconButtonProps.d.ts +13 -0
- package/dist/components/IconButtonProps.d.ts.map +1 -0
- package/dist/components/IconButtonProps.js +1 -0
- package/dist/components/InputProps.d.ts +37 -0
- package/dist/components/InputProps.d.ts.map +1 -0
- package/dist/components/InputProps.js +1 -0
- package/dist/components/ModalProps.d.ts +14 -0
- package/dist/components/ModalProps.d.ts.map +1 -0
- package/dist/components/ModalProps.js +1 -0
- package/dist/components/TooltipProps.d.ts +10 -0
- package/dist/components/TooltipProps.d.ts.map +1 -0
- package/dist/components/TooltipProps.js +1 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +22 -0
- package/dist/utils/CalculateCardInstallmentProps.d.ts +7 -0
- package/dist/utils/CalculateCardInstallmentProps.d.ts.map +1 -0
- package/dist/utils/CalculateCardInstallmentProps.js +1 -0
- package/package.json +25 -0
- package/src/api/DeleteDTO.ts +17 -0
- package/src/api/GetDTO.ts +23 -0
- package/src/api/InstanceConstructorProps.ts +14 -0
- package/src/api/PatchDTO.ts +22 -0
- package/src/api/PostDTO.ts +22 -0
- package/src/api/PutDTO.ts +22 -0
- package/src/api/config/InboxFlowDTO.ts +6 -0
- package/src/api/config/RedisDTO.ts +7 -0
- package/src/api/config/ResponseDTO.ts +9 -0
- package/src/components/BadgeProps.ts +15 -0
- package/src/components/BreadcrumbProps.ts +10 -0
- package/src/components/ButtonProps.ts +18 -0
- package/src/components/DividerProps.ts +9 -0
- package/src/components/FormProps.ts +22 -0
- package/src/components/IconButtonProps.ts +19 -0
- package/src/components/InputProps.ts +88 -0
- package/src/components/ModalProps.ts +18 -0
- package/src/components/TooltipProps.ts +12 -0
- package/src/index.ts +24 -0
- package/src/utils/CalculateCardInstallmentProps.ts +7 -0
- package/tsconfig.json +20 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import type { InboxFlowDTO } from "./config/InboxFlowDTO";
|
|
3
|
+
import type { ResponseDTO } from "./config/ResponseDTO";
|
|
4
|
+
type ConfigProps = {
|
|
5
|
+
headers?: RequestInit["headers"];
|
|
6
|
+
inbox_flow?: InboxFlowDTO;
|
|
7
|
+
token?: string;
|
|
8
|
+
};
|
|
9
|
+
type DeleteDTO = (url: string, config: ConfigProps) => Promise<ResponseDTO>;
|
|
10
|
+
type InstanceDeleteDTO = (url: string, config?: ConfigProps) => Promise<ResponseDTO>;
|
|
11
|
+
export type { DeleteDTO, InstanceDeleteDTO };
|
|
12
|
+
//# sourceMappingURL=DeleteDTO.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeleteDTO.d.ts","sourceRoot":"","sources":["../../src/api/DeleteDTO.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,UAAU,CAAC,EAAE,YAAY,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,KAAK,SAAS,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC;AAE5E,KAAK,iBAAiB,GAAG,CACvB,GAAG,EAAE,MAAM,EACX,MAAM,CAAC,EAAE,WAAW,KACjB,OAAO,CAAC,WAAW,CAAC,CAAC;AAE1B,YAAY,EAAE,SAAS,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import type { InboxFlowDTO } from "./config/InboxFlowDTO";
|
|
3
|
+
import type { RedisDTO } from "./config/RedisDTO";
|
|
4
|
+
import type { ResponseDTO } from "./config/ResponseDTO";
|
|
5
|
+
type ConfigProps = {
|
|
6
|
+
headers?: RequestInit["headers"];
|
|
7
|
+
token?: string;
|
|
8
|
+
cached?: boolean;
|
|
9
|
+
cached_type?: "url" | "url-token";
|
|
10
|
+
inbox_flow?: InboxFlowDTO;
|
|
11
|
+
redis_config?: RedisDTO;
|
|
12
|
+
};
|
|
13
|
+
type GetDTO = (url: string, config: ConfigProps) => Promise<ResponseDTO>;
|
|
14
|
+
type InstanceGetDTO = (url: string, config?: Omit<ConfigProps, "inbox_flow" | "redis_config">) => Promise<ResponseDTO>;
|
|
15
|
+
export type { GetDTO, InstanceGetDTO };
|
|
16
|
+
//# sourceMappingURL=GetDTO.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetDTO.d.ts","sourceRoot":"","sources":["../../src/api/GetDTO.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,KAAK,GAAG,WAAW,CAAC;IAElC,UAAU,CAAC,EAAE,YAAY,CAAC;IAC1B,YAAY,CAAC,EAAE,QAAQ,CAAC;CACzB,CAAC;AAEF,KAAK,MAAM,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC;AAEzE,KAAK,cAAc,GAAG,CACpB,GAAG,EAAE,MAAM,EACX,MAAM,CAAC,EAAE,IAAI,CAAC,WAAW,EAAE,YAAY,GAAG,cAAc,CAAC,KACtD,OAAO,CAAC,WAAW,CAAC,CAAC;AAE1B,YAAY,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import type { ResponseDTO } from "./ResponseDTO";
|
|
3
|
+
type ConfigDTO = {
|
|
4
|
+
cached: true;
|
|
5
|
+
cached_type: "url" | "url-token";
|
|
6
|
+
headers: RequestInit["headers"];
|
|
7
|
+
};
|
|
8
|
+
type GetProps = (url: string, config: ConfigDTO) => Promise<ResponseDTO>;
|
|
9
|
+
export type { GetProps };
|
|
10
|
+
//# sourceMappingURL=GetProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetProps.d.ts","sourceRoot":"","sources":["../../src/api/GetProps.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,KAAK,SAAS,GAAG;IACf,MAAM,EAAE,IAAI,CAAC;IACb,WAAW,EAAE,KAAK,GAAG,WAAW,CAAC;IACjC,OAAO,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;CACjC,CAAC;AAEF,KAAK,QAAQ,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC;AAEzE,YAAY,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InboxFlowConnectionProps.d.ts","sourceRoot":"","sources":["../../src/api/InboxFlowConnectionProps.ts"],"names":[],"mappings":"AAAA,KAAK,wBAAwB,GAAG;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,YAAY,EAAE,wBAAwB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { InboxFlowDTO } from "./config/InboxFlowDTO";
|
|
2
|
+
import type { RedisDTO } from "./config/RedisDTO";
|
|
3
|
+
type InstanceConstructorProps = {
|
|
4
|
+
base_url?: string;
|
|
5
|
+
cached?: boolean;
|
|
6
|
+
cached_type?: "url" | "url-token";
|
|
7
|
+
inbox_flow?: InboxFlowDTO;
|
|
8
|
+
redis_config?: RedisDTO;
|
|
9
|
+
};
|
|
10
|
+
export type { InstanceConstructorProps };
|
|
11
|
+
//# sourceMappingURL=InstanceConstructorProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InstanceConstructorProps.d.ts","sourceRoot":"","sources":["../../src/api/InstanceConstructorProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAElD,KAAK,wBAAwB,GAAG;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,KAAK,GAAG,WAAW,CAAC;IAElC,UAAU,CAAC,EAAE,YAAY,CAAC;IAC1B,YAAY,CAAC,EAAE,QAAQ,CAAC;CACzB,CAAC;AAEF,YAAY,EAAE,wBAAwB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import type { InboxFlowDTO } from "./config/InboxFlowDTO";
|
|
3
|
+
import type { ResponseDTO } from "./config/ResponseDTO";
|
|
4
|
+
type ConfigProps = {
|
|
5
|
+
headers?: RequestInit["headers"];
|
|
6
|
+
inbox_flow?: InboxFlowDTO;
|
|
7
|
+
token?: string;
|
|
8
|
+
};
|
|
9
|
+
type PatchDTO = (url: string, data: any, config: ConfigProps) => Promise<ResponseDTO>;
|
|
10
|
+
type InstancePatchDTO = (url: string, data: any, config?: ConfigProps) => Promise<ResponseDTO>;
|
|
11
|
+
export type { PatchDTO, InstancePatchDTO };
|
|
12
|
+
//# sourceMappingURL=PatchDTO.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PatchDTO.d.ts","sourceRoot":"","sources":["../../src/api/PatchDTO.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,UAAU,CAAC,EAAE,YAAY,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,KAAK,QAAQ,GAAG,CACd,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,GAAG,EACT,MAAM,EAAE,WAAW,KAChB,OAAO,CAAC,WAAW,CAAC,CAAC;AAE1B,KAAK,gBAAgB,GAAG,CACtB,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,GAAG,EACT,MAAM,CAAC,EAAE,WAAW,KACjB,OAAO,CAAC,WAAW,CAAC,CAAC;AAE1B,YAAY,EAAE,QAAQ,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import type { InboxFlowDTO } from "./config/InboxFlowDTO";
|
|
3
|
+
import type { ResponseDTO } from "./config/ResponseDTO";
|
|
4
|
+
type ConfigProps = {
|
|
5
|
+
headers?: RequestInit["headers"];
|
|
6
|
+
inbox_flow?: InboxFlowDTO;
|
|
7
|
+
token?: string;
|
|
8
|
+
};
|
|
9
|
+
type PostDTO = (url: string, data: any, config: ConfigProps) => Promise<ResponseDTO>;
|
|
10
|
+
type InstancePostDTO = (url: string, data: any, config?: ConfigProps) => Promise<ResponseDTO>;
|
|
11
|
+
export type { PostDTO, InstancePostDTO };
|
|
12
|
+
//# sourceMappingURL=PostDTO.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PostDTO.d.ts","sourceRoot":"","sources":["../../src/api/PostDTO.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,UAAU,CAAC,EAAE,YAAY,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,KAAK,OAAO,GAAG,CACb,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,GAAG,EACT,MAAM,EAAE,WAAW,KAChB,OAAO,CAAC,WAAW,CAAC,CAAC;AAE1B,KAAK,eAAe,GAAG,CACrB,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,GAAG,EACT,MAAM,CAAC,EAAE,WAAW,KACjB,OAAO,CAAC,WAAW,CAAC,CAAC;AAE1B,YAAY,EAAE,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import type { InboxFlowDTO } from "./config/InboxFlowDTO";
|
|
3
|
+
import type { ResponseDTO } from "./config/ResponseDTO";
|
|
4
|
+
type ConfigProps = {
|
|
5
|
+
headers?: RequestInit["headers"];
|
|
6
|
+
inbox_flow?: InboxFlowDTO;
|
|
7
|
+
token?: string;
|
|
8
|
+
};
|
|
9
|
+
type PutDTO = (url: string, data: any, config: ConfigProps) => Promise<ResponseDTO>;
|
|
10
|
+
type InstancePutDTO = (url: string, data: any, config?: ConfigProps) => Promise<ResponseDTO>;
|
|
11
|
+
export type { PutDTO, InstancePutDTO };
|
|
12
|
+
//# sourceMappingURL=PutDTO.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PutDTO.d.ts","sourceRoot":"","sources":["../../src/api/PutDTO.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,UAAU,CAAC,EAAE,YAAY,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,KAAK,MAAM,GAAG,CACZ,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,GAAG,EACT,MAAM,EAAE,WAAW,KAChB,OAAO,CAAC,WAAW,CAAC,CAAC;AAE1B,KAAK,cAAc,GAAG,CACpB,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,GAAG,EACT,MAAM,CAAC,EAAE,WAAW,KACjB,OAAO,CAAC,WAAW,CAAC,CAAC;AAE1B,YAAY,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ResponseDTO.d.ts","sourceRoot":"","sources":["../../src/api/ResponseDTO.ts"],"names":[],"mappings":"AAAA,KAAK,WAAW,CAAC,CAAC,GAAG,OAAO,IAAI;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IAEf,QAAQ,EAAE,CAAC,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,YAAY,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InboxFlowDTO.d.ts","sourceRoot":"","sources":["../../../src/api/config/InboxFlowDTO.ts"],"names":[],"mappings":"AAAA,KAAK,YAAY,GAAG;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,YAAY,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RedisDTO.d.ts","sourceRoot":"","sources":["../../../src/api/config/RedisDTO.ts"],"names":[],"mappings":"AAAA,KAAK,QAAQ,GAAG;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,YAAY,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ResponseDTO.d.ts","sourceRoot":"","sources":["../../../src/api/config/ResponseDTO.ts"],"names":[],"mappings":"AAAA,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IAEf,QAAQ,EAAE,GAAG,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,YAAY,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/bundle.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(n){typeof define=="function"&&define.amd?define(n):n()})(function(){"use strict"});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { LucideIcon } from "lucide-react";
|
|
2
|
+
import type { HTMLAttributes } from "react";
|
|
3
|
+
type BaseBadgeProps = HTMLAttributes<HTMLDivElement>;
|
|
4
|
+
type BadgeProps = BaseBadgeProps & {
|
|
5
|
+
size?: "md" | "lg";
|
|
6
|
+
variant?: "solid" | "outline" | "ghost";
|
|
7
|
+
scheme?: "primary" | "secondary" | "success" | "warning" | "danger" | "info";
|
|
8
|
+
leftIcon?: LucideIcon;
|
|
9
|
+
rightIcon?: LucideIcon;
|
|
10
|
+
};
|
|
11
|
+
export type { BadgeProps };
|
|
12
|
+
//# sourceMappingURL=BadgeProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BadgeProps.d.ts","sourceRoot":"","sources":["../../src/components/BadgeProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,KAAK,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAErD,KAAK,UAAU,GAAG,cAAc,GAAG;IACjC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;IACxC,MAAM,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAC;IAE7E,QAAQ,CAAC,EAAE,UAAU,CAAC;IACtB,SAAS,CAAC,EAAE,UAAU,CAAC;CACxB,CAAC;AAEF,YAAY,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { LinkProps } from "@remix-run/react";
|
|
2
|
+
import type { HTMLAttributes } from "react";
|
|
3
|
+
type BreadcrumbLinkProps = LinkProps & {
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
};
|
|
6
|
+
type BreadcrumbProps = HTMLAttributes<HTMLElement>;
|
|
7
|
+
export type { BreadcrumbProps, BreadcrumbLinkProps };
|
|
8
|
+
//# sourceMappingURL=BreadcrumbProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BreadcrumbProps.d.ts","sourceRoot":"","sources":["../../src/components/BreadcrumbProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,KAAK,mBAAmB,GAAG,SAAS,GAAG;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,KAAK,eAAe,GAAG,cAAc,CAAC,WAAW,CAAC,CAAC;AAEnD,YAAY,EAAE,eAAe,EAAE,mBAAmB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { LucideIcon } from "lucide-react";
|
|
2
|
+
import type { ButtonHTMLAttributes } from "react";
|
|
3
|
+
type BaseButtonProps = ButtonHTMLAttributes<HTMLButtonElement>;
|
|
4
|
+
type ButtonProps = BaseButtonProps & {
|
|
5
|
+
isLoading?: boolean;
|
|
6
|
+
loadingText?: string;
|
|
7
|
+
size?: "xs" | "sm" | "md" | "lg";
|
|
8
|
+
variant?: "solid" | "outline" | "ghost" | "invisible";
|
|
9
|
+
scheme?: "primary" | "success" | "warning" | "danger";
|
|
10
|
+
leftIcon?: LucideIcon;
|
|
11
|
+
rightIcon?: LucideIcon;
|
|
12
|
+
};
|
|
13
|
+
export type { ButtonProps };
|
|
14
|
+
//# sourceMappingURL=ButtonProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ButtonProps.d.ts","sourceRoot":"","sources":["../../src/components/ButtonProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAElD,KAAK,eAAe,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE/D,KAAK,WAAW,GAAG,eAAe,GAAG;IACnC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACjC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,WAAW,CAAC;IACtD,MAAM,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;IAEtD,QAAQ,CAAC,EAAE,UAAU,CAAC;IACtB,SAAS,CAAC,EAAE,UAAU,CAAC;CACxB,CAAC;AAEF,YAAY,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { HTMLAttributes } from "react";
|
|
2
|
+
type BaseDividerProps = HTMLAttributes<HTMLDivElement>;
|
|
3
|
+
type DividerProps = BaseDividerProps & {
|
|
4
|
+
orientation?: "horizontal" | "vertical";
|
|
5
|
+
};
|
|
6
|
+
export type { DividerProps };
|
|
7
|
+
//# sourceMappingURL=DividerProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DividerProps.d.ts","sourceRoot":"","sources":["../../src/components/DividerProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,KAAK,gBAAgB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEvD,KAAK,YAAY,GAAG,gBAAgB,GAAG;IACrC,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;CACzC,CAAC;AAEF,YAAY,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { HTMLAttributes, LabelHTMLAttributes, ReactNode, RefObject } from "react";
|
|
2
|
+
type FormControllerContextProps = {
|
|
3
|
+
error?: string;
|
|
4
|
+
inputRef: RefObject<HTMLInputElement>;
|
|
5
|
+
id: string;
|
|
6
|
+
};
|
|
7
|
+
type FormControllerProps = {
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
} & HTMLAttributes<HTMLElement>;
|
|
10
|
+
type FormLabelProps = {
|
|
11
|
+
showAsterisk?: boolean;
|
|
12
|
+
} & LabelHTMLAttributes<HTMLLabelElement>;
|
|
13
|
+
export type { FormControllerContextProps, FormControllerProps, FormLabelProps };
|
|
14
|
+
//# sourceMappingURL=FormProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormProps.d.ts","sourceRoot":"","sources":["../../src/components/FormProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,mBAAmB,EACnB,SAAS,EACT,SAAS,EACV,MAAM,OAAO,CAAC;AAEf,KAAK,0BAA0B,GAAG;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,SAAS,CAAC,gBAAgB,CAAC,CAAC;IACtC,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,KAAK,mBAAmB,GAAG;IACzB,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,cAAc,CAAC,WAAW,CAAC,CAAC;AAEhC,KAAK,cAAc,GAAG;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;AAE1C,YAAY,EAAE,0BAA0B,EAAE,mBAAmB,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { LucideIcon } from "lucide-react";
|
|
2
|
+
import type { ButtonHTMLAttributes } from "react";
|
|
3
|
+
type BaseIconButtonProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "aria-label">;
|
|
4
|
+
type IconButtonProps = BaseIconButtonProps & {
|
|
5
|
+
icon: LucideIcon;
|
|
6
|
+
"aria-label": string;
|
|
7
|
+
isLoading?: boolean;
|
|
8
|
+
size?: "xs" | "sm" | "md" | "lg";
|
|
9
|
+
variant?: "solid" | "outline" | "ghost" | "invisible";
|
|
10
|
+
scheme?: "primary" | "success" | "warning" | "danger";
|
|
11
|
+
};
|
|
12
|
+
export type { IconButtonProps };
|
|
13
|
+
//# sourceMappingURL=IconButtonProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconButtonProps.d.ts","sourceRoot":"","sources":["../../src/components/IconButtonProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAElD,KAAK,mBAAmB,GAAG,IAAI,CAC7B,oBAAoB,CAAC,iBAAiB,CAAC,EACvC,UAAU,GAAG,YAAY,CAC1B,CAAC;AAEF,KAAK,eAAe,GAAG,mBAAmB,GAAG;IAC3C,IAAI,EAAE,UAAU,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IAErB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACjC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,WAAW,CAAC;IACtD,MAAM,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;CACvD,CAAC;AAEF,YAAY,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { Replacement } from "@react-input/mask";
|
|
2
|
+
import type { LucideIcon } from "lucide-react";
|
|
3
|
+
import type { InputHTMLAttributes } from "react";
|
|
4
|
+
type InputBaseTypes = "button" | "color" | "date" | "datetime-local" | "email" | "file" | "hidden" | "image" | "month" | "number" | "password" | "range" | "reset" | "search" | "submit" | "tel" | "text" | "time" | "url" | "week";
|
|
5
|
+
type BaseInputProps<T extends string> = {
|
|
6
|
+
isLoading?: boolean;
|
|
7
|
+
isError?: boolean;
|
|
8
|
+
size?: "md" | "lg";
|
|
9
|
+
variant?: "solid" | "outline" | "underline";
|
|
10
|
+
prefix?: string | LucideIcon;
|
|
11
|
+
sufix?: string | LucideIcon;
|
|
12
|
+
leftIcon?: LucideIcon;
|
|
13
|
+
rightIcon?: LucideIcon;
|
|
14
|
+
type: T;
|
|
15
|
+
name: string;
|
|
16
|
+
} & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "prefix" | "type" | "name">;
|
|
17
|
+
type CurrencyInputProps = Omit<BaseInputProps<"currency">, "max" | "defaultValue" | "value" | "onChange"> & {
|
|
18
|
+
defaultValue?: number;
|
|
19
|
+
onChange?: (value: number) => void;
|
|
20
|
+
value?: number;
|
|
21
|
+
max?: number;
|
|
22
|
+
showCents?: boolean;
|
|
23
|
+
};
|
|
24
|
+
type MaskedInputProps = BaseInputProps<"masked"> & {
|
|
25
|
+
mask: string;
|
|
26
|
+
separate?: boolean;
|
|
27
|
+
replacement?: string | Replacement;
|
|
28
|
+
showMask?: boolean;
|
|
29
|
+
};
|
|
30
|
+
type CpfCnpjInputProps = Omit<BaseInputProps<"cpf-cpnj">, "value" | "defaultValue"> & {
|
|
31
|
+
defaultValue?: string;
|
|
32
|
+
value?: string;
|
|
33
|
+
};
|
|
34
|
+
type SimpleInputProps = BaseInputProps<InputBaseTypes>;
|
|
35
|
+
type InputProps = CurrencyInputProps | SimpleInputProps | MaskedInputProps | CpfCnpjInputProps;
|
|
36
|
+
export type { BaseInputProps, CpfCnpjInputProps, CurrencyInputProps, InputProps, MaskedInputProps, SimpleInputProps, };
|
|
37
|
+
//# sourceMappingURL=InputProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputProps.d.ts","sourceRoot":"","sources":["../../src/components/InputProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAEjD,KAAK,cAAc,GACf,QAAQ,GACR,OAAO,GACP,MAAM,GACN,gBAAgB,GAChB,OAAO,GACP,MAAM,GACN,QAAQ,GACR,OAAO,GACP,OAAO,GACP,QAAQ,GACR,UAAU,GACV,OAAO,GACP,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,KAAK,GACL,MAAM,GACN,MAAM,GACN,KAAK,GACL,MAAM,CAAC;AAEX,KAAK,cAAc,CAAC,CAAC,SAAS,MAAM,IAAI;IACtC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,WAAW,CAAC;IAE5C,MAAM,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC;IAE5B,QAAQ,CAAC,EAAE,UAAU,CAAC;IACtB,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,IAAI,EAAE,CAAC,CAAC;IAER,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,IAAI,CACN,mBAAmB,CAAC,gBAAgB,CAAC,EACrC,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CACpC,CAAC;AAEF,KAAK,kBAAkB,GAAG,IAAI,CAC5B,cAAc,CAAC,UAAU,CAAC,EAC1B,KAAK,GAAG,cAAc,GAAG,OAAO,GAAG,UAAU,CAC9C,GAAG;IACF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,KAAK,gBAAgB,GAAG,cAAc,CAAC,QAAQ,CAAC,GAAG;IACjD,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,KAAK,iBAAiB,GAAG,IAAI,CAC3B,cAAc,CAAC,UAAU,CAAC,EAC1B,OAAO,GAAG,cAAc,CACzB,GAAG;IACF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,KAAK,gBAAgB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEvD,KAAK,UAAU,GACX,kBAAkB,GAClB,gBAAgB,GAChB,gBAAgB,GAChB,iBAAiB,CAAC;AAEtB,YAAY,EACV,cAAc,EACd,iBAAiB,EACjB,kBAAkB,EAClB,UAAU,EACV,gBAAgB,EAChB,gBAAgB,GACjB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { HTMLAttributes } from "react";
|
|
2
|
+
type BaseModalProps = HTMLAttributes<HTMLElement>;
|
|
3
|
+
type ModalContainerProps = BaseModalProps & {
|
|
4
|
+
isVisibled: boolean;
|
|
5
|
+
makeInvisible: () => void;
|
|
6
|
+
};
|
|
7
|
+
type ModalHeaderProps = BaseModalProps & {
|
|
8
|
+
showCloseButton?: boolean;
|
|
9
|
+
};
|
|
10
|
+
type ModalFooterProps = BaseModalProps & {
|
|
11
|
+
alignment?: "left" | "center" | "right" | "between" | "around";
|
|
12
|
+
};
|
|
13
|
+
export type { ModalContainerProps, ModalHeaderProps, ModalFooterProps };
|
|
14
|
+
//# sourceMappingURL=ModalProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModalProps.d.ts","sourceRoot":"","sources":["../../src/components/ModalProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,KAAK,cAAc,GAAG,cAAc,CAAC,WAAW,CAAC,CAAC;AAElD,KAAK,mBAAmB,GAAG,cAAc,GAAG;IAC1C,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,KAAK,gBAAgB,GAAG,cAAc,GAAG;IACvC,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,KAAK,gBAAgB,GAAG,cAAc,GAAG;IACvC,SAAS,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,CAAC;CAChE,CAAC;AAEF,YAAY,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { HTMLAttributes, ReactNode } from "react";
|
|
2
|
+
type BaseTooltipProps = Omit<HTMLAttributes<HTMLDivElement>, "children">;
|
|
3
|
+
type TooltipProps = BaseTooltipProps & {
|
|
4
|
+
text: string;
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
orientation?: "top" | "right" | "bottom" | "left";
|
|
7
|
+
size?: "md" | "lg";
|
|
8
|
+
};
|
|
9
|
+
export type { TooltipProps };
|
|
10
|
+
//# sourceMappingURL=TooltipProps.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TooltipProps.d.ts","sourceRoot":"","sources":["../../src/components/TooltipProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,KAAK,gBAAgB,GAAG,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,CAAC;AAEzE,KAAK,YAAY,GAAG,gBAAgB,GAAG;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,SAAS,CAAC;IACpB,WAAW,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAClD,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACpB,CAAC;AAEF,YAAY,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export * from "./api/DeleteDTO";
|
|
2
|
+
export * from "./api/GetDTO";
|
|
3
|
+
export * from "./api/InstanceConstructorProps";
|
|
4
|
+
export * from "./api/PatchDTO";
|
|
5
|
+
export * from "./api/PostDTO";
|
|
6
|
+
export * from "./api/PutDTO";
|
|
7
|
+
export * from "./api/config/InboxFlowDTO";
|
|
8
|
+
export * from "./api/config/RedisDTO";
|
|
9
|
+
export * from "./api/config/ResponseDTO";
|
|
10
|
+
export * from "./components/BadgeProps";
|
|
11
|
+
export * from "./components/BreadcrumbProps";
|
|
12
|
+
export * from "./components/ButtonProps";
|
|
13
|
+
export * from "./components/DividerProps";
|
|
14
|
+
export * from "./components/FormProps";
|
|
15
|
+
export * from "./components/IconButtonProps";
|
|
16
|
+
export * from "./components/InputProps";
|
|
17
|
+
export * from "./components/ModalProps";
|
|
18
|
+
export * from "./components/TooltipProps";
|
|
19
|
+
export * from "./utils/CalculateCardInstallmentProps";
|
|
20
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AAGzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAG1C,cAAc,uCAAuC,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// Api
|
|
2
|
+
export * from "./api/DeleteDTO";
|
|
3
|
+
export * from "./api/GetDTO";
|
|
4
|
+
export * from "./api/InstanceConstructorProps";
|
|
5
|
+
export * from "./api/PatchDTO";
|
|
6
|
+
export * from "./api/PostDTO";
|
|
7
|
+
export * from "./api/PutDTO";
|
|
8
|
+
export * from "./api/config/InboxFlowDTO";
|
|
9
|
+
export * from "./api/config/RedisDTO";
|
|
10
|
+
export * from "./api/config/ResponseDTO";
|
|
11
|
+
// Components
|
|
12
|
+
export * from "./components/BadgeProps";
|
|
13
|
+
export * from "./components/BreadcrumbProps";
|
|
14
|
+
export * from "./components/ButtonProps";
|
|
15
|
+
export * from "./components/DividerProps";
|
|
16
|
+
export * from "./components/FormProps";
|
|
17
|
+
export * from "./components/IconButtonProps";
|
|
18
|
+
export * from "./components/InputProps";
|
|
19
|
+
export * from "./components/ModalProps";
|
|
20
|
+
export * from "./components/TooltipProps";
|
|
21
|
+
// Utils
|
|
22
|
+
export * from "./utils/CalculateCardInstallmentProps";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CalculateCardInstallmentProps.d.ts","sourceRoot":"","sources":["../../src/utils/CalculateCardInstallmentProps.ts"],"names":[],"mappings":"AAAA,KAAK,6BAA6B,GAAG;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,YAAY,EAAE,6BAA6B,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@arkyn/types",
|
|
3
|
+
"version": "1.2.0",
|
|
4
|
+
"main": "./dist/bundle.js",
|
|
5
|
+
"module": "./src/index.ts",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "bunx tsc --project tsconfig.json",
|
|
10
|
+
"typecheck": "bunx tsc --project tsconfig.json --noEmit"
|
|
11
|
+
},
|
|
12
|
+
"dependencies": {
|
|
13
|
+
"@react-input/mask": ">=1.1.1",
|
|
14
|
+
"@remix-run/react": ">=2.8.0",
|
|
15
|
+
"lucide-react": ">=0.349.0",
|
|
16
|
+
"react": ">=18.2.0",
|
|
17
|
+
"react-dom": ">=18.2.0"
|
|
18
|
+
},
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"@types/react": "^18.3.1",
|
|
21
|
+
"@types/react-dom": "^18.3.0",
|
|
22
|
+
"bun-types": "latest",
|
|
23
|
+
"typescript": "^5.4.5"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { InboxFlowDTO } from "./config/InboxFlowDTO";
|
|
2
|
+
import type { ResponseDTO } from "./config/ResponseDTO";
|
|
3
|
+
|
|
4
|
+
type ConfigProps = {
|
|
5
|
+
headers?: RequestInit["headers"];
|
|
6
|
+
inbox_flow?: InboxFlowDTO;
|
|
7
|
+
token?: string;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
type DeleteDTO = (url: string, config: ConfigProps) => Promise<ResponseDTO>;
|
|
11
|
+
|
|
12
|
+
type InstanceDeleteDTO = (
|
|
13
|
+
url: string,
|
|
14
|
+
config?: ConfigProps
|
|
15
|
+
) => Promise<ResponseDTO>;
|
|
16
|
+
|
|
17
|
+
export type { DeleteDTO, InstanceDeleteDTO };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { InboxFlowDTO } from "./config/InboxFlowDTO";
|
|
2
|
+
import type { RedisDTO } from "./config/RedisDTO";
|
|
3
|
+
import type { ResponseDTO } from "./config/ResponseDTO";
|
|
4
|
+
|
|
5
|
+
type ConfigProps = {
|
|
6
|
+
headers?: RequestInit["headers"];
|
|
7
|
+
token?: string;
|
|
8
|
+
|
|
9
|
+
cached?: boolean;
|
|
10
|
+
cached_type?: "url" | "url-token";
|
|
11
|
+
|
|
12
|
+
inbox_flow?: InboxFlowDTO;
|
|
13
|
+
redis_config?: RedisDTO;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
type GetDTO = (url: string, config: ConfigProps) => Promise<ResponseDTO>;
|
|
17
|
+
|
|
18
|
+
type InstanceGetDTO = (
|
|
19
|
+
url: string,
|
|
20
|
+
config?: Omit<ConfigProps, "inbox_flow" | "redis_config">
|
|
21
|
+
) => Promise<ResponseDTO>;
|
|
22
|
+
|
|
23
|
+
export type { GetDTO, InstanceGetDTO };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { InboxFlowDTO } from "./config/InboxFlowDTO";
|
|
2
|
+
import type { RedisDTO } from "./config/RedisDTO";
|
|
3
|
+
|
|
4
|
+
type InstanceConstructorProps = {
|
|
5
|
+
base_url?: string;
|
|
6
|
+
|
|
7
|
+
cached?: boolean;
|
|
8
|
+
cached_type?: "url" | "url-token";
|
|
9
|
+
|
|
10
|
+
inbox_flow?: InboxFlowDTO;
|
|
11
|
+
redis_config?: RedisDTO;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export type { InstanceConstructorProps };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { InboxFlowDTO } from "./config/InboxFlowDTO";
|
|
2
|
+
import type { ResponseDTO } from "./config/ResponseDTO";
|
|
3
|
+
|
|
4
|
+
type ConfigProps = {
|
|
5
|
+
headers?: RequestInit["headers"];
|
|
6
|
+
inbox_flow?: InboxFlowDTO;
|
|
7
|
+
token?: string;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
type PatchDTO = (
|
|
11
|
+
url: string,
|
|
12
|
+
data: any,
|
|
13
|
+
config: ConfigProps
|
|
14
|
+
) => Promise<ResponseDTO>;
|
|
15
|
+
|
|
16
|
+
type InstancePatchDTO = (
|
|
17
|
+
url: string,
|
|
18
|
+
data: any,
|
|
19
|
+
config?: ConfigProps
|
|
20
|
+
) => Promise<ResponseDTO>;
|
|
21
|
+
|
|
22
|
+
export type { PatchDTO, InstancePatchDTO };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { InboxFlowDTO } from "./config/InboxFlowDTO";
|
|
2
|
+
import type { ResponseDTO } from "./config/ResponseDTO";
|
|
3
|
+
|
|
4
|
+
type ConfigProps = {
|
|
5
|
+
headers?: RequestInit["headers"];
|
|
6
|
+
inbox_flow?: InboxFlowDTO;
|
|
7
|
+
token?: string;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
type PostDTO = (
|
|
11
|
+
url: string,
|
|
12
|
+
data: any,
|
|
13
|
+
config: ConfigProps
|
|
14
|
+
) => Promise<ResponseDTO>;
|
|
15
|
+
|
|
16
|
+
type InstancePostDTO = (
|
|
17
|
+
url: string,
|
|
18
|
+
data: any,
|
|
19
|
+
config?: ConfigProps
|
|
20
|
+
) => Promise<ResponseDTO>;
|
|
21
|
+
|
|
22
|
+
export type { PostDTO, InstancePostDTO };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { InboxFlowDTO } from "./config/InboxFlowDTO";
|
|
2
|
+
import type { ResponseDTO } from "./config/ResponseDTO";
|
|
3
|
+
|
|
4
|
+
type ConfigProps = {
|
|
5
|
+
headers?: RequestInit["headers"];
|
|
6
|
+
inbox_flow?: InboxFlowDTO;
|
|
7
|
+
token?: string;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
type PutDTO = (
|
|
11
|
+
url: string,
|
|
12
|
+
data: any,
|
|
13
|
+
config: ConfigProps
|
|
14
|
+
) => Promise<ResponseDTO>;
|
|
15
|
+
|
|
16
|
+
type InstancePutDTO = (
|
|
17
|
+
url: string,
|
|
18
|
+
data: any,
|
|
19
|
+
config?: ConfigProps
|
|
20
|
+
) => Promise<ResponseDTO>;
|
|
21
|
+
|
|
22
|
+
export type { PutDTO, InstancePutDTO };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { LucideIcon } from "lucide-react";
|
|
2
|
+
import type { HTMLAttributes } from "react";
|
|
3
|
+
|
|
4
|
+
type BaseBadgeProps = HTMLAttributes<HTMLDivElement>;
|
|
5
|
+
|
|
6
|
+
type BadgeProps = BaseBadgeProps & {
|
|
7
|
+
size?: "md" | "lg";
|
|
8
|
+
variant?: "solid" | "outline" | "ghost";
|
|
9
|
+
scheme?: "primary" | "secondary" | "success" | "warning" | "danger" | "info";
|
|
10
|
+
|
|
11
|
+
leftIcon?: LucideIcon;
|
|
12
|
+
rightIcon?: LucideIcon;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export type { BadgeProps };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { LinkProps } from "@remix-run/react";
|
|
2
|
+
import type { HTMLAttributes } from "react";
|
|
3
|
+
|
|
4
|
+
type BreadcrumbLinkProps = LinkProps & {
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
type BreadcrumbProps = HTMLAttributes<HTMLElement>;
|
|
9
|
+
|
|
10
|
+
export type { BreadcrumbProps, BreadcrumbLinkProps };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { LucideIcon } from "lucide-react";
|
|
2
|
+
import type { ButtonHTMLAttributes } from "react";
|
|
3
|
+
|
|
4
|
+
type BaseButtonProps = ButtonHTMLAttributes<HTMLButtonElement>;
|
|
5
|
+
|
|
6
|
+
type ButtonProps = BaseButtonProps & {
|
|
7
|
+
isLoading?: boolean;
|
|
8
|
+
loadingText?: string;
|
|
9
|
+
|
|
10
|
+
size?: "xs" | "sm" | "md" | "lg";
|
|
11
|
+
variant?: "solid" | "outline" | "ghost" | "invisible";
|
|
12
|
+
scheme?: "primary" | "success" | "warning" | "danger";
|
|
13
|
+
|
|
14
|
+
leftIcon?: LucideIcon;
|
|
15
|
+
rightIcon?: LucideIcon;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export type { ButtonProps };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
HTMLAttributes,
|
|
3
|
+
LabelHTMLAttributes,
|
|
4
|
+
ReactNode,
|
|
5
|
+
RefObject,
|
|
6
|
+
} from "react";
|
|
7
|
+
|
|
8
|
+
type FormControllerContextProps = {
|
|
9
|
+
error?: string;
|
|
10
|
+
inputRef: RefObject<HTMLInputElement>;
|
|
11
|
+
id: string;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
type FormControllerProps = {
|
|
15
|
+
children: ReactNode;
|
|
16
|
+
} & HTMLAttributes<HTMLElement>;
|
|
17
|
+
|
|
18
|
+
type FormLabelProps = {
|
|
19
|
+
showAsterisk?: boolean;
|
|
20
|
+
} & LabelHTMLAttributes<HTMLLabelElement>;
|
|
21
|
+
|
|
22
|
+
export type { FormControllerContextProps, FormControllerProps, FormLabelProps };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { LucideIcon } from "lucide-react";
|
|
2
|
+
import type { ButtonHTMLAttributes } from "react";
|
|
3
|
+
|
|
4
|
+
type BaseIconButtonProps = Omit<
|
|
5
|
+
ButtonHTMLAttributes<HTMLButtonElement>,
|
|
6
|
+
"children" | "aria-label"
|
|
7
|
+
>;
|
|
8
|
+
|
|
9
|
+
type IconButtonProps = BaseIconButtonProps & {
|
|
10
|
+
icon: LucideIcon;
|
|
11
|
+
"aria-label": string;
|
|
12
|
+
|
|
13
|
+
isLoading?: boolean;
|
|
14
|
+
size?: "xs" | "sm" | "md" | "lg";
|
|
15
|
+
variant?: "solid" | "outline" | "ghost" | "invisible";
|
|
16
|
+
scheme?: "primary" | "success" | "warning" | "danger";
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export type { IconButtonProps };
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import type { Replacement } from "@react-input/mask";
|
|
2
|
+
import type { LucideIcon } from "lucide-react";
|
|
3
|
+
import type { InputHTMLAttributes } from "react";
|
|
4
|
+
|
|
5
|
+
type InputBaseTypes =
|
|
6
|
+
| "button"
|
|
7
|
+
| "color"
|
|
8
|
+
| "date"
|
|
9
|
+
| "datetime-local"
|
|
10
|
+
| "email"
|
|
11
|
+
| "file"
|
|
12
|
+
| "hidden"
|
|
13
|
+
| "image"
|
|
14
|
+
| "month"
|
|
15
|
+
| "number"
|
|
16
|
+
| "password"
|
|
17
|
+
| "range"
|
|
18
|
+
| "reset"
|
|
19
|
+
| "search"
|
|
20
|
+
| "submit"
|
|
21
|
+
| "tel"
|
|
22
|
+
| "text"
|
|
23
|
+
| "time"
|
|
24
|
+
| "url"
|
|
25
|
+
| "week";
|
|
26
|
+
|
|
27
|
+
type BaseInputProps<T extends string> = {
|
|
28
|
+
isLoading?: boolean;
|
|
29
|
+
isError?: boolean;
|
|
30
|
+
|
|
31
|
+
size?: "md" | "lg";
|
|
32
|
+
variant?: "solid" | "outline" | "underline";
|
|
33
|
+
|
|
34
|
+
prefix?: string | LucideIcon;
|
|
35
|
+
sufix?: string | LucideIcon;
|
|
36
|
+
|
|
37
|
+
leftIcon?: LucideIcon;
|
|
38
|
+
rightIcon?: LucideIcon;
|
|
39
|
+
type: T;
|
|
40
|
+
|
|
41
|
+
name: string;
|
|
42
|
+
} & Omit<
|
|
43
|
+
InputHTMLAttributes<HTMLInputElement>,
|
|
44
|
+
"size" | "prefix" | "type" | "name"
|
|
45
|
+
>;
|
|
46
|
+
|
|
47
|
+
type CurrencyInputProps = Omit<
|
|
48
|
+
BaseInputProps<"currency">,
|
|
49
|
+
"max" | "defaultValue" | "value" | "onChange"
|
|
50
|
+
> & {
|
|
51
|
+
defaultValue?: number;
|
|
52
|
+
onChange?: (value: number) => void;
|
|
53
|
+
value?: number;
|
|
54
|
+
max?: number;
|
|
55
|
+
showCents?: boolean;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
type MaskedInputProps = BaseInputProps<"masked"> & {
|
|
59
|
+
mask: string;
|
|
60
|
+
separate?: boolean;
|
|
61
|
+
replacement?: string | Replacement;
|
|
62
|
+
showMask?: boolean;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
type CpfCnpjInputProps = Omit<
|
|
66
|
+
BaseInputProps<"cpf-cpnj">,
|
|
67
|
+
"value" | "defaultValue"
|
|
68
|
+
> & {
|
|
69
|
+
defaultValue?: string;
|
|
70
|
+
value?: string;
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
type SimpleInputProps = BaseInputProps<InputBaseTypes>;
|
|
74
|
+
|
|
75
|
+
type InputProps =
|
|
76
|
+
| CurrencyInputProps
|
|
77
|
+
| SimpleInputProps
|
|
78
|
+
| MaskedInputProps
|
|
79
|
+
| CpfCnpjInputProps;
|
|
80
|
+
|
|
81
|
+
export type {
|
|
82
|
+
BaseInputProps,
|
|
83
|
+
CpfCnpjInputProps,
|
|
84
|
+
CurrencyInputProps,
|
|
85
|
+
InputProps,
|
|
86
|
+
MaskedInputProps,
|
|
87
|
+
SimpleInputProps,
|
|
88
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { HTMLAttributes } from "react";
|
|
2
|
+
|
|
3
|
+
type BaseModalProps = HTMLAttributes<HTMLElement>;
|
|
4
|
+
|
|
5
|
+
type ModalContainerProps = BaseModalProps & {
|
|
6
|
+
isVisibled: boolean;
|
|
7
|
+
makeInvisible: () => void;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
type ModalHeaderProps = BaseModalProps & {
|
|
11
|
+
showCloseButton?: boolean;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
type ModalFooterProps = BaseModalProps & {
|
|
15
|
+
alignment?: "left" | "center" | "right" | "between" | "around";
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export type { ModalContainerProps, ModalHeaderProps, ModalFooterProps };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { HTMLAttributes, ReactNode } from "react";
|
|
2
|
+
|
|
3
|
+
type BaseTooltipProps = Omit<HTMLAttributes<HTMLDivElement>, "children">;
|
|
4
|
+
|
|
5
|
+
type TooltipProps = BaseTooltipProps & {
|
|
6
|
+
text: string;
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
orientation?: "top" | "right" | "bottom" | "left";
|
|
9
|
+
size?: "md" | "lg";
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export type { TooltipProps };
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// Api
|
|
2
|
+
export * from "./api/DeleteDTO";
|
|
3
|
+
export * from "./api/GetDTO";
|
|
4
|
+
export * from "./api/InstanceConstructorProps";
|
|
5
|
+
export * from "./api/PatchDTO";
|
|
6
|
+
export * from "./api/PostDTO";
|
|
7
|
+
export * from "./api/PutDTO";
|
|
8
|
+
export * from "./api/config/InboxFlowDTO";
|
|
9
|
+
export * from "./api/config/RedisDTO";
|
|
10
|
+
export * from "./api/config/ResponseDTO";
|
|
11
|
+
|
|
12
|
+
// Components
|
|
13
|
+
export * from "./components/BadgeProps";
|
|
14
|
+
export * from "./components/BreadcrumbProps";
|
|
15
|
+
export * from "./components/ButtonProps";
|
|
16
|
+
export * from "./components/DividerProps";
|
|
17
|
+
export * from "./components/FormProps";
|
|
18
|
+
export * from "./components/IconButtonProps";
|
|
19
|
+
export * from "./components/InputProps";
|
|
20
|
+
export * from "./components/ModalProps";
|
|
21
|
+
export * from "./components/TooltipProps";
|
|
22
|
+
|
|
23
|
+
// Utils
|
|
24
|
+
export * from "./utils/CalculateCardInstallmentProps";
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"declaration": true,
|
|
4
|
+
"declarationDir": "./dist",
|
|
5
|
+
"declarationMap": true,
|
|
6
|
+
"isolatedModules": true,
|
|
7
|
+
"lib": ["ESNext", "DOM.Iterable"],
|
|
8
|
+
"module": "ESNext",
|
|
9
|
+
"moduleResolution": "node",
|
|
10
|
+
"outDir": "./dist",
|
|
11
|
+
"preserveWatchOutput": true,
|
|
12
|
+
"skipLibCheck": true,
|
|
13
|
+
"strict": true,
|
|
14
|
+
"target": "ESNext",
|
|
15
|
+
"types": ["bun-types"],
|
|
16
|
+
"verbatimModuleSyntax": true
|
|
17
|
+
},
|
|
18
|
+
"exclude": ["dist", "node_modules"],
|
|
19
|
+
"include": ["src/**/*.ts"]
|
|
20
|
+
}
|