@bash-app/bash-common 30.443.0 → 30.445.0
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/dist/extendedSchemas.d.ts +63 -349
- package/dist/extendedSchemas.d.ts.map +1 -1
- package/dist/extendedSchemas.js +5 -11
- package/dist/extendedSchemas.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/membershipDefinitions.js +2 -2
- package/dist/membershipDefinitions.js.map +1 -1
- package/dist/utils/__tests__/ticketTierValidation.test.d.ts +2 -0
- package/dist/utils/__tests__/ticketTierValidation.test.d.ts.map +1 -0
- package/dist/utils/__tests__/ticketTierValidation.test.js +11 -0
- package/dist/utils/__tests__/ticketTierValidation.test.js.map +1 -0
- package/dist/utils/eventTaskVolunteerRewardUtils.d.ts +10 -0
- package/dist/utils/eventTaskVolunteerRewardUtils.d.ts.map +1 -1
- package/dist/utils/eventTaskVolunteerRewardUtils.js +38 -0
- package/dist/utils/eventTaskVolunteerRewardUtils.js.map +1 -1
- package/dist/utils/organizationMembershipValidation.d.ts +7 -0
- package/dist/utils/organizationMembershipValidation.d.ts.map +1 -0
- package/dist/utils/organizationMembershipValidation.js +16 -0
- package/dist/utils/organizationMembershipValidation.js.map +1 -0
- package/dist/utils/ticketTierValidation.d.ts +9 -0
- package/dist/utils/ticketTierValidation.d.ts.map +1 -0
- package/dist/utils/ticketTierValidation.js +15 -0
- package/dist/utils/ticketTierValidation.js.map +1 -0
- package/package.json +1 -1
- package/prisma/schema.prisma +2 -2
- package/src/extendedSchemas.ts +12 -16
- package/src/index.ts +4 -0
- package/src/membershipDefinitions.ts +2 -2
- package/src/utils/__tests__/ticketTierValidation.test.ts +10 -0
- package/src/utils/eventTaskVolunteerRewardUtils.ts +59 -3
- package/src/utils/organizationMembershipValidation.ts +18 -0
- package/src/utils/ticketTierValidation.ts +20 -0
|
@@ -529,7 +529,9 @@ type BashEventExtBase = Override<Omit<BashEvent, "ideaExpiresAt" | "ideaInterest
|
|
|
529
529
|
bashEventSuggestions?: (BashEventSuggestion & {
|
|
530
530
|
creator: PublicUser;
|
|
531
531
|
})[];
|
|
532
|
-
eventTasks: EventTask
|
|
532
|
+
eventTasks: (EventTask & {
|
|
533
|
+
assignments?: EventTaskAssignment[];
|
|
534
|
+
})[];
|
|
533
535
|
tickets?: TicketFlexible[];
|
|
534
536
|
invitations: Partial<InvitationExt>[];
|
|
535
537
|
venueServiceId?: string;
|
|
@@ -899,7 +901,11 @@ export declare const BASH_EVENT_DATA_TO_INCLUDE: {
|
|
|
899
901
|
createdAt: "asc";
|
|
900
902
|
};
|
|
901
903
|
};
|
|
902
|
-
eventTasks:
|
|
904
|
+
eventTasks: {
|
|
905
|
+
include: {
|
|
906
|
+
assignments: true;
|
|
907
|
+
};
|
|
908
|
+
};
|
|
903
909
|
invitations: true;
|
|
904
910
|
competitions: {
|
|
905
911
|
include: {
|
|
@@ -1909,7 +1915,11 @@ export declare const SERVICE_DATA_TO_INCLUDE: {
|
|
|
1909
1915
|
createdAt: "asc";
|
|
1910
1916
|
};
|
|
1911
1917
|
};
|
|
1912
|
-
eventTasks:
|
|
1918
|
+
eventTasks: {
|
|
1919
|
+
include: {
|
|
1920
|
+
assignments: true;
|
|
1921
|
+
};
|
|
1922
|
+
};
|
|
1913
1923
|
invitations: true;
|
|
1914
1924
|
competitions: {
|
|
1915
1925
|
include: {
|
|
@@ -4118,84 +4128,43 @@ export declare const BASH_NOTIFICATION_DATA_TO_INCLUDE: {
|
|
|
4118
4128
|
};
|
|
4119
4129
|
};
|
|
4120
4130
|
export interface TaskCommentExt extends TaskComment {
|
|
4121
|
-
author:
|
|
4131
|
+
author: PublicTeaserUser;
|
|
4122
4132
|
}
|
|
4123
4133
|
export declare const TASK_COMMENT_DATA_TO_INCLUDE: {
|
|
4124
4134
|
author: {
|
|
4125
4135
|
select: {
|
|
4126
4136
|
id: true;
|
|
4127
4137
|
username: true;
|
|
4128
|
-
email: true;
|
|
4129
4138
|
givenName: true;
|
|
4130
4139
|
familyName: true;
|
|
4131
4140
|
image: true;
|
|
4132
4141
|
imageUpdatedAt: true;
|
|
4133
4142
|
uploadedImage: true;
|
|
4134
4143
|
uploadedImageUpdatedAt: true;
|
|
4135
|
-
|
|
4136
|
-
socialMediaProfiles:
|
|
4137
|
-
city: true;
|
|
4138
|
-
state: true;
|
|
4139
|
-
createdOn: true;
|
|
4140
|
-
dob: true;
|
|
4141
|
-
showAgeOnProfile: true;
|
|
4142
|
-
showGenderOnProfile: true;
|
|
4143
|
-
showSocialEventCadenceOnProfile: true;
|
|
4144
|
-
showVerifiedBadgesOnProfile: true;
|
|
4145
|
-
schoolName: true;
|
|
4146
|
-
documentIDId: true;
|
|
4147
|
-
/** Set when Stripe Identity verification completes (hosted flow). */
|
|
4148
|
-
idVerified: true;
|
|
4149
|
-
/** $1 card verification (Stripe PaymentIntent). Unlocks publish gate + 2x earn multiplier */
|
|
4150
|
-
paymentVerified: true;
|
|
4151
|
-
reviews: true;
|
|
4152
|
-
contacts: true;
|
|
4153
|
-
accepted: true;
|
|
4154
|
-
boughtTicket: true;
|
|
4155
|
-
noPay: true;
|
|
4156
|
-
supportedEvent: true;
|
|
4157
|
-
aboutMe: true;
|
|
4158
|
-
levelBadge: true;
|
|
4159
|
-
temporaryBadges: true;
|
|
4160
|
-
artistsToSee: true;
|
|
4161
|
-
membershipTier: true;
|
|
4162
|
-
isAmbashador: true;
|
|
4163
|
-
isBashInsider: true;
|
|
4164
|
-
scoutTier: true;
|
|
4165
|
-
isFirstInCity: true;
|
|
4166
|
-
/** Venmo / Zelle / CashApp handle for off-platform payouts (promoters). */
|
|
4167
|
-
paymentHandle: true;
|
|
4168
|
-
/** BashPoints loyalty (API may omit when viewing someone else’s profile). */
|
|
4169
|
-
bashPointsBalance: true;
|
|
4170
|
-
bashPointsEarnedLifetime: true;
|
|
4171
|
-
/** Home hero “Stuff the horn” best clear (ms; lower is better). */
|
|
4172
|
-
hornClearBestMs: true;
|
|
4173
|
-
hornClearBestAt: true;
|
|
4174
|
-
/** Host reputation fields */
|
|
4175
|
-
hostRating: true;
|
|
4176
|
-
totalRatings: true;
|
|
4177
|
-
totalEventsHosted: true;
|
|
4178
|
-
/** Whether this account is suspended (superuser admin visibility). */
|
|
4179
|
-
isSuspended: true;
|
|
4180
|
-
/** Subscription summary for public surfaces. Omit Stripe linkage fields (see PUBLIC_USER_SUBSCRIPTION_DATA_TO_SELECT). */
|
|
4181
|
-
userSubscription: {
|
|
4144
|
+
/** Public social links for attendee lists / teasers (IG, LinkedIn, etc.). */
|
|
4145
|
+
socialMediaProfiles: {
|
|
4182
4146
|
select: {
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
listedCount: true;
|
|
4147
|
+
id: true;
|
|
4148
|
+
platform: true;
|
|
4149
|
+
url: true;
|
|
4150
|
+
userId: true;
|
|
4188
4151
|
};
|
|
4189
4152
|
};
|
|
4190
4153
|
};
|
|
4191
4154
|
};
|
|
4192
4155
|
};
|
|
4193
4156
|
export interface EventTaskAssignmentExt extends EventTaskAssignment {
|
|
4194
|
-
user:
|
|
4157
|
+
user: PublicTeaserUser & {
|
|
4158
|
+
email?: string;
|
|
4159
|
+
};
|
|
4195
4160
|
}
|
|
4196
4161
|
export interface EventTaskExt extends EventTask {
|
|
4197
|
-
|
|
4198
|
-
|
|
4162
|
+
/** Scoped to the signed-in recipient by the event tasks API. */
|
|
4163
|
+
pendingInviteForMe?: boolean;
|
|
4164
|
+
creator: PublicTeaserUser;
|
|
4165
|
+
assignedTo?: (PublicTeaserUser & {
|
|
4166
|
+
email?: string;
|
|
4167
|
+
}) | null;
|
|
4199
4168
|
assignments?: EventTaskAssignmentExt[];
|
|
4200
4169
|
comments?: TaskCommentExt[];
|
|
4201
4170
|
}
|
|
@@ -4204,66 +4173,19 @@ export declare const EVENT_TASK_ASSIGNMENT_DATA_TO_INCLUDE: {
|
|
|
4204
4173
|
select: {
|
|
4205
4174
|
id: true;
|
|
4206
4175
|
username: true;
|
|
4207
|
-
email: true;
|
|
4208
4176
|
givenName: true;
|
|
4209
4177
|
familyName: true;
|
|
4210
4178
|
image: true;
|
|
4211
4179
|
imageUpdatedAt: true;
|
|
4212
4180
|
uploadedImage: true;
|
|
4213
4181
|
uploadedImageUpdatedAt: true;
|
|
4214
|
-
|
|
4215
|
-
socialMediaProfiles:
|
|
4216
|
-
city: true;
|
|
4217
|
-
state: true;
|
|
4218
|
-
createdOn: true;
|
|
4219
|
-
dob: true;
|
|
4220
|
-
showAgeOnProfile: true;
|
|
4221
|
-
showGenderOnProfile: true;
|
|
4222
|
-
showSocialEventCadenceOnProfile: true;
|
|
4223
|
-
showVerifiedBadgesOnProfile: true;
|
|
4224
|
-
schoolName: true;
|
|
4225
|
-
documentIDId: true;
|
|
4226
|
-
/** Set when Stripe Identity verification completes (hosted flow). */
|
|
4227
|
-
idVerified: true;
|
|
4228
|
-
/** $1 card verification (Stripe PaymentIntent). Unlocks publish gate + 2x earn multiplier */
|
|
4229
|
-
paymentVerified: true;
|
|
4230
|
-
reviews: true;
|
|
4231
|
-
contacts: true;
|
|
4232
|
-
accepted: true;
|
|
4233
|
-
boughtTicket: true;
|
|
4234
|
-
noPay: true;
|
|
4235
|
-
supportedEvent: true;
|
|
4236
|
-
aboutMe: true;
|
|
4237
|
-
levelBadge: true;
|
|
4238
|
-
temporaryBadges: true;
|
|
4239
|
-
artistsToSee: true;
|
|
4240
|
-
membershipTier: true;
|
|
4241
|
-
isAmbashador: true;
|
|
4242
|
-
isBashInsider: true;
|
|
4243
|
-
scoutTier: true;
|
|
4244
|
-
isFirstInCity: true;
|
|
4245
|
-
/** Venmo / Zelle / CashApp handle for off-platform payouts (promoters). */
|
|
4246
|
-
paymentHandle: true;
|
|
4247
|
-
/** BashPoints loyalty (API may omit when viewing someone else’s profile). */
|
|
4248
|
-
bashPointsBalance: true;
|
|
4249
|
-
bashPointsEarnedLifetime: true;
|
|
4250
|
-
/** Home hero “Stuff the horn” best clear (ms; lower is better). */
|
|
4251
|
-
hornClearBestMs: true;
|
|
4252
|
-
hornClearBestAt: true;
|
|
4253
|
-
/** Host reputation fields */
|
|
4254
|
-
hostRating: true;
|
|
4255
|
-
totalRatings: true;
|
|
4256
|
-
totalEventsHosted: true;
|
|
4257
|
-
/** Whether this account is suspended (superuser admin visibility). */
|
|
4258
|
-
isSuspended: true;
|
|
4259
|
-
/** Subscription summary for public surfaces. Omit Stripe linkage fields (see PUBLIC_USER_SUBSCRIPTION_DATA_TO_SELECT). */
|
|
4260
|
-
userSubscription: {
|
|
4182
|
+
/** Public social links for attendee lists / teasers (IG, LinkedIn, etc.). */
|
|
4183
|
+
socialMediaProfiles: {
|
|
4261
4184
|
select: {
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
listedCount: true;
|
|
4185
|
+
id: true;
|
|
4186
|
+
platform: true;
|
|
4187
|
+
url: true;
|
|
4188
|
+
userId: true;
|
|
4267
4189
|
};
|
|
4268
4190
|
};
|
|
4269
4191
|
};
|
|
@@ -4274,66 +4196,19 @@ export declare const EVENT_TASK_DATA_TO_INCLUDE: {
|
|
|
4274
4196
|
select: {
|
|
4275
4197
|
id: true;
|
|
4276
4198
|
username: true;
|
|
4277
|
-
email: true;
|
|
4278
4199
|
givenName: true;
|
|
4279
4200
|
familyName: true;
|
|
4280
4201
|
image: true;
|
|
4281
4202
|
imageUpdatedAt: true;
|
|
4282
4203
|
uploadedImage: true;
|
|
4283
4204
|
uploadedImageUpdatedAt: true;
|
|
4284
|
-
|
|
4285
|
-
socialMediaProfiles:
|
|
4286
|
-
city: true;
|
|
4287
|
-
state: true;
|
|
4288
|
-
createdOn: true;
|
|
4289
|
-
dob: true;
|
|
4290
|
-
showAgeOnProfile: true;
|
|
4291
|
-
showGenderOnProfile: true;
|
|
4292
|
-
showSocialEventCadenceOnProfile: true;
|
|
4293
|
-
showVerifiedBadgesOnProfile: true;
|
|
4294
|
-
schoolName: true;
|
|
4295
|
-
documentIDId: true;
|
|
4296
|
-
/** Set when Stripe Identity verification completes (hosted flow). */
|
|
4297
|
-
idVerified: true;
|
|
4298
|
-
/** $1 card verification (Stripe PaymentIntent). Unlocks publish gate + 2x earn multiplier */
|
|
4299
|
-
paymentVerified: true;
|
|
4300
|
-
reviews: true;
|
|
4301
|
-
contacts: true;
|
|
4302
|
-
accepted: true;
|
|
4303
|
-
boughtTicket: true;
|
|
4304
|
-
noPay: true;
|
|
4305
|
-
supportedEvent: true;
|
|
4306
|
-
aboutMe: true;
|
|
4307
|
-
levelBadge: true;
|
|
4308
|
-
temporaryBadges: true;
|
|
4309
|
-
artistsToSee: true;
|
|
4310
|
-
membershipTier: true;
|
|
4311
|
-
isAmbashador: true;
|
|
4312
|
-
isBashInsider: true;
|
|
4313
|
-
scoutTier: true;
|
|
4314
|
-
isFirstInCity: true;
|
|
4315
|
-
/** Venmo / Zelle / CashApp handle for off-platform payouts (promoters). */
|
|
4316
|
-
paymentHandle: true;
|
|
4317
|
-
/** BashPoints loyalty (API may omit when viewing someone else’s profile). */
|
|
4318
|
-
bashPointsBalance: true;
|
|
4319
|
-
bashPointsEarnedLifetime: true;
|
|
4320
|
-
/** Home hero “Stuff the horn” best clear (ms; lower is better). */
|
|
4321
|
-
hornClearBestMs: true;
|
|
4322
|
-
hornClearBestAt: true;
|
|
4323
|
-
/** Host reputation fields */
|
|
4324
|
-
hostRating: true;
|
|
4325
|
-
totalRatings: true;
|
|
4326
|
-
totalEventsHosted: true;
|
|
4327
|
-
/** Whether this account is suspended (superuser admin visibility). */
|
|
4328
|
-
isSuspended: true;
|
|
4329
|
-
/** Subscription summary for public surfaces. Omit Stripe linkage fields (see PUBLIC_USER_SUBSCRIPTION_DATA_TO_SELECT). */
|
|
4330
|
-
userSubscription: {
|
|
4205
|
+
/** Public social links for attendee lists / teasers (IG, LinkedIn, etc.). */
|
|
4206
|
+
socialMediaProfiles: {
|
|
4331
4207
|
select: {
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
listedCount: true;
|
|
4208
|
+
id: true;
|
|
4209
|
+
platform: true;
|
|
4210
|
+
url: true;
|
|
4211
|
+
userId: true;
|
|
4337
4212
|
};
|
|
4338
4213
|
};
|
|
4339
4214
|
};
|
|
@@ -4342,66 +4217,19 @@ export declare const EVENT_TASK_DATA_TO_INCLUDE: {
|
|
|
4342
4217
|
select: {
|
|
4343
4218
|
id: true;
|
|
4344
4219
|
username: true;
|
|
4345
|
-
email: true;
|
|
4346
4220
|
givenName: true;
|
|
4347
4221
|
familyName: true;
|
|
4348
4222
|
image: true;
|
|
4349
4223
|
imageUpdatedAt: true;
|
|
4350
4224
|
uploadedImage: true;
|
|
4351
4225
|
uploadedImageUpdatedAt: true;
|
|
4352
|
-
|
|
4353
|
-
socialMediaProfiles:
|
|
4354
|
-
city: true;
|
|
4355
|
-
state: true;
|
|
4356
|
-
createdOn: true;
|
|
4357
|
-
dob: true;
|
|
4358
|
-
showAgeOnProfile: true;
|
|
4359
|
-
showGenderOnProfile: true;
|
|
4360
|
-
showSocialEventCadenceOnProfile: true;
|
|
4361
|
-
showVerifiedBadgesOnProfile: true;
|
|
4362
|
-
schoolName: true;
|
|
4363
|
-
documentIDId: true;
|
|
4364
|
-
/** Set when Stripe Identity verification completes (hosted flow). */
|
|
4365
|
-
idVerified: true;
|
|
4366
|
-
/** $1 card verification (Stripe PaymentIntent). Unlocks publish gate + 2x earn multiplier */
|
|
4367
|
-
paymentVerified: true;
|
|
4368
|
-
reviews: true;
|
|
4369
|
-
contacts: true;
|
|
4370
|
-
accepted: true;
|
|
4371
|
-
boughtTicket: true;
|
|
4372
|
-
noPay: true;
|
|
4373
|
-
supportedEvent: true;
|
|
4374
|
-
aboutMe: true;
|
|
4375
|
-
levelBadge: true;
|
|
4376
|
-
temporaryBadges: true;
|
|
4377
|
-
artistsToSee: true;
|
|
4378
|
-
membershipTier: true;
|
|
4379
|
-
isAmbashador: true;
|
|
4380
|
-
isBashInsider: true;
|
|
4381
|
-
scoutTier: true;
|
|
4382
|
-
isFirstInCity: true;
|
|
4383
|
-
/** Venmo / Zelle / CashApp handle for off-platform payouts (promoters). */
|
|
4384
|
-
paymentHandle: true;
|
|
4385
|
-
/** BashPoints loyalty (API may omit when viewing someone else’s profile). */
|
|
4386
|
-
bashPointsBalance: true;
|
|
4387
|
-
bashPointsEarnedLifetime: true;
|
|
4388
|
-
/** Home hero “Stuff the horn” best clear (ms; lower is better). */
|
|
4389
|
-
hornClearBestMs: true;
|
|
4390
|
-
hornClearBestAt: true;
|
|
4391
|
-
/** Host reputation fields */
|
|
4392
|
-
hostRating: true;
|
|
4393
|
-
totalRatings: true;
|
|
4394
|
-
totalEventsHosted: true;
|
|
4395
|
-
/** Whether this account is suspended (superuser admin visibility). */
|
|
4396
|
-
isSuspended: true;
|
|
4397
|
-
/** Subscription summary for public surfaces. Omit Stripe linkage fields (see PUBLIC_USER_SUBSCRIPTION_DATA_TO_SELECT). */
|
|
4398
|
-
userSubscription: {
|
|
4226
|
+
/** Public social links for attendee lists / teasers (IG, LinkedIn, etc.). */
|
|
4227
|
+
socialMediaProfiles: {
|
|
4399
4228
|
select: {
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
listedCount: true;
|
|
4229
|
+
id: true;
|
|
4230
|
+
platform: true;
|
|
4231
|
+
url: true;
|
|
4232
|
+
userId: true;
|
|
4405
4233
|
};
|
|
4406
4234
|
};
|
|
4407
4235
|
};
|
|
@@ -4412,66 +4240,19 @@ export declare const EVENT_TASK_DATA_TO_INCLUDE: {
|
|
|
4412
4240
|
select: {
|
|
4413
4241
|
id: true;
|
|
4414
4242
|
username: true;
|
|
4415
|
-
email: true;
|
|
4416
4243
|
givenName: true;
|
|
4417
4244
|
familyName: true;
|
|
4418
4245
|
image: true;
|
|
4419
4246
|
imageUpdatedAt: true;
|
|
4420
4247
|
uploadedImage: true;
|
|
4421
4248
|
uploadedImageUpdatedAt: true;
|
|
4422
|
-
|
|
4423
|
-
socialMediaProfiles:
|
|
4424
|
-
city: true;
|
|
4425
|
-
state: true;
|
|
4426
|
-
createdOn: true;
|
|
4427
|
-
dob: true;
|
|
4428
|
-
showAgeOnProfile: true;
|
|
4429
|
-
showGenderOnProfile: true;
|
|
4430
|
-
showSocialEventCadenceOnProfile: true;
|
|
4431
|
-
showVerifiedBadgesOnProfile: true;
|
|
4432
|
-
schoolName: true;
|
|
4433
|
-
documentIDId: true;
|
|
4434
|
-
/** Set when Stripe Identity verification completes (hosted flow). */
|
|
4435
|
-
idVerified: true;
|
|
4436
|
-
/** $1 card verification (Stripe PaymentIntent). Unlocks publish gate + 2x earn multiplier */
|
|
4437
|
-
paymentVerified: true;
|
|
4438
|
-
reviews: true;
|
|
4439
|
-
contacts: true;
|
|
4440
|
-
accepted: true;
|
|
4441
|
-
boughtTicket: true;
|
|
4442
|
-
noPay: true;
|
|
4443
|
-
supportedEvent: true;
|
|
4444
|
-
aboutMe: true;
|
|
4445
|
-
levelBadge: true;
|
|
4446
|
-
temporaryBadges: true;
|
|
4447
|
-
artistsToSee: true;
|
|
4448
|
-
membershipTier: true;
|
|
4449
|
-
isAmbashador: true;
|
|
4450
|
-
isBashInsider: true;
|
|
4451
|
-
scoutTier: true;
|
|
4452
|
-
isFirstInCity: true;
|
|
4453
|
-
/** Venmo / Zelle / CashApp handle for off-platform payouts (promoters). */
|
|
4454
|
-
paymentHandle: true;
|
|
4455
|
-
/** BashPoints loyalty (API may omit when viewing someone else’s profile). */
|
|
4456
|
-
bashPointsBalance: true;
|
|
4457
|
-
bashPointsEarnedLifetime: true;
|
|
4458
|
-
/** Home hero “Stuff the horn” best clear (ms; lower is better). */
|
|
4459
|
-
hornClearBestMs: true;
|
|
4460
|
-
hornClearBestAt: true;
|
|
4461
|
-
/** Host reputation fields */
|
|
4462
|
-
hostRating: true;
|
|
4463
|
-
totalRatings: true;
|
|
4464
|
-
totalEventsHosted: true;
|
|
4465
|
-
/** Whether this account is suspended (superuser admin visibility). */
|
|
4466
|
-
isSuspended: true;
|
|
4467
|
-
/** Subscription summary for public surfaces. Omit Stripe linkage fields (see PUBLIC_USER_SUBSCRIPTION_DATA_TO_SELECT). */
|
|
4468
|
-
userSubscription: {
|
|
4249
|
+
/** Public social links for attendee lists / teasers (IG, LinkedIn, etc.). */
|
|
4250
|
+
socialMediaProfiles: {
|
|
4469
4251
|
select: {
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
listedCount: true;
|
|
4252
|
+
id: true;
|
|
4253
|
+
platform: true;
|
|
4254
|
+
url: true;
|
|
4255
|
+
userId: true;
|
|
4475
4256
|
};
|
|
4476
4257
|
};
|
|
4477
4258
|
};
|
|
@@ -4481,81 +4262,6 @@ export declare const EVENT_TASK_DATA_TO_INCLUDE: {
|
|
|
4481
4262
|
createdAt: "asc";
|
|
4482
4263
|
};
|
|
4483
4264
|
};
|
|
4484
|
-
comments: {
|
|
4485
|
-
include: {
|
|
4486
|
-
author: {
|
|
4487
|
-
select: {
|
|
4488
|
-
id: true;
|
|
4489
|
-
username: true;
|
|
4490
|
-
email: true;
|
|
4491
|
-
givenName: true;
|
|
4492
|
-
familyName: true;
|
|
4493
|
-
image: true;
|
|
4494
|
-
imageUpdatedAt: true;
|
|
4495
|
-
uploadedImage: true;
|
|
4496
|
-
uploadedImageUpdatedAt: true;
|
|
4497
|
-
isSuperUser: true;
|
|
4498
|
-
socialMediaProfiles: true;
|
|
4499
|
-
city: true;
|
|
4500
|
-
state: true;
|
|
4501
|
-
createdOn: true;
|
|
4502
|
-
dob: true;
|
|
4503
|
-
showAgeOnProfile: true;
|
|
4504
|
-
showGenderOnProfile: true;
|
|
4505
|
-
showSocialEventCadenceOnProfile: true;
|
|
4506
|
-
showVerifiedBadgesOnProfile: true;
|
|
4507
|
-
schoolName: true;
|
|
4508
|
-
documentIDId: true;
|
|
4509
|
-
/** Set when Stripe Identity verification completes (hosted flow). */
|
|
4510
|
-
idVerified: true;
|
|
4511
|
-
/** $1 card verification (Stripe PaymentIntent). Unlocks publish gate + 2x earn multiplier */
|
|
4512
|
-
paymentVerified: true;
|
|
4513
|
-
reviews: true;
|
|
4514
|
-
contacts: true;
|
|
4515
|
-
accepted: true;
|
|
4516
|
-
boughtTicket: true;
|
|
4517
|
-
noPay: true;
|
|
4518
|
-
supportedEvent: true;
|
|
4519
|
-
aboutMe: true;
|
|
4520
|
-
levelBadge: true;
|
|
4521
|
-
temporaryBadges: true;
|
|
4522
|
-
artistsToSee: true;
|
|
4523
|
-
membershipTier: true;
|
|
4524
|
-
isAmbashador: true;
|
|
4525
|
-
isBashInsider: true;
|
|
4526
|
-
scoutTier: true;
|
|
4527
|
-
isFirstInCity: true;
|
|
4528
|
-
/** Venmo / Zelle / CashApp handle for off-platform payouts (promoters). */
|
|
4529
|
-
paymentHandle: true;
|
|
4530
|
-
/** BashPoints loyalty (API may omit when viewing someone else’s profile). */
|
|
4531
|
-
bashPointsBalance: true;
|
|
4532
|
-
bashPointsEarnedLifetime: true;
|
|
4533
|
-
/** Home hero “Stuff the horn” best clear (ms; lower is better). */
|
|
4534
|
-
hornClearBestMs: true;
|
|
4535
|
-
hornClearBestAt: true;
|
|
4536
|
-
/** Host reputation fields */
|
|
4537
|
-
hostRating: true;
|
|
4538
|
-
totalRatings: true;
|
|
4539
|
-
totalEventsHosted: true;
|
|
4540
|
-
/** Whether this account is suspended (superuser admin visibility). */
|
|
4541
|
-
isSuspended: true;
|
|
4542
|
-
/** Subscription summary for public surfaces. Omit Stripe linkage fields (see PUBLIC_USER_SUBSCRIPTION_DATA_TO_SELECT). */
|
|
4543
|
-
userSubscription: {
|
|
4544
|
-
select: {
|
|
4545
|
-
type: true;
|
|
4546
|
-
status: true;
|
|
4547
|
-
ownerId: true;
|
|
4548
|
-
subscriptionCount: true;
|
|
4549
|
-
listedCount: true;
|
|
4550
|
-
};
|
|
4551
|
-
};
|
|
4552
|
-
};
|
|
4553
|
-
};
|
|
4554
|
-
};
|
|
4555
|
-
orderBy: {
|
|
4556
|
-
createdAt: "desc";
|
|
4557
|
-
};
|
|
4558
|
-
};
|
|
4559
4265
|
};
|
|
4560
4266
|
export interface InvitationExt extends Invitation {
|
|
4561
4267
|
creator: PublicUser;
|
|
@@ -4898,7 +4604,11 @@ export declare const ASSOCIATED_BASH_DATA_TO_INCLUDE: {
|
|
|
4898
4604
|
createdAt: "asc";
|
|
4899
4605
|
};
|
|
4900
4606
|
};
|
|
4901
|
-
eventTasks:
|
|
4607
|
+
eventTasks: {
|
|
4608
|
+
include: {
|
|
4609
|
+
assignments: true;
|
|
4610
|
+
};
|
|
4611
|
+
};
|
|
4902
4612
|
invitations: true;
|
|
4903
4613
|
competitions: {
|
|
4904
4614
|
include: {
|
|
@@ -5645,7 +5355,11 @@ export declare const ASSOCIATED_SERVICE_DATA_TO_INCLUDE: {
|
|
|
5645
5355
|
createdAt: "asc";
|
|
5646
5356
|
};
|
|
5647
5357
|
};
|
|
5648
|
-
eventTasks:
|
|
5358
|
+
eventTasks: {
|
|
5359
|
+
include: {
|
|
5360
|
+
assignments: true;
|
|
5361
|
+
};
|
|
5362
|
+
};
|
|
5649
5363
|
invitations: true;
|
|
5650
5364
|
competitions: {
|
|
5651
5365
|
include: {
|