@framebreak/types 0.1.40 → 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 +90 -0
- 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<{
|
|
@@ -8376,6 +8378,92 @@ declare const v1Router: {
|
|
|
8376
8378
|
};
|
|
8377
8379
|
}>, Record<never, never>>;
|
|
8378
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
|
+
};
|
|
8379
8467
|
};
|
|
8380
8468
|
/**
|
|
8381
8469
|
* Development-only endpoints - returns 404 in production.
|
|
@@ -8907,6 +8995,7 @@ declare const v1Router: {
|
|
|
8907
8995
|
postSlug?: string;
|
|
8908
8996
|
commentId?: string;
|
|
8909
8997
|
communityPostId?: string;
|
|
8998
|
+
communityChannelSlug?: string;
|
|
8910
8999
|
} | null;
|
|
8911
9000
|
read: boolean;
|
|
8912
9001
|
readAt: Date | null;
|
|
@@ -8943,6 +9032,7 @@ declare const v1Router: {
|
|
|
8943
9032
|
postSlug?: string;
|
|
8944
9033
|
commentId?: string;
|
|
8945
9034
|
communityPostId?: string;
|
|
9035
|
+
communityChannelSlug?: string;
|
|
8946
9036
|
} | null;
|
|
8947
9037
|
read: boolean;
|
|
8948
9038
|
readAt: Date | null;
|