@bikiran/utils 2.3.4 → 2.3.6

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
@@ -29,12 +29,13 @@ export { getBikiranUrl, getAccountUrl, getApiUrl, getApi2Url, getApi3Url, getBas
29
29
  export type { TInputChangeEvent, TTextAreaChangeEvent, TMouseEvent, TFormEvent, TKeyboardEvent, TFocusEvent, TDragEvent, TState, } from "./lib/types/GlobalType";
30
30
  export type { TDomainProperty, TDomainDuration, TDomainInfo, } from "./lib/types/domain";
31
31
  export type { TApp } from "./lib/types/app";
32
- export type { TInputChangeEvent as TInputChangeEventAlt, TTextAreaChangeEvent as TTextAreaChangeEventAlt, TMouseEvent as TMouseEventAlt, TFormEvent as TFormEventAlt, TKeyboardEvent as TKeyboardEventAlt, TFocusEvent as TFocusEventAlt, TDragEvent as TDragEventAlt, TState as TStateAlt, } from "./lib/types/event";
33
32
  export type { TUser } from "./lib/types/user";
33
+ export type { TAssets } from "./lib/types/assets";
34
34
  export type { TApiResponse, TPagination } from "./lib/types/response";
35
- export type { TInvoiceInfo, TAddressBilling, TAddressShipping, } from "./lib/types/invoice";
35
+ export type { TInvoiceInfo, TAddressBilling, TAddressPayload, TAddressShipping, TInvoiceData, TInvoiceProduct, TPaymentIssue, TPaymentOption, } from "./lib/types/invoice";
36
36
  export { default as countries } from "./lib/utils/country.json";
37
37
  export { win, doc, storage } from "./lib/utils/dom";
38
+ export { ASSET_KEYS } from "./lib/constants/index";
38
39
  export { setLocalStorage, getLocalStorage } from "./lib/utils/storage";
39
40
  export { mkQueryString, mkToken, mkStrongPassword, } from "./lib/utils/StringOperation";
40
41
  export { default as StatusColor } from "./lib/utils/statusColor";
package/dist/index.js CHANGED
@@ -28,6 +28,7 @@ export { addOption, addOption2 } from "./lib/utils/option";
28
28
  export { getBikiranUrl, getAccountUrl, getApiUrl, getApi2Url, getApi3Url, getBaseDomain, getSupportUrl, generateAnyUrl, getAdManageUrl, getAppoceanUrl, getDBConnectionString, getDocsUrl, getDomainUrl, getHostingUrl, getSiteUrl, SUB_DOMAIN_NAMES, isDev, getMode, } from "./lib/utils/Env";
29
29
  export { default as countries } from "./lib/utils/country.json";
30
30
  export { win, doc, storage } from "./lib/utils/dom";
31
+ export { ASSET_KEYS } from "./lib/constants/index";
31
32
  export { setLocalStorage, getLocalStorage } from "./lib/utils/storage";
32
33
  export { mkQueryString, mkToken, mkStrongPassword, } from "./lib/utils/StringOperation";
33
34
  // UI utilities
package/dist/index.ts CHANGED
@@ -71,22 +71,10 @@ export type {
71
71
 
72
72
  // App types
73
73
  export type { TApp } from "./lib/types/app";
74
-
75
- // Event types (alternative to GlobalType)
76
- export type {
77
- TInputChangeEvent as TInputChangeEventAlt,
78
- TTextAreaChangeEvent as TTextAreaChangeEventAlt,
79
- TMouseEvent as TMouseEventAlt,
80
- TFormEvent as TFormEventAlt,
81
- TKeyboardEvent as TKeyboardEventAlt,
82
- TFocusEvent as TFocusEventAlt,
83
- TDragEvent as TDragEventAlt,
84
- TState as TStateAlt,
85
- } from "./lib/types/event";
86
-
87
74
  // User types
88
75
  export type { TUser } from "./lib/types/user";
89
-
76
+ // Asset keys
77
+ export type { TAssets } from "./lib/types/assets";
90
78
  // Response types
91
79
  export type { TApiResponse, TPagination } from "./lib/types/response";
92
80
 
@@ -94,10 +82,16 @@ export type { TApiResponse, TPagination } from "./lib/types/response";
94
82
  export type {
95
83
  TInvoiceInfo,
96
84
  TAddressBilling,
85
+ TAddressPayload,
97
86
  TAddressShipping,
87
+ TInvoiceData,
88
+ TInvoiceProduct,
89
+ TPaymentIssue,
90
+ TPaymentOption,
98
91
  } from "./lib/types/invoice";
99
92
  export { default as countries } from "./lib/utils/country.json";
100
93
  export { win, doc, storage } from "./lib/utils/dom";
94
+ export { ASSET_KEYS } from "./lib/constants/index";
101
95
  export { setLocalStorage, getLocalStorage } from "./lib/utils/storage";
102
96
  export {
103
97
  mkQueryString,
@@ -0,0 +1,2 @@
1
+ import { TAssets } from "../types/assets";
2
+ export declare const ASSET_KEYS: TAssets;
@@ -0,0 +1,12 @@
1
+ export const ASSET_KEYS = {
2
+ domain: "DOMAIN",
3
+ hosting: "HOSTING",
4
+ appOcean: "APPOCEAN",
5
+ proBackup: "PROBACKUP",
6
+ eduSoft: "EDUSOFT",
7
+ push: "PUSH",
8
+ email: "EMAIL",
9
+ founder: "FOUNDER",
10
+ account: "ACCOUNT",
11
+ project: "PROJECT",
12
+ };
@@ -0,0 +1,14 @@
1
+ import { TAssets } from "../types/assets";
2
+
3
+ export const ASSET_KEYS: TAssets = {
4
+ domain: "DOMAIN",
5
+ hosting: "HOSTING",
6
+ appOcean: "APPOCEAN",
7
+ proBackup: "PROBACKUP",
8
+ eduSoft: "EDUSOFT",
9
+ push: "PUSH",
10
+ email: "EMAIL",
11
+ founder: "FOUNDER",
12
+ account: "ACCOUNT",
13
+ project: "PROJECT",
14
+ } as const;
@@ -0,0 +1,12 @@
1
+ export type TAssets = {
2
+ domain: "DOMAIN";
3
+ hosting: "HOSTING";
4
+ appOcean: "APPOCEAN";
5
+ proBackup: "PROBACKUP";
6
+ eduSoft: "EDUSOFT";
7
+ push: "PUSH";
8
+ email: "EMAIL";
9
+ founder: "FOUNDER";
10
+ account: "ACCOUNT";
11
+ project: "PROJECT";
12
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,12 @@
1
+ export type TAssets = {
2
+ domain: "DOMAIN";
3
+ hosting: "HOSTING";
4
+ appOcean: "APPOCEAN";
5
+ proBackup: "PROBACKUP";
6
+ eduSoft: "EDUSOFT";
7
+ push: "PUSH";
8
+ email: "EMAIL";
9
+ founder: "FOUNDER";
10
+ account: "ACCOUNT";
11
+ project: "PROJECT";
12
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bikiran/utils",
3
- "version": "2.3.4",
3
+ "version": "2.3.6",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [