@creator.co/creatorco-kysely-types 1.0.21 → 1.0.22-alpha-6b3aed6
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/index.d.ts +25 -0
- package/kyselyJson.d.ts +1 -1
- package/package.json +3 -3
package/index.d.ts
CHANGED
|
@@ -177,6 +177,10 @@ export type CampaignToImage = {
|
|
|
177
177
|
campaignId: number;
|
|
178
178
|
type: string;
|
|
179
179
|
};
|
|
180
|
+
export type CampaignToShopifyProduct = {
|
|
181
|
+
campaign_id: number;
|
|
182
|
+
shopify_product_id: number;
|
|
183
|
+
};
|
|
180
184
|
export type Category = {
|
|
181
185
|
id: GeneratedAlways<number>;
|
|
182
186
|
slug: string;
|
|
@@ -481,6 +485,24 @@ export type SequenceStep = {
|
|
|
481
485
|
order: number;
|
|
482
486
|
stepId: number;
|
|
483
487
|
};
|
|
488
|
+
export type ShopifyProduct = {
|
|
489
|
+
id: GeneratedAlways<number>;
|
|
490
|
+
shopify_id: string;
|
|
491
|
+
title: string;
|
|
492
|
+
handle: string;
|
|
493
|
+
meta_data: Generated<Json>;
|
|
494
|
+
last_synced: Generated<Timestamp>;
|
|
495
|
+
shopify_store_id: number;
|
|
496
|
+
};
|
|
497
|
+
export type ShopifyStore = {
|
|
498
|
+
id: GeneratedAlways<number>;
|
|
499
|
+
shopify_id: string | null;
|
|
500
|
+
name: string | null;
|
|
501
|
+
url: string;
|
|
502
|
+
access_token: string;
|
|
503
|
+
meta_data: Generated<Json>;
|
|
504
|
+
brand_id: number;
|
|
505
|
+
};
|
|
484
506
|
export type SocialListeningList = {
|
|
485
507
|
id: GeneratedAlways<number>;
|
|
486
508
|
brandId: number;
|
|
@@ -687,6 +709,7 @@ export type DB = {
|
|
|
687
709
|
brandtoimage: BrandToImage;
|
|
688
710
|
branduserprofile: BrandUserProfile;
|
|
689
711
|
campaign: Campaign;
|
|
712
|
+
campaign_to_shopify_product: CampaignToShopifyProduct;
|
|
690
713
|
CampaignInvite: CampaignInvite;
|
|
691
714
|
campaignpin: CampaignPin;
|
|
692
715
|
campaignstep: CampaignStep;
|
|
@@ -724,6 +747,8 @@ export type DB = {
|
|
|
724
747
|
sequenceinboundemail: SequenceInboundEmail;
|
|
725
748
|
sequenceoutboundemail: SequenceOutboundEmail;
|
|
726
749
|
sequencestep: SequenceStep;
|
|
750
|
+
shopify_product: ShopifyProduct;
|
|
751
|
+
shopify_store: ShopifyStore;
|
|
727
752
|
sociallisteninglist: SocialListeningList;
|
|
728
753
|
socialpost: SocialPost;
|
|
729
754
|
socialprofile: SocialProfile;
|
package/kyselyJson.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@creator.co/creatorco-kysely-types",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.22-alpha-6b3aed6",
|
|
4
4
|
"types": "./index.d.ts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"devDependencies": {
|
|
7
7
|
"typescript": "^5.2.2"
|
|
8
8
|
},
|
|
9
|
-
"
|
|
10
|
-
"kysely": "^0.
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"kysely": "^0.26.3"
|
|
11
11
|
},
|
|
12
12
|
"description": "Kysely types for creatorco Database"
|
|
13
13
|
}
|