@creator.co/creatorco-kysely-types 1.0.21 → 1.0.22-alpha-c4b16cb

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 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,25 @@ 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
+ image_url: string;
494
+ meta_data: Generated<Json>;
495
+ last_synced: Generated<Timestamp>;
496
+ shopify_store_id: number;
497
+ };
498
+ export type ShopifyStore = {
499
+ id: GeneratedAlways<number>;
500
+ shopify_id: string | null;
501
+ name: string | null;
502
+ url: string;
503
+ access_token: string | null;
504
+ meta_data: Generated<Json>;
505
+ brand_id: number;
506
+ };
484
507
  export type SocialListeningList = {
485
508
  id: GeneratedAlways<number>;
486
509
  brandId: number;
@@ -687,6 +710,7 @@ export type DB = {
687
710
  brandtoimage: BrandToImage;
688
711
  branduserprofile: BrandUserProfile;
689
712
  campaign: Campaign;
713
+ campaign_to_shopify_product: CampaignToShopifyProduct;
690
714
  CampaignInvite: CampaignInvite;
691
715
  campaignpin: CampaignPin;
692
716
  campaignstep: CampaignStep;
@@ -724,6 +748,8 @@ export type DB = {
724
748
  sequenceinboundemail: SequenceInboundEmail;
725
749
  sequenceoutboundemail: SequenceOutboundEmail;
726
750
  sequencestep: SequenceStep;
751
+ shopify_product: ShopifyProduct;
752
+ shopify_store: ShopifyStore;
727
753
  sociallisteninglist: SocialListeningList;
728
754
  socialpost: SocialPost;
729
755
  socialprofile: SocialProfile;
package/kyselyJson.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ColumnType } from 'kysely'
2
2
 
3
- export type Json = ColumnType<JsonValue, JsonValue, JsonValue>
3
+ export type Json = ColumnType<JsonValue, string, string>
4
4
 
5
5
  export type JsonArray = JsonValue[]
6
6
 
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@creator.co/creatorco-kysely-types",
3
- "version": "1.0.21",
3
+ "version": "1.0.22-alpha-c4b16cb",
4
4
  "types": "./index.d.ts",
5
5
  "type": "module",
6
6
  "devDependencies": {
7
7
  "typescript": "^5.2.2"
8
8
  },
9
- "peerDependencies": {
10
- "kysely": "^0.x.x"
9
+ "dependencies": {
10
+ "kysely": "^0.26.3"
11
11
  },
12
12
  "description": "Kysely types for creatorco Database"
13
13
  }