@arkyn/types 1.3.11 → 1.3.12

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 CHANGED
@@ -23,5 +23,6 @@ export * from "./components/TooltipProps";
23
23
  export * from "./hooks/Modal";
24
24
  export * from "./hooks/Toast";
25
25
  export * from "./server/formParseProps";
26
+ export * from "./server/httpResponse";
26
27
  export * from "./shared/CalculateCardInstallmentProps";
27
28
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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,2BAA2B,CAAC;AAC1C,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,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAG1C,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAG9B,cAAc,yBAAyB,CAAC;AAGxC,cAAc,wCAAwC,CAAC"}
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,2BAA2B,CAAC;AAC1C,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,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAG1C,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAG9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AAGtC,cAAc,wCAAwC,CAAC"}
package/dist/index.js CHANGED
@@ -27,5 +27,6 @@ export * from "./hooks/Modal";
27
27
  export * from "./hooks/Toast";
28
28
  // Server
29
29
  export * from "./server/formParseProps";
30
+ export * from "./server/httpResponse";
30
31
  // Shared
31
32
  export * from "./shared/CalculateCardInstallmentProps";
@@ -0,0 +1,9 @@
1
+ type HttpResponse = {
2
+ status: number;
3
+ cause: Error["cause"] | null;
4
+ success: false;
5
+ name: string;
6
+ message: string;
7
+ };
8
+ export type { HttpResponse };
9
+ //# sourceMappingURL=httpResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"httpResponse.d.ts","sourceRoot":"","sources":["../../src/server/httpResponse.ts"],"names":[],"mappings":"AAAA,KAAK,YAAY,GAAG;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC;IAC7B,OAAO,EAAE,KAAK,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,YAAY,EAAE,YAAY,EAAE,CAAC"}
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkyn/types",
3
- "version": "1.3.11",
3
+ "version": "1.3.12",
4
4
  "main": "./dist/bundle.js",
5
5
  "module": "./src/index.ts",
6
6
  "type": "module",
@@ -10,16 +10,16 @@
10
10
  "typecheck": "bunx tsc --project tsconfig.json --noEmit"
11
11
  },
12
12
  "dependencies": {
13
- "@react-input/mask": ">=1.2.4",
13
+ "@react-input/mask": ">=1.2.5",
14
14
  "@remix-run/react": ">=2.9.2",
15
- "lucide-react": ">=0.378.0",
15
+ "lucide-react": ">=0.396.0",
16
16
  "react": ">=18.3.1",
17
17
  "react-dom": ">=18.3.1"
18
18
  },
19
19
  "devDependencies": {
20
- "@types/react": "^18.3.2",
20
+ "@types/react": "^18.3.3",
21
21
  "@types/react-dom": "^18.3.0",
22
22
  "bun-types": "latest",
23
- "typescript": "^5.4.5"
23
+ "typescript": "^5.5.2"
24
24
  }
25
25
  }
package/src/index.ts CHANGED
@@ -30,6 +30,7 @@ export * from "./hooks/Toast";
30
30
 
31
31
  // Server
32
32
  export * from "./server/formParseProps";
33
+ export * from "./server/httpResponse";
33
34
 
34
35
  // Shared
35
36
  export * from "./shared/CalculateCardInstallmentProps";
@@ -0,0 +1,9 @@
1
+ type HttpResponse = {
2
+ status: number;
3
+ cause: Error["cause"] | null;
4
+ success: false;
5
+ name: string;
6
+ message: string;
7
+ };
8
+
9
+ export type { HttpResponse };