@davidmashadow/ss-ecommerce-types 1.0.13 → 1.0.15
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/types/external.types.d.ts +51 -0
- package/dist/types/external.types.d.ts.map +1 -0
- package/dist/types/external.types.js +3 -0
- package/dist/types/external.types.js.map +1 -0
- package/dist/types/general.types.d.ts +43 -0
- package/dist/types/general.types.d.ts.map +1 -0
- package/dist/types/general.types.js +3 -0
- package/dist/types/general.types.js.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +2 -0
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export interface IExternal {
|
|
2
|
+
_id: string;
|
|
3
|
+
geoLocation: {
|
|
4
|
+
apiKey: string;
|
|
5
|
+
};
|
|
6
|
+
iyzico: {
|
|
7
|
+
lang: 'tr' | 'en';
|
|
8
|
+
url: string;
|
|
9
|
+
apiKey: string;
|
|
10
|
+
secretKey: string;
|
|
11
|
+
};
|
|
12
|
+
basitKargo: {
|
|
13
|
+
url: string;
|
|
14
|
+
apiKey: string;
|
|
15
|
+
};
|
|
16
|
+
google: {
|
|
17
|
+
analyticsId: string;
|
|
18
|
+
analyticsPropertyId: string;
|
|
19
|
+
tagManagerId: string;
|
|
20
|
+
apiKey: string;
|
|
21
|
+
clientId: string;
|
|
22
|
+
clientSecret: string;
|
|
23
|
+
callbackUrl: string;
|
|
24
|
+
};
|
|
25
|
+
facebook: {
|
|
26
|
+
apiKey: string;
|
|
27
|
+
clientId: string;
|
|
28
|
+
clientSecret: string;
|
|
29
|
+
callbackUrl: string;
|
|
30
|
+
};
|
|
31
|
+
yandex: {
|
|
32
|
+
metricaId: string;
|
|
33
|
+
};
|
|
34
|
+
countryStateCity: {
|
|
35
|
+
url: string;
|
|
36
|
+
apiKey: string;
|
|
37
|
+
};
|
|
38
|
+
tawkTo: {
|
|
39
|
+
propertyId: string;
|
|
40
|
+
widgetId: string;
|
|
41
|
+
};
|
|
42
|
+
crisp: {
|
|
43
|
+
siteId: string;
|
|
44
|
+
};
|
|
45
|
+
geliver: {
|
|
46
|
+
token: string;
|
|
47
|
+
};
|
|
48
|
+
createdAt: string;
|
|
49
|
+
updatedAt: string;
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=external.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external.types.d.ts","sourceRoot":"","sources":["../../src/types/external.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACtB,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAChC,MAAM,EAAE;QAAE,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;QAAC,GAAG,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9E,UAAU,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAC5C,MAAM,EAAE;QACJ,WAAW,EAAE,MAAM,CAAC;QACpB,mBAAmB,EAAE,MAAM,CAAC;QAC5B,YAAY,EAAE,MAAM,CAAC;QACrB,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;QACjB,YAAY,EAAE,MAAM,CAAC;QACrB,WAAW,EAAE,MAAM,CAAC;KACvB,CAAC;IACF,QAAQ,EAAE;QACN,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;QACjB,YAAY,EAAE,MAAM,CAAC;QACrB,WAAW,EAAE,MAAM,CAAC;KACvB,CAAC;IACF,MAAM,EAAE;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC;IAC9B,gBAAgB,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAClD,MAAM,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;IACjD,KAAK,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IAC1B,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external.types.js","sourceRoot":"","sources":["../../src/types/external.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export interface IQueryParams {
|
|
2
|
+
page: number;
|
|
3
|
+
limit: number;
|
|
4
|
+
sort: string;
|
|
5
|
+
text: string;
|
|
6
|
+
userId?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IHome {
|
|
9
|
+
environment: string;
|
|
10
|
+
checkFile: string;
|
|
11
|
+
apiDoc: string;
|
|
12
|
+
moduleName: string;
|
|
13
|
+
}
|
|
14
|
+
export interface IFileType {
|
|
15
|
+
fieldname: string;
|
|
16
|
+
originalname: string;
|
|
17
|
+
encoding: string;
|
|
18
|
+
mimetype: string;
|
|
19
|
+
destination: string;
|
|
20
|
+
filename: string;
|
|
21
|
+
path: string;
|
|
22
|
+
size: number;
|
|
23
|
+
}
|
|
24
|
+
export interface IUpdateMongo {
|
|
25
|
+
acknowledged: boolean;
|
|
26
|
+
modifiedCount: number;
|
|
27
|
+
upsertedId: string | null;
|
|
28
|
+
upsertedCount: number;
|
|
29
|
+
matchedCount: number;
|
|
30
|
+
}
|
|
31
|
+
export interface IDeleteMongo {
|
|
32
|
+
acknowledged: boolean;
|
|
33
|
+
deletedCount: number;
|
|
34
|
+
}
|
|
35
|
+
export interface ISort {
|
|
36
|
+
[key: string]: 1 | -1;
|
|
37
|
+
}
|
|
38
|
+
export interface IProxyItem {
|
|
39
|
+
ip: string;
|
|
40
|
+
port: number;
|
|
41
|
+
https: boolean;
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=general.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"general.types.d.ts","sourceRoot":"","sources":["../../src/types/general.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,KAAK;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;CACtB;AACD,MAAM,WAAW,SAAS;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CAChB;AACD,MAAM,WAAW,YAAY;IACzB,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;CACxB;AACD,MAAM,WAAW,YAAY;IACzB,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;CACxB;AACD,MAAM,WAAW,KAAK;IAClB,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC;CACzB;AACD,MAAM,WAAW,UAAU;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;CAClB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"general.types.js","sourceRoot":"","sources":["../../src/types/general.types.ts"],"names":[],"mappings":""}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ export * from './contact.types';
|
|
|
9
9
|
export * from './country.types';
|
|
10
10
|
export * from './currency.types';
|
|
11
11
|
export * from './category.types';
|
|
12
|
+
export * from './external.types';
|
|
13
|
+
export * from './general.types';
|
|
12
14
|
export * from './product.types';
|
|
13
15
|
export * from './traffic.types';
|
|
14
16
|
export * from './user.types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC"}
|
package/dist/types/index.js
CHANGED
|
@@ -25,6 +25,8 @@ __exportStar(require("./contact.types"), exports);
|
|
|
25
25
|
__exportStar(require("./country.types"), exports);
|
|
26
26
|
__exportStar(require("./currency.types"), exports);
|
|
27
27
|
__exportStar(require("./category.types"), exports);
|
|
28
|
+
__exportStar(require("./external.types"), exports);
|
|
29
|
+
__exportStar(require("./general.types"), exports);
|
|
28
30
|
__exportStar(require("./product.types"), exports);
|
|
29
31
|
__exportStar(require("./traffic.types"), exports);
|
|
30
32
|
__exportStar(require("./user.types"), exports);
|
package/dist/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,oDAAkC;AAClC,yDAAuC;AACvC,gDAA8B;AAC9B,+CAA6B;AAC7B,+CAA6B;AAC7B,kDAAgC;AAChC,kDAAgC;AAChC,kDAAgC;AAChC,mDAAiC;AACjC,mDAAiC;AACjC,kDAAgC;AAChC,kDAAgC;AAChC,+CAA6B;AAC7B,kDAAgC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,oDAAkC;AAClC,yDAAuC;AACvC,gDAA8B;AAC9B,+CAA6B;AAC7B,+CAA6B;AAC7B,kDAAgC;AAChC,kDAAgC;AAChC,kDAAgC;AAChC,mDAAiC;AACjC,mDAAiC;AACjC,mDAAiC;AACjC,kDAAgC;AAChC,kDAAgC;AAChC,kDAAgC;AAChC,+CAA6B;AAC7B,kDAAgC"}
|