@bikiran/utils 2.3.5 → 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
@@ -30,10 +30,12 @@ export type { TInputChangeEvent, TTextAreaChangeEvent, TMouseEvent, TFormEvent,
30
30
  export type { TDomainProperty, TDomainDuration, TDomainInfo, } from "./lib/types/domain";
31
31
  export type { TApp } from "./lib/types/app";
32
32
  export type { TUser } from "./lib/types/user";
33
+ export type { TAssets } from "./lib/types/assets";
33
34
  export type { TApiResponse, TPagination } from "./lib/types/response";
34
35
  export type { TInvoiceInfo, TAddressBilling, TAddressPayload, TAddressShipping, TInvoiceData, TInvoiceProduct, TPaymentIssue, TPaymentOption, } from "./lib/types/invoice";
35
36
  export { default as countries } from "./lib/utils/country.json";
36
37
  export { win, doc, storage } from "./lib/utils/dom";
38
+ export { ASSET_KEYS } from "./lib/constants/index";
37
39
  export { setLocalStorage, getLocalStorage } from "./lib/utils/storage";
38
40
  export { mkQueryString, mkToken, mkStrongPassword, } from "./lib/utils/StringOperation";
39
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
@@ -73,7 +73,8 @@ export type {
73
73
  export type { TApp } from "./lib/types/app";
74
74
  // User types
75
75
  export type { TUser } from "./lib/types/user";
76
-
76
+ // Asset keys
77
+ export type { TAssets } from "./lib/types/assets";
77
78
  // Response types
78
79
  export type { TApiResponse, TPagination } from "./lib/types/response";
79
80
 
@@ -90,6 +91,7 @@ export type {
90
91
  } from "./lib/types/invoice";
91
92
  export { default as countries } from "./lib/utils/country.json";
92
93
  export { win, doc, storage } from "./lib/utils/dom";
94
+ export { ASSET_KEYS } from "./lib/constants/index";
93
95
  export { setLocalStorage, getLocalStorage } from "./lib/utils/storage";
94
96
  export {
95
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.5",
3
+ "version": "2.3.6",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [