@framebreak/types 0.1.39 → 0.1.41
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 +94 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -140,6 +140,7 @@ declare const notification: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
140
140
|
postSlug?: string;
|
|
141
141
|
commentId?: string;
|
|
142
142
|
communityPostId?: string;
|
|
143
|
+
communityChannelSlug?: string;
|
|
143
144
|
};
|
|
144
145
|
driverParam: unknown;
|
|
145
146
|
notNull: false;
|
|
@@ -156,6 +157,7 @@ declare const notification: drizzle_orm_pg_core.PgTableWithColumns<{
|
|
|
156
157
|
postSlug?: string;
|
|
157
158
|
commentId?: string;
|
|
158
159
|
communityPostId?: string;
|
|
160
|
+
communityChannelSlug?: string;
|
|
159
161
|
};
|
|
160
162
|
}>;
|
|
161
163
|
read: drizzle_orm_pg_core.PgColumn<{
|
|
@@ -3547,7 +3549,9 @@ declare const v1Router: {
|
|
|
3547
3549
|
username?: string | null | undefined;
|
|
3548
3550
|
displayUsername?: string | null | undefined;
|
|
3549
3551
|
};
|
|
3550
|
-
}>,
|
|
3552
|
+
}>, zod.ZodOptional<zod.ZodObject<{
|
|
3553
|
+
channelSlug: zod.ZodOptional<zod.ZodString>;
|
|
3554
|
+
}, better_auth.$strip>>, _orpc_contract.Schema<{
|
|
3551
3555
|
data: {
|
|
3552
3556
|
memberCount: number;
|
|
3553
3557
|
};
|
|
@@ -3621,6 +3625,7 @@ declare const v1Router: {
|
|
|
3621
3625
|
displayUsername?: string | null | undefined;
|
|
3622
3626
|
};
|
|
3623
3627
|
}>, zod.ZodObject<{
|
|
3628
|
+
channelSlug: zod.ZodOptional<zod.ZodString>;
|
|
3624
3629
|
cursor: zod.ZodOptional<zod.ZodString>;
|
|
3625
3630
|
limit: zod.ZodDefault<zod.ZodNumber>;
|
|
3626
3631
|
}, better_auth.$strip>, _orpc_contract.Schema<{
|
|
@@ -8373,6 +8378,92 @@ declare const v1Router: {
|
|
|
8373
8378
|
};
|
|
8374
8379
|
}>, Record<never, never>>;
|
|
8375
8380
|
};
|
|
8381
|
+
content: {
|
|
8382
|
+
importMarkdown: _orpc_server.DecoratedProcedure<_orpc_server.MergedInitialContext<BaseContext & Record<never, never>, BaseContext & Record<never, never>, BaseContext>, _orpc_server.MergedCurrentContext<BaseContext, {
|
|
8383
|
+
session: {
|
|
8384
|
+
id: string;
|
|
8385
|
+
createdAt: Date;
|
|
8386
|
+
updatedAt: Date;
|
|
8387
|
+
userId: string;
|
|
8388
|
+
expiresAt: Date;
|
|
8389
|
+
token: string;
|
|
8390
|
+
ipAddress?: string | null | undefined | undefined;
|
|
8391
|
+
userAgent?: string | null | undefined | undefined;
|
|
8392
|
+
impersonatedBy?: string | null | undefined;
|
|
8393
|
+
};
|
|
8394
|
+
user: {
|
|
8395
|
+
id: string;
|
|
8396
|
+
createdAt: Date;
|
|
8397
|
+
updatedAt: Date;
|
|
8398
|
+
email: string;
|
|
8399
|
+
emailVerified: boolean;
|
|
8400
|
+
name: string;
|
|
8401
|
+
image?: string | null | undefined | undefined;
|
|
8402
|
+
onboardingCompleted: boolean | null | undefined;
|
|
8403
|
+
linkedinVerified: boolean | null | undefined;
|
|
8404
|
+
headline?: string | null | undefined;
|
|
8405
|
+
linkUrl?: string | null | undefined;
|
|
8406
|
+
linkText?: string | null | undefined;
|
|
8407
|
+
linkedinVerifiedAt?: Date | null | undefined;
|
|
8408
|
+
linkedinId?: string | null | undefined;
|
|
8409
|
+
linkedinName?: string | null | undefined;
|
|
8410
|
+
linkedinUrl?: string | null | undefined;
|
|
8411
|
+
banned: boolean | null | undefined;
|
|
8412
|
+
role?: string | null | undefined;
|
|
8413
|
+
banReason?: string | null | undefined;
|
|
8414
|
+
banExpires?: Date | null | undefined;
|
|
8415
|
+
username?: string | null | undefined;
|
|
8416
|
+
displayUsername?: string | null | undefined;
|
|
8417
|
+
};
|
|
8418
|
+
}>, zod.ZodObject<{
|
|
8419
|
+
markdown: zod.ZodString;
|
|
8420
|
+
publishedAt: zod.ZodString;
|
|
8421
|
+
status: zod.ZodDefault<zod.ZodEnum<{
|
|
8422
|
+
draft: "draft";
|
|
8423
|
+
published: "published";
|
|
8424
|
+
}>>;
|
|
8425
|
+
}, better_auth.$strip>, _orpc_contract.Schema<{
|
|
8426
|
+
data: {
|
|
8427
|
+
success: boolean;
|
|
8428
|
+
postId: string;
|
|
8429
|
+
slug: string | null;
|
|
8430
|
+
isUpdate: boolean;
|
|
8431
|
+
};
|
|
8432
|
+
}, {
|
|
8433
|
+
data: {
|
|
8434
|
+
success: boolean;
|
|
8435
|
+
postId: string;
|
|
8436
|
+
slug: string | null;
|
|
8437
|
+
isUpdate: boolean;
|
|
8438
|
+
};
|
|
8439
|
+
}>, _orpc_contract.MergedErrorMap<Record<never, never>, {
|
|
8440
|
+
readonly UNAUTHORIZED: {
|
|
8441
|
+
readonly message: "You must be logged in to access this resource";
|
|
8442
|
+
};
|
|
8443
|
+
readonly FORBIDDEN: {
|
|
8444
|
+
readonly message: "You do not have permission to access this resource";
|
|
8445
|
+
};
|
|
8446
|
+
readonly NOT_FOUND: {
|
|
8447
|
+
readonly message: "The requested resource was not found";
|
|
8448
|
+
};
|
|
8449
|
+
readonly BAD_REQUEST: {
|
|
8450
|
+
readonly message: "Invalid request";
|
|
8451
|
+
readonly data: zod.ZodOptional<zod.ZodObject<{
|
|
8452
|
+
issues: zod.ZodArray<zod.ZodObject<{
|
|
8453
|
+
code: zod.ZodString;
|
|
8454
|
+
path: zod.ZodArray<zod.ZodUnion<readonly [zod.ZodString, zod.ZodNumber]>>;
|
|
8455
|
+
message: zod.ZodString;
|
|
8456
|
+
}, better_auth.$loose>>;
|
|
8457
|
+
}, better_auth.$strip>>;
|
|
8458
|
+
};
|
|
8459
|
+
readonly CONFLICT: {
|
|
8460
|
+
readonly message: "The request conflicts with existing data";
|
|
8461
|
+
};
|
|
8462
|
+
readonly INTERNAL_SERVER_ERROR: {
|
|
8463
|
+
readonly message: "An internal server error occurred";
|
|
8464
|
+
};
|
|
8465
|
+
}>, Record<never, never>>;
|
|
8466
|
+
};
|
|
8376
8467
|
};
|
|
8377
8468
|
/**
|
|
8378
8469
|
* Development-only endpoints - returns 404 in production.
|
|
@@ -8904,6 +8995,7 @@ declare const v1Router: {
|
|
|
8904
8995
|
postSlug?: string;
|
|
8905
8996
|
commentId?: string;
|
|
8906
8997
|
communityPostId?: string;
|
|
8998
|
+
communityChannelSlug?: string;
|
|
8907
8999
|
} | null;
|
|
8908
9000
|
read: boolean;
|
|
8909
9001
|
readAt: Date | null;
|
|
@@ -8940,6 +9032,7 @@ declare const v1Router: {
|
|
|
8940
9032
|
postSlug?: string;
|
|
8941
9033
|
commentId?: string;
|
|
8942
9034
|
communityPostId?: string;
|
|
9035
|
+
communityChannelSlug?: string;
|
|
8943
9036
|
} | null;
|
|
8944
9037
|
read: boolean;
|
|
8945
9038
|
readAt: Date | null;
|