@creator.co/creatorco-kysely-types 1.0.22 → 1.0.23-alpha-6c97172

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/enums.d.ts ADDED
@@ -0,0 +1,14 @@
1
+ export declare const trolleyPaymentType: {
2
+ readonly optIn: "optIn";
3
+ readonly tip: "tip";
4
+ readonly affiliate: "affiliate";
5
+ };
6
+ export type trolleyPaymentType = (typeof trolleyPaymentType)[keyof typeof trolleyPaymentType];
7
+ export declare const trolleyPaymentStatus: {
8
+ readonly pending: "pending";
9
+ readonly processing: "processing";
10
+ readonly processed: "processed";
11
+ readonly failed: "failed";
12
+ readonly returned: "returned";
13
+ };
14
+ export type trolleyPaymentStatus = (typeof trolleyPaymentStatus)[keyof typeof trolleyPaymentStatus];
package/enums.js ADDED
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.trolleyPaymentStatus = exports.trolleyPaymentType = void 0;
4
+ exports.trolleyPaymentType = {
5
+ optIn: "optIn",
6
+ tip: "tip",
7
+ affiliate: "affiliate"
8
+ };
9
+ exports.trolleyPaymentStatus = {
10
+ pending: "pending",
11
+ processing: "processing",
12
+ processed: "processed",
13
+ failed: "failed",
14
+ returned: "returned"
15
+ };
16
+ //# sourceMappingURL=enums.js.map
package/enums.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enums.js","sourceRoot":"","sources":["../enums.ts"],"names":[],"mappings":";;;AAAa,QAAA,kBAAkB,GAAG;IAC9B,KAAK,EAAE,OAAO;IACd,GAAG,EAAE,KAAK;IACV,SAAS,EAAE,WAAW;CAChB,CAAC;AAEE,QAAA,oBAAoB,GAAG;IAChC,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;CACd,CAAC"}
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@creator.co/creatorco-kysely-types",
3
- "version": "1.0.22",
3
+ "version": "1.0.23-alpha-6c97172",
4
4
  "types": "./index.d.ts",
5
- "type": "module",
5
+ "type": "commonjs",
6
6
  "devDependencies": {
7
7
  "typescript": "^5.2.2"
8
8
  },
package/tsconfig.json ADDED
@@ -0,0 +1,21 @@
1
+ {
2
+ "exclude": ["**/*.test.*", "**/__mocks__/*", "**/__tests__/*", "**/tests/*", "./dist/**/*"],
3
+ "compilerOptions": {
4
+ "lib": [
5
+ "es5",
6
+ "es6",
7
+ "dom"
8
+ ],
9
+ "noImplicitAny": false,
10
+ "noEmitOnError": true,
11
+ "removeComments": false,
12
+ "downlevelIteration": true,
13
+ "resolveJsonModule": true,
14
+ "sourceMap": true,
15
+ "target": "es5",
16
+ "outDir": "dist",
17
+ "declaration": true,
18
+ "skipLibCheck": true,
19
+ "strictNullChecks": true
20
+ }
21
+ }
package/enums.ts DELETED
@@ -1,14 +0,0 @@
1
- export const trolleyPaymentType = {
2
- optIn: "optIn",
3
- tip: "tip",
4
- affiliate: "affiliate"
5
- } as const;
6
- export type trolleyPaymentType = (typeof trolleyPaymentType)[keyof typeof trolleyPaymentType];
7
- export const trolleyPaymentStatus = {
8
- pending: "pending",
9
- processing: "processing",
10
- processed: "processed",
11
- failed: "failed",
12
- returned: "returned"
13
- } as const;
14
- export type trolleyPaymentStatus = (typeof trolleyPaymentStatus)[keyof typeof trolleyPaymentStatus];