@creator.co/creatorco-kysely-types 1.0.81 → 1.0.82-alpha-bd13b4c
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/enums.d.ts +5 -0
- package/enums.js +5 -1
- package/enums.js.map +1 -1
- package/index.d.ts +12 -1
- package/package.json +1 -1
package/enums.d.ts
CHANGED
|
@@ -19,6 +19,11 @@ export declare const CampaignToSocialPostStatus: {
|
|
|
19
19
|
readonly declined: "declined";
|
|
20
20
|
};
|
|
21
21
|
export type CampaignToSocialPostStatus = (typeof CampaignToSocialPostStatus)[keyof typeof CampaignToSocialPostStatus];
|
|
22
|
+
export declare const SocialProfileContactSource: {
|
|
23
|
+
readonly MANUAL: "MANUAL";
|
|
24
|
+
readonly IMAI: "IMAI";
|
|
25
|
+
};
|
|
26
|
+
export type SocialProfileContactSource = (typeof SocialProfileContactSource)[keyof typeof SocialProfileContactSource];
|
|
22
27
|
export declare const ShopifyStoreSyncStatus: {
|
|
23
28
|
readonly syncing: "syncing";
|
|
24
29
|
readonly synced: "synced";
|
package/enums.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ConfigurationStatus = exports.Status = exports.ShopifyStoreSyncStatus = exports.CampaignToSocialPostStatus = exports.trolleyPaymentStatus = exports.trolleyPaymentType = void 0;
|
|
3
|
+
exports.ConfigurationStatus = exports.Status = exports.ShopifyStoreSyncStatus = exports.SocialProfileContactSource = exports.CampaignToSocialPostStatus = exports.trolleyPaymentStatus = exports.trolleyPaymentType = void 0;
|
|
4
4
|
exports.trolleyPaymentType = {
|
|
5
5
|
optIn: "optIn",
|
|
6
6
|
tip: "tip",
|
|
@@ -19,6 +19,10 @@ exports.CampaignToSocialPostStatus = {
|
|
|
19
19
|
approved: "approved",
|
|
20
20
|
declined: "declined"
|
|
21
21
|
};
|
|
22
|
+
exports.SocialProfileContactSource = {
|
|
23
|
+
MANUAL: "MANUAL",
|
|
24
|
+
IMAI: "IMAI"
|
|
25
|
+
};
|
|
22
26
|
exports.ShopifyStoreSyncStatus = {
|
|
23
27
|
syncing: "syncing",
|
|
24
28
|
synced: "synced",
|
package/enums.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../enums.ts"],"names":[],"mappings":";;;AAAa,QAAA,kBAAkB,GAAG;IAC9B,KAAK,EAAE,OAAO;IACd,GAAG,EAAE,KAAK;IACV,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;CAClB,CAAC;AAEE,QAAA,oBAAoB,GAAG;IAChC,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;CACd,CAAC;AAEE,QAAA,0BAA0B,GAAG;IACtC,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;CACd,CAAC;AAEE,QAAA,sBAAsB,GAAG;IAClC,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;CACR,CAAC;AAEE,QAAA,MAAM,GAAG;IAClB,SAAS,EAAE,WAAW;IACtB,YAAY,EAAE,cAAc;CACtB,CAAC;AAEE,QAAA,mBAAmB,GAAG;IAC/B,UAAU,EAAE,YAAY;IACxB,MAAM,EAAE,QAAQ;CACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../enums.ts"],"names":[],"mappings":";;;AAAa,QAAA,kBAAkB,GAAG;IAC9B,KAAK,EAAE,OAAO;IACd,GAAG,EAAE,KAAK;IACV,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;CAClB,CAAC;AAEE,QAAA,oBAAoB,GAAG;IAChC,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;CACd,CAAC;AAEE,QAAA,0BAA0B,GAAG;IACtC,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;CACd,CAAC;AAEE,QAAA,0BAA0B,GAAG;IACtC,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;CACN,CAAC;AAEE,QAAA,sBAAsB,GAAG;IAClC,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;CACR,CAAC;AAEE,QAAA,MAAM,GAAG;IAClB,SAAS,EAAE,WAAW;IACtB,YAAY,EAAE,cAAc;CACtB,CAAC;AAEE,QAAA,mBAAmB,GAAG;IAC/B,UAAU,EAAE,YAAY;IACxB,MAAM,EAAE,QAAQ;CACV,CAAC"}
|
package/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export type Generated<T> = T extends ColumnType<infer S, infer I, infer U>
|
|
|
5
5
|
: ColumnType<T, T | undefined, T>;
|
|
6
6
|
export type Timestamp = ColumnType<Date, Date | string, Date | string>;
|
|
7
7
|
|
|
8
|
-
import type { trolleyPaymentType, trolleyPaymentStatus, CampaignToSocialPostStatus, ShopifyStoreSyncStatus, Status, ConfigurationStatus } from "./enums";
|
|
8
|
+
import type { trolleyPaymentType, trolleyPaymentStatus, CampaignToSocialPostStatus, SocialProfileContactSource, ShopifyStoreSyncStatus, Status, ConfigurationStatus } from "./enums";
|
|
9
9
|
|
|
10
10
|
export type AffiliateClick = {
|
|
11
11
|
id: GeneratedAlways<number>;
|
|
@@ -870,6 +870,16 @@ export type SocialProfile = {
|
|
|
870
870
|
created: Generated<Timestamp>;
|
|
871
871
|
updated: Timestamp | null;
|
|
872
872
|
};
|
|
873
|
+
export type SocialProfileContact = {
|
|
874
|
+
id: GeneratedAlways<number>;
|
|
875
|
+
type: string;
|
|
876
|
+
value: string;
|
|
877
|
+
source: Generated<SocialProfileContactSource>;
|
|
878
|
+
metaData: Generated<Json | null>;
|
|
879
|
+
createdAt: Generated<Timestamp | null>;
|
|
880
|
+
updatedAt: Timestamp | null;
|
|
881
|
+
socialProfileId: number;
|
|
882
|
+
};
|
|
873
883
|
export type State = {
|
|
874
884
|
id: GeneratedAlways<number>;
|
|
875
885
|
countryId: number;
|
|
@@ -1080,6 +1090,7 @@ export type DB = {
|
|
|
1080
1090
|
shopifyProductVariation: ShopifyProductVariation;
|
|
1081
1091
|
shopifySale: ShopifySale;
|
|
1082
1092
|
shopifyStore: ShopifyStore;
|
|
1093
|
+
socialProfileContact: SocialProfileContact;
|
|
1083
1094
|
sociallisteninglist: SocialListeningList;
|
|
1084
1095
|
socialpost: SocialPost;
|
|
1085
1096
|
socialprofile: SocialProfile;
|