@creator.co/creatorco-kysely-types 1.0.97 → 1.0.99

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 +22 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -186,6 +186,7 @@ export type BrandUserProfile = {
186
186
  userId: number;
187
187
  brandId: number;
188
188
  agencyPrivileges: Generated<boolean>;
189
+ pinnedCampaigns: Generated<number[]>;
189
190
  };
190
191
  export type Campaign = {
191
192
  id: GeneratedAlways<number>;
@@ -522,6 +523,26 @@ export type File = {
522
523
  updatedAt: Timestamp;
523
524
  archivedAt: Timestamp | null;
524
525
  };
526
+ export type FileUpload = {
527
+ id: GeneratedAlways<string>;
528
+ filename: string;
529
+ originalName: string | null;
530
+ s3Key: string;
531
+ s3Bucket: string;
532
+ fileSize: number | null;
533
+ mimeType: string | null;
534
+ status: Generated<string>;
535
+ scanResult: Json | null;
536
+ scannedAt: Timestamp | null;
537
+ uploadedBy: number | null;
538
+ uploadContext: string | null;
539
+ contextId: string | null;
540
+ productionKey: string | null;
541
+ productionUrl: string | null;
542
+ metadata: Generated<Json>;
543
+ createdAt: Generated<Timestamp>;
544
+ updatedAt: Timestamp;
545
+ };
525
546
  export type Image = {
526
547
  id: GeneratedAlways<number>;
527
548
  url: string;
@@ -1154,6 +1175,7 @@ export type DB = {
1154
1175
  facebookprofile: FacebookProfile;
1155
1176
  failureLog: FailureLog;
1156
1177
  file: File;
1178
+ fileUpload: FileUpload;
1157
1179
  image: Image;
1158
1180
  ImpactRadiusEvent: ImpactRadiusEvent;
1159
1181
  instagramprofile: InstagramProfile;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@creator.co/creatorco-kysely-types",
3
- "version": "1.0.97",
3
+ "version": "1.0.99",
4
4
  "types": "./index.d.ts",
5
5
  "type": "commonjs",
6
6
  "devDependencies": {