@creator.co/creatorco-kysely-types 1.0.48 → 1.0.50

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.
Files changed (2) hide show
  1. package/index.d.ts +13 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -244,6 +244,17 @@ export type Country = {
244
244
  countryName: string;
245
245
  teleCode: string;
246
246
  };
247
+ export type CreatorFlag = {
248
+ id: GeneratedAlways<number>;
249
+ label: string;
250
+ comment: string | null;
251
+ color: string;
252
+ createdAt: Generated<Timestamp>;
253
+ updatedAt: Timestamp;
254
+ userId: number;
255
+ flaggedByUserId: number;
256
+ editedByUserId: number | null;
257
+ };
247
258
  export type CreatorList = {
248
259
  id: GeneratedAlways<number>;
249
260
  brandId: number;
@@ -425,6 +436,7 @@ export type OptIn = {
425
436
  paymentStatus: Generated<string>;
426
437
  extraData: Generated<Json>;
427
438
  favoritedDate: Timestamp | null;
439
+ rating: Json | null;
428
440
  userId: number;
429
441
  campaignId: number;
430
442
  currentStepId: number | null;
@@ -835,6 +847,7 @@ export type DB = {
835
847
  category: Category;
836
848
  chat: Chat;
837
849
  country: Country;
850
+ CreatorFlag: CreatorFlag;
838
851
  creatorlist: CreatorList;
839
852
  creatorlistitem: CreatorListItem;
840
853
  creatorprofile: CreatorProfile;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@creator.co/creatorco-kysely-types",
3
- "version": "1.0.48",
3
+ "version": "1.0.50",
4
4
  "types": "./index.d.ts",
5
5
  "type": "commonjs",
6
6
  "devDependencies": {