@framebreak/types 0.1.24 → 0.1.25
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/index.d.ts +205 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -610,6 +610,131 @@ declare const v1Router: {
|
|
|
610
610
|
readonly message: "An internal server error occurred";
|
|
611
611
|
};
|
|
612
612
|
}>, Record<never, never>>;
|
|
613
|
+
search: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
|
|
614
|
+
session: {
|
|
615
|
+
id: string;
|
|
616
|
+
createdAt: Date;
|
|
617
|
+
updatedAt: Date;
|
|
618
|
+
userId: string;
|
|
619
|
+
expiresAt: Date;
|
|
620
|
+
token: string;
|
|
621
|
+
ipAddress?: string | null | undefined | undefined;
|
|
622
|
+
userAgent?: string | null | undefined | undefined;
|
|
623
|
+
impersonatedBy?: string | null | undefined;
|
|
624
|
+
};
|
|
625
|
+
user: {
|
|
626
|
+
id: string;
|
|
627
|
+
createdAt: Date;
|
|
628
|
+
updatedAt: Date;
|
|
629
|
+
email: string;
|
|
630
|
+
emailVerified: boolean;
|
|
631
|
+
name: string;
|
|
632
|
+
image?: string | null | undefined | undefined;
|
|
633
|
+
onboardingCompleted: boolean | null | undefined;
|
|
634
|
+
linkedinVerified: boolean | null | undefined;
|
|
635
|
+
linkedinVerifiedAt?: Date | null | undefined;
|
|
636
|
+
linkedinId?: string | null | undefined;
|
|
637
|
+
linkedinName?: string | null | undefined;
|
|
638
|
+
banned: boolean | null | undefined;
|
|
639
|
+
role?: string | null | undefined;
|
|
640
|
+
banReason?: string | null | undefined;
|
|
641
|
+
banExpires?: Date | null | undefined;
|
|
642
|
+
username?: string | null | undefined;
|
|
643
|
+
displayUsername?: string | null | undefined;
|
|
644
|
+
};
|
|
645
|
+
}>, zod.ZodObject<{
|
|
646
|
+
query: zod.ZodString;
|
|
647
|
+
limit: zod.ZodDefault<zod.ZodNumber>;
|
|
648
|
+
}, better_auth.$strip>, _orpc_contract.Schema<{
|
|
649
|
+
data: {
|
|
650
|
+
id: string;
|
|
651
|
+
name: string;
|
|
652
|
+
username: string | null;
|
|
653
|
+
displayUsername: string | null;
|
|
654
|
+
image: string | null;
|
|
655
|
+
}[];
|
|
656
|
+
}, {
|
|
657
|
+
data: {
|
|
658
|
+
id: string;
|
|
659
|
+
name: string;
|
|
660
|
+
username: string | null;
|
|
661
|
+
displayUsername: string | null;
|
|
662
|
+
image: string | null;
|
|
663
|
+
}[];
|
|
664
|
+
}>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
665
|
+
readonly UNAUTHORIZED: {
|
|
666
|
+
readonly message: "You must be logged in to access this resource";
|
|
667
|
+
};
|
|
668
|
+
readonly FORBIDDEN: {
|
|
669
|
+
readonly message: "You do not have permission to access this resource";
|
|
670
|
+
};
|
|
671
|
+
readonly NOT_FOUND: {
|
|
672
|
+
readonly message: "The requested resource was not found";
|
|
673
|
+
};
|
|
674
|
+
readonly BAD_REQUEST: {
|
|
675
|
+
readonly message: "Invalid request";
|
|
676
|
+
readonly data: zod.ZodOptional<zod.ZodObject<{
|
|
677
|
+
issues: zod.ZodArray<zod.ZodObject<{
|
|
678
|
+
code: zod.ZodString;
|
|
679
|
+
path: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber]>>;
|
|
680
|
+
message: zod.ZodString;
|
|
681
|
+
}, better_auth.$loose>>;
|
|
682
|
+
}, better_auth.$strip>>;
|
|
683
|
+
};
|
|
684
|
+
readonly CONFLICT: {
|
|
685
|
+
readonly message: "The request conflicts with existing data";
|
|
686
|
+
};
|
|
687
|
+
readonly INTERNAL_SERVER_ERROR: {
|
|
688
|
+
readonly message: "An internal server error occurred";
|
|
689
|
+
};
|
|
690
|
+
}>, Record<never, never>>;
|
|
691
|
+
batchGet: _orpc_server.DecoratedProcedure<BaseContext & Record<never, never>, BaseContext, zod.ZodObject<{
|
|
692
|
+
ids: zod.ZodArray<zod.ZodString>;
|
|
693
|
+
}, better_auth.$strip>, _orpc_contract.Schema<{
|
|
694
|
+
data: {
|
|
695
|
+
id: string;
|
|
696
|
+
name: string;
|
|
697
|
+
username: string | null;
|
|
698
|
+
displayUsername: string | null;
|
|
699
|
+
image: string | null;
|
|
700
|
+
linkedinVerified: boolean | null;
|
|
701
|
+
}[];
|
|
702
|
+
}, {
|
|
703
|
+
data: {
|
|
704
|
+
id: string;
|
|
705
|
+
name: string;
|
|
706
|
+
username: string | null;
|
|
707
|
+
displayUsername: string | null;
|
|
708
|
+
image: string | null;
|
|
709
|
+
linkedinVerified: boolean | null;
|
|
710
|
+
}[];
|
|
711
|
+
}>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
712
|
+
readonly UNAUTHORIZED: {
|
|
713
|
+
readonly message: "You must be logged in to access this resource";
|
|
714
|
+
};
|
|
715
|
+
readonly FORBIDDEN: {
|
|
716
|
+
readonly message: "You do not have permission to access this resource";
|
|
717
|
+
};
|
|
718
|
+
readonly NOT_FOUND: {
|
|
719
|
+
readonly message: "The requested resource was not found";
|
|
720
|
+
};
|
|
721
|
+
readonly BAD_REQUEST: {
|
|
722
|
+
readonly message: "Invalid request";
|
|
723
|
+
readonly data: zod.ZodOptional<zod.ZodObject<{
|
|
724
|
+
issues: zod.ZodArray<zod.ZodObject<{
|
|
725
|
+
code: zod.ZodString;
|
|
726
|
+
path: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber]>>;
|
|
727
|
+
message: zod.ZodString;
|
|
728
|
+
}, better_auth.$loose>>;
|
|
729
|
+
}, better_auth.$strip>>;
|
|
730
|
+
};
|
|
731
|
+
readonly CONFLICT: {
|
|
732
|
+
readonly message: "The request conflicts with existing data";
|
|
733
|
+
};
|
|
734
|
+
readonly INTERNAL_SERVER_ERROR: {
|
|
735
|
+
readonly message: "An internal server error occurred";
|
|
736
|
+
};
|
|
737
|
+
}>, Record<never, never>>;
|
|
613
738
|
completeOnboarding: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
|
|
614
739
|
session: {
|
|
615
740
|
id: string;
|
|
@@ -3075,6 +3200,86 @@ declare const v1Router: {
|
|
|
3075
3200
|
};
|
|
3076
3201
|
}>, Record<never, never>>;
|
|
3077
3202
|
};
|
|
3203
|
+
members: {
|
|
3204
|
+
search: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
|
|
3205
|
+
session: {
|
|
3206
|
+
id: string;
|
|
3207
|
+
createdAt: Date;
|
|
3208
|
+
updatedAt: Date;
|
|
3209
|
+
userId: string;
|
|
3210
|
+
expiresAt: Date;
|
|
3211
|
+
token: string;
|
|
3212
|
+
ipAddress?: string | null | undefined | undefined;
|
|
3213
|
+
userAgent?: string | null | undefined | undefined;
|
|
3214
|
+
impersonatedBy?: string | null | undefined;
|
|
3215
|
+
};
|
|
3216
|
+
user: {
|
|
3217
|
+
id: string;
|
|
3218
|
+
createdAt: Date;
|
|
3219
|
+
updatedAt: Date;
|
|
3220
|
+
email: string;
|
|
3221
|
+
emailVerified: boolean;
|
|
3222
|
+
name: string;
|
|
3223
|
+
image?: string | null | undefined | undefined;
|
|
3224
|
+
onboardingCompleted: boolean | null | undefined;
|
|
3225
|
+
linkedinVerified: boolean | null | undefined;
|
|
3226
|
+
linkedinVerifiedAt?: Date | null | undefined;
|
|
3227
|
+
linkedinId?: string | null | undefined;
|
|
3228
|
+
linkedinName?: string | null | undefined;
|
|
3229
|
+
banned: boolean | null | undefined;
|
|
3230
|
+
role?: string | null | undefined;
|
|
3231
|
+
banReason?: string | null | undefined;
|
|
3232
|
+
banExpires?: Date | null | undefined;
|
|
3233
|
+
username?: string | null | undefined;
|
|
3234
|
+
displayUsername?: string | null | undefined;
|
|
3235
|
+
};
|
|
3236
|
+
}>, zod.ZodObject<{
|
|
3237
|
+
query: zod.ZodString;
|
|
3238
|
+
limit: zod.ZodDefault<zod.ZodNumber>;
|
|
3239
|
+
}, better_auth.$strip>, _orpc_contract.Schema<{
|
|
3240
|
+
data: {
|
|
3241
|
+
id: string;
|
|
3242
|
+
name: string;
|
|
3243
|
+
username: string | null;
|
|
3244
|
+
displayUsername: string | null;
|
|
3245
|
+
image: string | null;
|
|
3246
|
+
}[];
|
|
3247
|
+
}, {
|
|
3248
|
+
data: {
|
|
3249
|
+
id: string;
|
|
3250
|
+
name: string;
|
|
3251
|
+
username: string | null;
|
|
3252
|
+
displayUsername: string | null;
|
|
3253
|
+
image: string | null;
|
|
3254
|
+
}[];
|
|
3255
|
+
}>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
3256
|
+
readonly UNAUTHORIZED: {
|
|
3257
|
+
readonly message: "You must be logged in to access this resource";
|
|
3258
|
+
};
|
|
3259
|
+
readonly FORBIDDEN: {
|
|
3260
|
+
readonly message: "You do not have permission to access this resource";
|
|
3261
|
+
};
|
|
3262
|
+
readonly NOT_FOUND: {
|
|
3263
|
+
readonly message: "The requested resource was not found";
|
|
3264
|
+
};
|
|
3265
|
+
readonly BAD_REQUEST: {
|
|
3266
|
+
readonly message: "Invalid request";
|
|
3267
|
+
readonly data: zod.ZodOptional<zod.ZodObject<{
|
|
3268
|
+
issues: zod.ZodArray<zod.ZodObject<{
|
|
3269
|
+
code: zod.ZodString;
|
|
3270
|
+
path: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber]>>;
|
|
3271
|
+
message: zod.ZodString;
|
|
3272
|
+
}, better_auth.$loose>>;
|
|
3273
|
+
}, better_auth.$strip>>;
|
|
3274
|
+
};
|
|
3275
|
+
readonly CONFLICT: {
|
|
3276
|
+
readonly message: "The request conflicts with existing data";
|
|
3277
|
+
};
|
|
3278
|
+
readonly INTERNAL_SERVER_ERROR: {
|
|
3279
|
+
readonly message: "An internal server error occurred";
|
|
3280
|
+
};
|
|
3281
|
+
}>, Record<never, never>>;
|
|
3282
|
+
};
|
|
3078
3283
|
posts: {
|
|
3079
3284
|
list: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
|
|
3080
3285
|
session: {
|