@framebreak/types 0.1.37 → 0.1.38
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 +266 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3424,6 +3424,102 @@ declare const v1Router: {
|
|
|
3424
3424
|
}>, Record<never, never>>;
|
|
3425
3425
|
};
|
|
3426
3426
|
members: {
|
|
3427
|
+
list: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
|
|
3428
|
+
session: {
|
|
3429
|
+
id: string;
|
|
3430
|
+
createdAt: Date;
|
|
3431
|
+
updatedAt: Date;
|
|
3432
|
+
userId: string;
|
|
3433
|
+
expiresAt: Date;
|
|
3434
|
+
token: string;
|
|
3435
|
+
ipAddress?: string | null | undefined | undefined;
|
|
3436
|
+
userAgent?: string | null | undefined | undefined;
|
|
3437
|
+
impersonatedBy?: string | null | undefined;
|
|
3438
|
+
};
|
|
3439
|
+
user: {
|
|
3440
|
+
id: string;
|
|
3441
|
+
createdAt: Date;
|
|
3442
|
+
updatedAt: Date;
|
|
3443
|
+
email: string;
|
|
3444
|
+
emailVerified: boolean;
|
|
3445
|
+
name: string;
|
|
3446
|
+
image?: string | null | undefined | undefined;
|
|
3447
|
+
onboardingCompleted: boolean | null | undefined;
|
|
3448
|
+
linkedinVerified: boolean | null | undefined;
|
|
3449
|
+
headline?: string | null | undefined;
|
|
3450
|
+
linkUrl?: string | null | undefined;
|
|
3451
|
+
linkText?: string | null | undefined;
|
|
3452
|
+
linkedinVerifiedAt?: Date | null | undefined;
|
|
3453
|
+
linkedinId?: string | null | undefined;
|
|
3454
|
+
linkedinName?: string | null | undefined;
|
|
3455
|
+
linkedinUrl?: string | null | undefined;
|
|
3456
|
+
banned: boolean | null | undefined;
|
|
3457
|
+
role?: string | null | undefined;
|
|
3458
|
+
banReason?: string | null | undefined;
|
|
3459
|
+
banExpires?: Date | null | undefined;
|
|
3460
|
+
username?: string | null | undefined;
|
|
3461
|
+
displayUsername?: string | null | undefined;
|
|
3462
|
+
};
|
|
3463
|
+
}>, zod.ZodObject<{
|
|
3464
|
+
cursor: zod.ZodOptional<zod.ZodString>;
|
|
3465
|
+
limit: zod.ZodDefault<zod.ZodNumber>;
|
|
3466
|
+
}, better_auth.$strip>, _orpc_contract.Schema<{
|
|
3467
|
+
data: {
|
|
3468
|
+
id: string;
|
|
3469
|
+
name: string;
|
|
3470
|
+
username: string | null;
|
|
3471
|
+
displayUsername: string | null;
|
|
3472
|
+
image: string | null;
|
|
3473
|
+
linkedinVerified: boolean | null;
|
|
3474
|
+
role: string | null;
|
|
3475
|
+
createdAt: Date;
|
|
3476
|
+
}[];
|
|
3477
|
+
pagination: {
|
|
3478
|
+
nextCursor: string | null;
|
|
3479
|
+
hasMore: boolean;
|
|
3480
|
+
};
|
|
3481
|
+
}, {
|
|
3482
|
+
data: {
|
|
3483
|
+
id: string;
|
|
3484
|
+
name: string;
|
|
3485
|
+
username: string | null;
|
|
3486
|
+
displayUsername: string | null;
|
|
3487
|
+
image: string | null;
|
|
3488
|
+
linkedinVerified: boolean | null;
|
|
3489
|
+
role: string | null;
|
|
3490
|
+
createdAt: Date;
|
|
3491
|
+
}[];
|
|
3492
|
+
pagination: {
|
|
3493
|
+
nextCursor: string | null;
|
|
3494
|
+
hasMore: boolean;
|
|
3495
|
+
};
|
|
3496
|
+
}>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
3497
|
+
readonly UNAUTHORIZED: {
|
|
3498
|
+
readonly message: "You must be logged in to access this resource";
|
|
3499
|
+
};
|
|
3500
|
+
readonly FORBIDDEN: {
|
|
3501
|
+
readonly message: "You do not have permission to access this resource";
|
|
3502
|
+
};
|
|
3503
|
+
readonly NOT_FOUND: {
|
|
3504
|
+
readonly message: "The requested resource was not found";
|
|
3505
|
+
};
|
|
3506
|
+
readonly BAD_REQUEST: {
|
|
3507
|
+
readonly message: "Invalid request";
|
|
3508
|
+
readonly data: zod.ZodOptional<zod.ZodObject<{
|
|
3509
|
+
issues: zod.ZodArray<zod.ZodObject<{
|
|
3510
|
+
code: zod.ZodString;
|
|
3511
|
+
path: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber]>>;
|
|
3512
|
+
message: zod.ZodString;
|
|
3513
|
+
}, better_auth.$loose>>;
|
|
3514
|
+
}, better_auth.$strip>>;
|
|
3515
|
+
};
|
|
3516
|
+
readonly CONFLICT: {
|
|
3517
|
+
readonly message: "The request conflicts with existing data";
|
|
3518
|
+
};
|
|
3519
|
+
readonly INTERNAL_SERVER_ERROR: {
|
|
3520
|
+
readonly message: "An internal server error occurred";
|
|
3521
|
+
};
|
|
3522
|
+
}>, Record<never, never>>;
|
|
3427
3523
|
search: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
|
|
3428
3524
|
session: {
|
|
3429
3525
|
id: string;
|
|
@@ -7935,6 +8031,176 @@ declare const v1Router: {
|
|
|
7935
8031
|
}>, Record<never, never>>;
|
|
7936
8032
|
};
|
|
7937
8033
|
};
|
|
8034
|
+
linkedinUrls: {
|
|
8035
|
+
list: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
|
|
8036
|
+
session: {
|
|
8037
|
+
id: string;
|
|
8038
|
+
createdAt: Date;
|
|
8039
|
+
updatedAt: Date;
|
|
8040
|
+
userId: string;
|
|
8041
|
+
expiresAt: Date;
|
|
8042
|
+
token: string;
|
|
8043
|
+
ipAddress?: string | null | undefined | undefined;
|
|
8044
|
+
userAgent?: string | null | undefined | undefined;
|
|
8045
|
+
impersonatedBy?: string | null | undefined;
|
|
8046
|
+
};
|
|
8047
|
+
user: {
|
|
8048
|
+
id: string;
|
|
8049
|
+
createdAt: Date;
|
|
8050
|
+
updatedAt: Date;
|
|
8051
|
+
email: string;
|
|
8052
|
+
emailVerified: boolean;
|
|
8053
|
+
name: string;
|
|
8054
|
+
image?: string | null | undefined | undefined;
|
|
8055
|
+
onboardingCompleted: boolean | null | undefined;
|
|
8056
|
+
linkedinVerified: boolean | null | undefined;
|
|
8057
|
+
headline?: string | null | undefined;
|
|
8058
|
+
linkUrl?: string | null | undefined;
|
|
8059
|
+
linkText?: string | null | undefined;
|
|
8060
|
+
linkedinVerifiedAt?: Date | null | undefined;
|
|
8061
|
+
linkedinId?: string | null | undefined;
|
|
8062
|
+
linkedinName?: string | null | undefined;
|
|
8063
|
+
linkedinUrl?: string | null | undefined;
|
|
8064
|
+
banned: boolean | null | undefined;
|
|
8065
|
+
role?: string | null | undefined;
|
|
8066
|
+
banReason?: string | null | undefined;
|
|
8067
|
+
banExpires?: Date | null | undefined;
|
|
8068
|
+
username?: string | null | undefined;
|
|
8069
|
+
displayUsername?: string | null | undefined;
|
|
8070
|
+
};
|
|
8071
|
+
}>, zod.ZodObject<{
|
|
8072
|
+
limit: zod.ZodDefault<zod.ZodNumber>;
|
|
8073
|
+
offset: zod.ZodDefault<zod.ZodNumber>;
|
|
8074
|
+
}, better_auth.$strip>, _orpc_contract.Schema<{
|
|
8075
|
+
data: {
|
|
8076
|
+
id: string;
|
|
8077
|
+
name: string;
|
|
8078
|
+
email: string;
|
|
8079
|
+
image: string | null;
|
|
8080
|
+
linkedinVerified: boolean | null;
|
|
8081
|
+
linkedinId: string | null;
|
|
8082
|
+
linkedinName: string | null;
|
|
8083
|
+
}[];
|
|
8084
|
+
total: number;
|
|
8085
|
+
limit: number;
|
|
8086
|
+
offset: number;
|
|
8087
|
+
}, {
|
|
8088
|
+
data: {
|
|
8089
|
+
id: string;
|
|
8090
|
+
name: string;
|
|
8091
|
+
email: string;
|
|
8092
|
+
image: string | null;
|
|
8093
|
+
linkedinVerified: boolean | null;
|
|
8094
|
+
linkedinId: string | null;
|
|
8095
|
+
linkedinName: string | null;
|
|
8096
|
+
}[];
|
|
8097
|
+
total: number;
|
|
8098
|
+
limit: number;
|
|
8099
|
+
offset: number;
|
|
8100
|
+
}>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
8101
|
+
readonly UNAUTHORIZED: {
|
|
8102
|
+
readonly message: "You must be logged in to access this resource";
|
|
8103
|
+
};
|
|
8104
|
+
readonly FORBIDDEN: {
|
|
8105
|
+
readonly message: "You do not have permission to access this resource";
|
|
8106
|
+
};
|
|
8107
|
+
readonly NOT_FOUND: {
|
|
8108
|
+
readonly message: "The requested resource was not found";
|
|
8109
|
+
};
|
|
8110
|
+
readonly BAD_REQUEST: {
|
|
8111
|
+
readonly message: "Invalid request";
|
|
8112
|
+
readonly data: zod.ZodOptional<zod.ZodObject<{
|
|
8113
|
+
issues: zod.ZodArray<zod.ZodObject<{
|
|
8114
|
+
code: zod.ZodString;
|
|
8115
|
+
path: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber]>>;
|
|
8116
|
+
message: zod.ZodString;
|
|
8117
|
+
}, better_auth.$loose>>;
|
|
8118
|
+
}, better_auth.$strip>>;
|
|
8119
|
+
};
|
|
8120
|
+
readonly CONFLICT: {
|
|
8121
|
+
readonly message: "The request conflicts with existing data";
|
|
8122
|
+
};
|
|
8123
|
+
readonly INTERNAL_SERVER_ERROR: {
|
|
8124
|
+
readonly message: "An internal server error occurred";
|
|
8125
|
+
};
|
|
8126
|
+
}>, Record<never, never>>;
|
|
8127
|
+
update: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
|
|
8128
|
+
session: {
|
|
8129
|
+
id: string;
|
|
8130
|
+
createdAt: Date;
|
|
8131
|
+
updatedAt: Date;
|
|
8132
|
+
userId: string;
|
|
8133
|
+
expiresAt: Date;
|
|
8134
|
+
token: string;
|
|
8135
|
+
ipAddress?: string | null | undefined | undefined;
|
|
8136
|
+
userAgent?: string | null | undefined | undefined;
|
|
8137
|
+
impersonatedBy?: string | null | undefined;
|
|
8138
|
+
};
|
|
8139
|
+
user: {
|
|
8140
|
+
id: string;
|
|
8141
|
+
createdAt: Date;
|
|
8142
|
+
updatedAt: Date;
|
|
8143
|
+
email: string;
|
|
8144
|
+
emailVerified: boolean;
|
|
8145
|
+
name: string;
|
|
8146
|
+
image?: string | null | undefined | undefined;
|
|
8147
|
+
onboardingCompleted: boolean | null | undefined;
|
|
8148
|
+
linkedinVerified: boolean | null | undefined;
|
|
8149
|
+
headline?: string | null | undefined;
|
|
8150
|
+
linkUrl?: string | null | undefined;
|
|
8151
|
+
linkText?: string | null | undefined;
|
|
8152
|
+
linkedinVerifiedAt?: Date | null | undefined;
|
|
8153
|
+
linkedinId?: string | null | undefined;
|
|
8154
|
+
linkedinName?: string | null | undefined;
|
|
8155
|
+
linkedinUrl?: string | null | undefined;
|
|
8156
|
+
banned: boolean | null | undefined;
|
|
8157
|
+
role?: string | null | undefined;
|
|
8158
|
+
banReason?: string | null | undefined;
|
|
8159
|
+
banExpires?: Date | null | undefined;
|
|
8160
|
+
username?: string | null | undefined;
|
|
8161
|
+
displayUsername?: string | null | undefined;
|
|
8162
|
+
};
|
|
8163
|
+
}>, zod.ZodObject<{
|
|
8164
|
+
userId: zod.ZodString;
|
|
8165
|
+
linkedinUrl: zod.ZodString;
|
|
8166
|
+
}, better_auth.$strip>, _orpc_contract.Schema<{
|
|
8167
|
+
data: {
|
|
8168
|
+
id: string;
|
|
8169
|
+
linkedinUrl: string;
|
|
8170
|
+
};
|
|
8171
|
+
}, {
|
|
8172
|
+
data: {
|
|
8173
|
+
id: string;
|
|
8174
|
+
linkedinUrl: string;
|
|
8175
|
+
};
|
|
8176
|
+
}>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
8177
|
+
readonly UNAUTHORIZED: {
|
|
8178
|
+
readonly message: "You must be logged in to access this resource";
|
|
8179
|
+
};
|
|
8180
|
+
readonly FORBIDDEN: {
|
|
8181
|
+
readonly message: "You do not have permission to access this resource";
|
|
8182
|
+
};
|
|
8183
|
+
readonly NOT_FOUND: {
|
|
8184
|
+
readonly message: "The requested resource was not found";
|
|
8185
|
+
};
|
|
8186
|
+
readonly BAD_REQUEST: {
|
|
8187
|
+
readonly message: "Invalid request";
|
|
8188
|
+
readonly data: zod.ZodOptional<zod.ZodObject<{
|
|
8189
|
+
issues: zod.ZodArray<zod.ZodObject<{
|
|
8190
|
+
code: zod.ZodString;
|
|
8191
|
+
path: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber]>>;
|
|
8192
|
+
message: zod.ZodString;
|
|
8193
|
+
}, better_auth.$loose>>;
|
|
8194
|
+
}, better_auth.$strip>>;
|
|
8195
|
+
};
|
|
8196
|
+
readonly CONFLICT: {
|
|
8197
|
+
readonly message: "The request conflicts with existing data";
|
|
8198
|
+
};
|
|
8199
|
+
readonly INTERNAL_SERVER_ERROR: {
|
|
8200
|
+
readonly message: "An internal server error occurred";
|
|
8201
|
+
};
|
|
8202
|
+
}>, Record<never, never>>;
|
|
8203
|
+
};
|
|
7938
8204
|
};
|
|
7939
8205
|
/**
|
|
7940
8206
|
* Development-only endpoints - returns 404 in production.
|