@creator.co/creatorco-kysely-types 1.0.53 → 1.0.54
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 +6 -0
- package/enums.js +6 -1
- package/enums.js.map +1 -1
- package/index.d.ts +9 -1
- package/package.json +1 -1
package/enums.d.ts
CHANGED
|
@@ -12,6 +12,12 @@ export declare const trolleyPaymentStatus: {
|
|
|
12
12
|
readonly returned: "returned";
|
|
13
13
|
};
|
|
14
14
|
export type trolleyPaymentStatus = (typeof trolleyPaymentStatus)[keyof typeof trolleyPaymentStatus];
|
|
15
|
+
export declare const CampaignToSocialPostStatus: {
|
|
16
|
+
readonly pending: "pending";
|
|
17
|
+
readonly approved: "approved";
|
|
18
|
+
readonly declined: "declined";
|
|
19
|
+
};
|
|
20
|
+
export type CampaignToSocialPostStatus = (typeof CampaignToSocialPostStatus)[keyof typeof CampaignToSocialPostStatus];
|
|
15
21
|
export declare const ShopifyStoreSyncStatus: {
|
|
16
22
|
readonly syncing: "syncing";
|
|
17
23
|
readonly synced: "synced";
|
package/enums.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ShopifyStoreSyncStatus = exports.trolleyPaymentStatus = exports.trolleyPaymentType = void 0;
|
|
3
|
+
exports.ShopifyStoreSyncStatus = exports.CampaignToSocialPostStatus = exports.trolleyPaymentStatus = exports.trolleyPaymentType = void 0;
|
|
4
4
|
exports.trolleyPaymentType = {
|
|
5
5
|
optIn: "optIn",
|
|
6
6
|
tip: "tip",
|
|
@@ -13,6 +13,11 @@ exports.trolleyPaymentStatus = {
|
|
|
13
13
|
failed: "failed",
|
|
14
14
|
returned: "returned"
|
|
15
15
|
};
|
|
16
|
+
exports.CampaignToSocialPostStatus = {
|
|
17
|
+
pending: "pending",
|
|
18
|
+
approved: "approved",
|
|
19
|
+
declined: "declined"
|
|
20
|
+
};
|
|
16
21
|
exports.ShopifyStoreSyncStatus = {
|
|
17
22
|
syncing: "syncing",
|
|
18
23
|
synced: "synced",
|
package/enums.js.map
CHANGED
|
@@ -1 +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;AAEE,QAAA,sBAAsB,GAAG;IAClC,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;CACR,CAAC"}
|
|
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;AAEE,QAAA,0BAA0B,GAAG;IACtC,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;CACd,CAAC;AAEE,QAAA,sBAAsB,GAAG;IAClC,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;CACR,CAAC"}
|
package/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export type Generated<T> = T extends ColumnType<infer S, infer I, infer U>
|
|
|
5
5
|
: ColumnType<T, T | undefined, T>;
|
|
6
6
|
export type Timestamp = ColumnType<Date, Date | string, Date | string>;
|
|
7
7
|
|
|
8
|
-
import type { trolleyPaymentType, trolleyPaymentStatus, ShopifyStoreSyncStatus } from "./enums";
|
|
8
|
+
import type { trolleyPaymentType, trolleyPaymentStatus, CampaignToSocialPostStatus, ShopifyStoreSyncStatus } from "./enums";
|
|
9
9
|
|
|
10
10
|
export type AffiliateClick = {
|
|
11
11
|
id: GeneratedAlways<number>;
|
|
@@ -226,6 +226,13 @@ export type CampaignToShopifyProduct = {
|
|
|
226
226
|
campaignId: number;
|
|
227
227
|
shopifyProductId: number;
|
|
228
228
|
};
|
|
229
|
+
export type CampaignToSocialPost = {
|
|
230
|
+
campaignId: number;
|
|
231
|
+
socialPostId: number;
|
|
232
|
+
status: Generated<CampaignToSocialPostStatus>;
|
|
233
|
+
created: Generated<Timestamp>;
|
|
234
|
+
metaData: Generated<Json>;
|
|
235
|
+
};
|
|
229
236
|
export type Category = {
|
|
230
237
|
id: GeneratedAlways<number>;
|
|
231
238
|
slug: string;
|
|
@@ -849,6 +856,7 @@ export type DB = {
|
|
|
849
856
|
campaign: Campaign;
|
|
850
857
|
campaignToProductList: CampaignToProductList;
|
|
851
858
|
campaignToShopifyProduct: CampaignToShopifyProduct;
|
|
859
|
+
campaignToSocialPost: CampaignToSocialPost;
|
|
852
860
|
CampaignInvite: CampaignInvite;
|
|
853
861
|
campaignpin: CampaignPin;
|
|
854
862
|
campaignstep: CampaignStep;
|