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

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,10 +177,6 @@ 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
- };
184
180
  export type Category = {
185
181
  id: GeneratedAlways<number>;
186
182
  slug: string;
@@ -367,6 +363,7 @@ export type OptIn = {
367
363
  paymentAmount: number | null;
368
364
  paymentStatus: Generated<string>;
369
365
  extraData: Generated<Json>;
366
+ favoritedDate: Timestamp | null;
370
367
  userId: number;
371
368
  campaignId: number;
372
369
  currentStepId: number | null;
@@ -485,25 +482,6 @@ export type SequenceStep = {
485
482
  order: number;
486
483
  stepId: number;
487
484
  };
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
- };
507
485
  export type SocialListeningList = {
508
486
  id: GeneratedAlways<number>;
509
487
  brandId: number;
@@ -710,7 +688,6 @@ export type DB = {
710
688
  brandtoimage: BrandToImage;
711
689
  branduserprofile: BrandUserProfile;
712
690
  campaign: Campaign;
713
- campaign_to_shopify_product: CampaignToShopifyProduct;
714
691
  CampaignInvite: CampaignInvite;
715
692
  campaignpin: CampaignPin;
716
693
  campaignstep: CampaignStep;
@@ -748,8 +725,6 @@ export type DB = {
748
725
  sequenceinboundemail: SequenceInboundEmail;
749
726
  sequenceoutboundemail: SequenceOutboundEmail;
750
727
  sequencestep: SequenceStep;
751
- shopify_product: ShopifyProduct;
752
- shopify_store: ShopifyStore;
753
728
  sociallisteninglist: SocialListeningList;
754
729
  socialpost: SocialPost;
755
730
  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, string, string>
3
+ export type Json = ColumnType<JsonValue, JsonValue, JsonValue>
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.22-alpha-c4b16cb",
3
+ "version": "1.0.22-alpha-c781f9f",
4
4
  "types": "./index.d.ts",
5
5
  "type": "module",
6
6
  "devDependencies": {
7
7
  "typescript": "^5.2.2"
8
8
  },
9
- "dependencies": {
10
- "kysely": "^0.26.3"
9
+ "peerDependencies": {
10
+ "kysely": "^0.x.x"
11
11
  },
12
12
  "description": "Kysely types for creatorco Database"
13
13
  }