@creator.co/creatorco-kysely-types 1.0.52 → 1.0.53-alpha-ec58990
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 +10 -3
- 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,12 @@ 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
|
+
};
|
|
229
235
|
export type Category = {
|
|
230
236
|
id: GeneratedAlways<number>;
|
|
231
237
|
slug: string;
|
|
@@ -238,7 +244,7 @@ export type Chat = {
|
|
|
238
244
|
metaData: Generated<Json>;
|
|
239
245
|
optInId: number | null;
|
|
240
246
|
};
|
|
241
|
-
export type
|
|
247
|
+
export type CjEvent = {
|
|
242
248
|
id: GeneratedAlways<number>;
|
|
243
249
|
type: string;
|
|
244
250
|
created: Generated<Timestamp>;
|
|
@@ -849,6 +855,7 @@ export type DB = {
|
|
|
849
855
|
campaign: Campaign;
|
|
850
856
|
campaignToProductList: CampaignToProductList;
|
|
851
857
|
campaignToShopifyProduct: CampaignToShopifyProduct;
|
|
858
|
+
campaignToSocialPost: CampaignToSocialPost;
|
|
852
859
|
CampaignInvite: CampaignInvite;
|
|
853
860
|
campaignpin: CampaignPin;
|
|
854
861
|
campaignstep: CampaignStep;
|
|
@@ -858,7 +865,7 @@ export type DB = {
|
|
|
858
865
|
campaigntoimage: CampaignToImage;
|
|
859
866
|
category: Category;
|
|
860
867
|
chat: Chat;
|
|
861
|
-
cjevent:
|
|
868
|
+
cjevent: CjEvent;
|
|
862
869
|
country: Country;
|
|
863
870
|
CreatorFlag: CreatorFlag;
|
|
864
871
|
creatorlist: CreatorList;
|