@openpeepshq/core 0.1.33 → 0.1.35
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/accessTokens/finders.js +5 -6
- package/dist/accessTokens/mutations.js +1 -1
- package/dist/accessTokens/tokens.js +8 -11
- package/dist/accounts/helpers.js +6 -2
- package/dist/accounts/mutations.js +36 -33
- package/dist/analytics/cache.js +3 -3
- package/dist/analytics/clicks.js +14 -22
- package/dist/analytics/compile.js +17 -12
- package/dist/analytics/dateRange.js +3 -5
- package/dist/analytics/jobs.js +3 -4
- package/dist/analytics/pdfReport.js +45 -61
- package/dist/analytics/privacy.js +1 -1
- package/dist/analytics/read.js +164 -140
- package/dist/analytics/report.d.ts +22 -1
- package/dist/analytics/report.js +2 -3
- package/dist/analytics/settings.js +3 -4
- package/dist/backups/index.js +82 -25
- package/dist/backups/metadata.d.ts +2 -3
- package/dist/backups/metadata.js +6 -2
- package/dist/config/db.js +2 -4
- package/dist/config/defaults/capabilities.js +13 -2
- package/dist/config/defaults/community.js +8 -3
- package/dist/config/defaults/core.d.ts +1 -1
- package/dist/config/defaults/core.js +16 -8
- package/dist/config/index.d.ts +22 -0
- package/dist/config/index.js +15 -11
- package/dist/db/explorer/query.js +9 -8
- package/dist/db/explorer/sql.js +8 -8
- package/dist/db/helpers.d.ts +1 -0
- package/dist/db/helpers.js +25 -7
- package/dist/db/index.d.ts +1 -1
- package/dist/db/index.js +1 -0
- package/dist/db/init.js +2 -3
- package/dist/db/migration/importCollections.d.ts +14 -9
- package/dist/db/migration/importCollections.js +121 -174
- package/dist/db/migration/shared.d.ts +2 -33
- package/dist/db/migration/shared.js +17 -87
- package/dist/db/pg/client.js +4 -7
- package/dist/db/pg/collections.d.ts +2 -2
- package/dist/db/pg/collections.js +2 -2
- package/dist/db/pg/filters/index.js +1 -1
- package/dist/db/pg/filters/posts.d.ts +12 -0
- package/dist/db/pg/filters/posts.js +30 -4
- package/dist/db/pg/filters/profiles.d.ts +1 -0
- package/dist/db/pg/filters/profiles.js +2 -1
- package/dist/db/pg/helpers.js +2 -14
- package/dist/db/pg/map/filters.js +40 -10
- package/dist/db/pg/map/helpers.js +5 -1
- package/dist/db/pg/map/index.js +46 -51
- package/dist/db/pg/map/mutations.js +65 -25
- package/dist/db/pg/map/registry.d.ts +5 -0
- package/dist/db/pg/map/registry.js +133 -56
- package/dist/db/pg/map/relations.js +76 -68
- package/dist/db/pg/map/search.js +15 -37
- package/dist/db/pg/mappers.js +13 -7
- package/dist/db/pg/migrate.d.ts +1 -2
- package/dist/db/pg/migrate.js +8 -9
- package/dist/db/pg/queries/activity.js +5 -5
- package/dist/db/pg/queries/derived.js +8 -12
- package/dist/db/pg/queries/sorts.d.ts +1 -0
- package/dist/db/pg/queries/sorts.js +4 -0
- package/dist/db/pg/schema/documents.d.ts +279 -41
- package/dist/db/pg/schema/documents.js +136 -22
- package/dist/db/pg/schema/edges.d.ts +116 -7
- package/dist/db/pg/schema/edges.js +9 -2
- package/dist/db/pg/schema/index.d.ts +362 -15
- package/dist/db/pg/schema/index.js +5 -1
- package/dist/db/pg/sql/0010_user_group_membership_roles.sql +16 -0
- package/dist/db/pg/sql/0011_drop_data_migrations.sql +1 -0
- package/dist/db/pg/sql/0012_posts_last_activity_at.sql +5 -0
- package/dist/db/pg/sql/0013_add_blocks_edge.sql +12 -0
- package/dist/db/pg/sql/0014_federation_datamodel.sql +59 -0
- package/dist/db/pg/sql/0015_profile_hashtags.sql +12 -0
- package/dist/db/pg/sql/0016_posts_search_vector_title_tags_path.sql +54 -0
- package/dist/db/pg/sql/meta/{0009_snapshot.json → 0015_snapshot.json} +291 -36
- package/dist/db/pg/sql/meta/_journal.json +49 -0
- package/dist/db/replaceOrigin.js +1 -1
- package/dist/email/queueStats.js +8 -11
- package/dist/email/render.js +14 -3
- package/dist/email/send.js +19 -17
- package/dist/email/smtpTest.js +10 -6
- package/dist/errors/index.js +1 -1
- package/dist/events/index.d.ts +4 -0
- package/dist/events/index.js +1 -0
- package/dist/events/once.js +2 -4
- package/dist/federation/activities.d.ts +17 -0
- package/dist/federation/activities.js +25 -0
- package/dist/federation/identity.d.ts +16 -0
- package/dist/federation/identity.js +52 -0
- package/dist/federation/index.d.ts +4 -0
- package/dist/federation/index.js +3 -0
- package/dist/federation/profiles.d.ts +3 -0
- package/dist/federation/profiles.js +14 -0
- package/dist/groups/finders.d.ts +2 -1
- package/dist/groups/helpers.d.ts +18 -0
- package/dist/groups/helpers.js +1 -2
- package/dist/groups/mapping.d.ts +4 -2
- package/dist/groups/mutations.js +1 -1
- package/dist/hashtags/finders.d.ts +6 -3
- package/dist/hashtags/finders.js +2 -0
- package/dist/hashtags/helpers.d.ts +8 -0
- package/dist/hashtags/helpers.js +4 -0
- package/dist/hashtags/index.d.ts +2 -0
- package/dist/hashtags/index.js +2 -0
- package/dist/hashtags/mutations.d.ts +3 -0
- package/dist/hashtags/mutations.js +13 -1
- package/dist/i18n/index.d.ts +1 -1
- package/dist/i18n/index.js +3 -1
- package/dist/i18n/pluginLocales.d.ts +6 -0
- package/dist/i18n/pluginLocales.js +15 -0
- package/dist/inviteLinks/mutations.js +2 -3
- package/dist/jams/export.d.ts +19 -0
- package/dist/jams/export.js +58 -0
- package/dist/jams/finders.js +4 -1
- package/dist/jams/health.d.ts +10 -0
- package/dist/jams/health.js +50 -0
- package/dist/jams/helpers.d.ts +2 -2
- package/dist/jams/helpers.js +6 -2
- package/dist/jams/index.d.ts +2 -0
- package/dist/jams/index.js +25 -18
- package/dist/jams/jobs.js +2 -3
- package/dist/jams/livekit.d.ts +49 -4
- package/dist/jams/livekit.js +62 -45
- package/dist/jams/mapping.d.ts +3 -3
- package/dist/jams/mutations.d.ts +1 -1
- package/dist/jams/recording.d.ts +10 -0
- package/dist/jams/recording.js +33 -1
- package/dist/jams/token.d.ts +13 -1
- package/dist/jams/token.js +25 -18
- package/dist/jams/waitingRoom.js +1 -1
- package/dist/jobs/index.d.ts +1 -0
- package/dist/jobs/index.js +9 -3
- package/dist/jobs/jobDetail.js +6 -12
- package/dist/jobs/jobLog.js +2 -3
- package/dist/lib/streams.js +4 -39
- package/dist/lib/zodDeepPartial.d.ts +1 -1
- package/dist/lib/zodDeepPartial.js +1 -1
- package/dist/log/index.js +13 -29
- package/dist/media/index.d.ts +1 -1
- package/dist/media/index.js +73 -12
- package/dist/media/jobs.js +1 -2
- package/dist/media/openpeeps/index.js +11 -46
- package/dist/media/processing.js +25 -11
- package/dist/media/streaming.js +5 -5
- package/dist/media/streamingCleanupJobs.js +1 -2
- package/dist/media/streamingJobs.js +3 -4
- package/dist/media/streamingPrewarm.js +7 -11
- package/dist/mediaAttachments/index.js +6 -2
- package/dist/notifications/defaultNotifications/announcement/index.js +15 -18
- package/dist/notifications/defaultNotifications/directMessage/index.js +9 -8
- package/dist/notifications/defaultNotifications/follow/index.js +15 -18
- package/dist/notifications/defaultNotifications/groupAdded/index.js +14 -17
- package/dist/notifications/defaultNotifications/groupMemberJoined/index.js +15 -18
- package/dist/notifications/defaultNotifications/groupMemberLeft/index.js +15 -18
- package/dist/notifications/defaultNotifications/index.js +4 -0
- package/dist/notifications/defaultNotifications/jamModerator/index.js +3 -5
- package/dist/notifications/defaultNotifications/jamSpeaker/index.js +14 -18
- package/dist/notifications/defaultNotifications/jamStarted/index.js +18 -22
- package/dist/notifications/defaultNotifications/mention/index.js +20 -24
- package/dist/notifications/defaultNotifications/newGroupPost/index.js +11 -6
- package/dist/notifications/defaultNotifications/newProfile/index.js +14 -17
- package/dist/notifications/defaultNotifications/pollEnded/index.d.ts +19 -0
- package/dist/notifications/defaultNotifications/pollEnded/index.js +39 -0
- package/dist/notifications/defaultNotifications/pollEnded/recipients.d.ts +3 -0
- package/dist/notifications/defaultNotifications/pollEnded/recipients.js +17 -0
- package/dist/notifications/defaultNotifications/pollVote/index.js +14 -17
- package/dist/notifications/defaultNotifications/reaction/index.js +18 -21
- package/dist/notifications/defaultNotifications/reply/index.js +21 -22
- package/dist/notifications/defaultNotifications/repost/index.js +16 -20
- package/dist/notifications/defaultNotifications/rsvp/index.d.ts +6 -1
- package/dist/notifications/defaultNotifications/rsvp/index.js +31 -18
- package/dist/notifications/defaultNotifications/rsvpCanceled/index.d.ts +24 -0
- package/dist/notifications/defaultNotifications/rsvpCanceled/index.js +82 -0
- package/dist/notifications/defaultNotifications/rsvpCanceled/recipients.d.ts +4 -0
- package/dist/notifications/defaultNotifications/rsvpCanceled/recipients.js +11 -0
- package/dist/notifications/fcmCredential.js +1 -1
- package/dist/notifications/finders.js +1 -1
- package/dist/notifications/helpers.js +13 -10
- package/dist/notifications/jobs.js +10 -5
- package/dist/notifications/mutations.js +8 -1
- package/dist/notifications/push.js +11 -16
- package/dist/performance/index.js +3 -3
- package/dist/plugins/helpers.js +3 -6
- package/dist/plugins/index.js +39 -4
- package/dist/plugins/install.d.ts +28 -9
- package/dist/plugins/install.js +302 -56
- package/dist/plugins/pluginAuth.d.ts +1 -1
- package/dist/plugins/pluginAuth.js +13 -10
- package/dist/plugins/state.js +2 -3
- package/dist/posts/activity.d.ts +9 -0
- package/dist/posts/activity.js +34 -0
- package/dist/posts/contextClosure.d.ts +1 -9
- package/dist/posts/contextClosure.js +14 -44
- package/dist/posts/conversationQueries.d.ts +7 -0
- package/dist/posts/conversationQueries.js +76 -4
- package/dist/posts/eventAgenda.d.ts +1 -0
- package/dist/posts/eventAgenda.js +17 -8
- package/dist/posts/eventOccurrenceJobs.js +7 -2
- package/dist/posts/eventOccurrences.d.ts +6 -0
- package/dist/posts/eventOccurrences.js +22 -1
- package/dist/posts/finders.d.ts +56 -9
- package/dist/posts/finders.js +84 -23
- package/dist/posts/helpers/filters.js +13 -9
- package/dist/posts/helpers/index.d.ts +179 -14
- package/dist/posts/helpers/index.js +70 -34
- package/dist/posts/index.d.ts +5 -2
- package/dist/posts/index.js +5 -2
- package/dist/posts/mapping.d.ts +765 -30
- package/dist/posts/mapping.js +74 -31
- package/dist/posts/mutations.d.ts +516 -3
- package/dist/posts/mutations.js +179 -41
- package/dist/posts/pollEnd.d.ts +3 -0
- package/dist/posts/pollEnd.js +4 -0
- package/dist/posts/pollEndJobs.d.ts +8 -0
- package/dist/posts/pollEndJobs.js +49 -0
- package/dist/posts/replyClosure.d.ts +10 -0
- package/dist/posts/replyClosure.js +43 -0
- package/dist/posts/rsvpConfirmationEmail.js +23 -15
- package/dist/posts/threadPreview.d.ts +8 -0
- package/dist/posts/threadPreview.js +44 -0
- package/dist/posts/unseenCounts.js +4 -1
- package/dist/processingStats/queries.js +6 -7
- package/dist/profileSettings/cache.js +21 -5
- package/dist/profileSettings/mapping.d.ts +2 -0
- package/dist/profiles/activityQueries.d.ts +5 -0
- package/dist/profiles/activityQueries.js +85 -0
- package/dist/profiles/activitySummary.d.ts +3 -0
- package/dist/profiles/activitySummary.js +82 -0
- package/dist/profiles/blocks.d.ts +12 -0
- package/dist/profiles/blocks.js +73 -0
- package/dist/profiles/cache.d.ts +1 -0
- package/dist/profiles/cache.js +30 -10
- package/dist/profiles/export.js +30 -39
- package/dist/profiles/finders.d.ts +2 -1
- package/dist/profiles/finders.js +15 -8
- package/dist/profiles/helpers.d.ts +2 -0
- package/dist/profiles/index.d.ts +2 -0
- package/dist/profiles/index.js +2 -0
- package/dist/profiles/mapping.d.ts +10 -5
- package/dist/profiles/mapping.js +13 -1
- package/dist/profiles/mutations.d.ts +8 -4
- package/dist/profiles/mutations.js +31 -4
- package/dist/redis/connection.d.ts +2 -0
- package/dist/redis/connection.js +25 -6
- package/dist/reports/helpers.js +7 -3
- package/dist/roles/index.d.ts +1 -1
- package/dist/roles/index.js +1 -1
- package/dist/roles/mapping.d.ts +1 -0
- package/dist/roles/mutations.js +85 -3
- package/dist/search/finders.js +15 -3
- package/dist/search/helpers.js +1 -1
- package/dist/search/mapping.d.ts +1 -1
- package/dist/search/mapping.js +6 -2
- package/dist/sentry/index.js +9 -11
- package/dist/seo/index.d.ts +50 -0
- package/dist/seo/index.js +145 -0
- package/dist/seo/route.d.ts +18 -0
- package/dist/seo/route.js +19 -0
- package/dist/server/index.d.ts +19 -0
- package/dist/server/index.js +31 -14
- package/dist/server/stablePublicServerInfo.d.ts +17 -0
- package/dist/server/stablePublicServerInfo.js +37 -0
- package/dist/server/status.d.ts +25 -0
- package/dist/server/status.js +97 -0
- package/dist/session/index.js +2 -2
- package/dist/stats/finders.d.ts +1 -17681
- package/dist/stats/finders.js +22 -9
- package/dist/stats/helpers.js +4 -1
- package/dist/stats/mapping.d.ts +39 -2
- package/dist/stats/mapping.js +8 -4
- package/dist/stripe/cache.js +5 -6
- package/dist/stripe/connection.js +3 -4
- package/dist/stripe/helpers.js +15 -20
- package/package.json +5 -7
- package/dist/db/migration/detect.d.ts +0 -3
- package/dist/db/migration/detect.js +0 -33
- package/dist/db/migration/importPostgres.d.ts +0 -3
- package/dist/db/migration/importPostgres.js +0 -18
- package/dist/db/migration/transform.d.ts +0 -20
- package/dist/db/migration/transform.js +0 -232
- package/dist/db/migration/validate.d.ts +0 -18
- package/dist/db/migration/validate.js +0 -69
- package/dist/db/pg/sql/meta/0000_snapshot.json +0 -3380
- package/dist/db/pg/sql/meta/0004_snapshot.json +0 -4114
- package/dist/db/pg/sql/meta/0005_snapshot.json +0 -4179
- package/dist/db/pg/sql/meta/0006_snapshot.json +0 -4200
- package/dist/db/pg/sql/meta/0007_snapshot.json +0 -4179
- package/dist/mastodon/index.d.ts +0 -4
- package/dist/mastodon/index.js +0 -51
- package/dist/mastodon/types.d.ts +0 -7579
- package/dist/mastodon/types.js +0 -523
- package/dist/mastodon/typescript.d.ts +0 -1578
- package/dist/mastodon/typescript.js +0 -1
- package/dist/migration/index.d.ts +0 -4
- package/dist/migration/index.js +0 -4
- package/dist/roles/defaults.d.ts +0 -2
- package/dist/roles/defaults.js +0 -95
|
@@ -107,7 +107,7 @@ export declare const follows: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
|
107
107
|
};
|
|
108
108
|
dialect: "pg";
|
|
109
109
|
}>;
|
|
110
|
-
export declare const
|
|
110
|
+
export declare const blocks: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
111
111
|
name: string;
|
|
112
112
|
schema: undefined;
|
|
113
113
|
columns: {
|
|
@@ -216,7 +216,7 @@ export declare const requestsFollow: import("drizzle-orm/pg-core").PgTableWithCo
|
|
|
216
216
|
};
|
|
217
217
|
dialect: "pg";
|
|
218
218
|
}>;
|
|
219
|
-
export declare const
|
|
219
|
+
export declare const requestsFollow: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
220
220
|
name: string;
|
|
221
221
|
schema: undefined;
|
|
222
222
|
columns: {
|
|
@@ -325,7 +325,7 @@ export declare const controls: import("drizzle-orm/pg-core").PgTableWithColumns<
|
|
|
325
325
|
};
|
|
326
326
|
dialect: "pg";
|
|
327
327
|
}>;
|
|
328
|
-
export declare const
|
|
328
|
+
export declare const controls: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
329
329
|
name: string;
|
|
330
330
|
schema: undefined;
|
|
331
331
|
columns: {
|
|
@@ -434,7 +434,7 @@ export declare const mentions: import("drizzle-orm/pg-core").PgTableWithColumns<
|
|
|
434
434
|
};
|
|
435
435
|
dialect: "pg";
|
|
436
436
|
}>;
|
|
437
|
-
export declare const
|
|
437
|
+
export declare const mentions: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
438
438
|
name: string;
|
|
439
439
|
schema: undefined;
|
|
440
440
|
columns: {
|
|
@@ -543,7 +543,7 @@ export declare const audience: import("drizzle-orm/pg-core").PgTableWithColumns<
|
|
|
543
543
|
};
|
|
544
544
|
dialect: "pg";
|
|
545
545
|
}>;
|
|
546
|
-
export declare const
|
|
546
|
+
export declare const audience: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
547
547
|
name: string;
|
|
548
548
|
schema: undefined;
|
|
549
549
|
columns: {
|
|
@@ -652,7 +652,7 @@ export declare const postHashtags: import("drizzle-orm/pg-core").PgTableWithColu
|
|
|
652
652
|
};
|
|
653
653
|
dialect: "pg";
|
|
654
654
|
}>;
|
|
655
|
-
export declare const
|
|
655
|
+
export declare const postHashtags: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
656
656
|
name: string;
|
|
657
657
|
schema: undefined;
|
|
658
658
|
columns: {
|
|
@@ -761,7 +761,7 @@ export declare const entries: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
|
761
761
|
};
|
|
762
762
|
dialect: "pg";
|
|
763
763
|
}>;
|
|
764
|
-
export declare const
|
|
764
|
+
export declare const entries: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
765
765
|
name: string;
|
|
766
766
|
schema: undefined;
|
|
767
767
|
columns: {
|
|
@@ -2724,3 +2724,112 @@ export declare const jamRecordings: import("drizzle-orm/pg-core").PgTableWithCol
|
|
|
2724
2724
|
};
|
|
2725
2725
|
dialect: "pg";
|
|
2726
2726
|
}>;
|
|
2727
|
+
export declare const profileHashtags: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
2728
|
+
name: string;
|
|
2729
|
+
schema: undefined;
|
|
2730
|
+
columns: {
|
|
2731
|
+
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
2732
|
+
name: "created_at";
|
|
2733
|
+
tableName: string;
|
|
2734
|
+
dataType: "string";
|
|
2735
|
+
columnType: "PgTimestampString";
|
|
2736
|
+
data: string;
|
|
2737
|
+
driverParam: string;
|
|
2738
|
+
notNull: true;
|
|
2739
|
+
hasDefault: true;
|
|
2740
|
+
isPrimaryKey: false;
|
|
2741
|
+
isAutoincrement: false;
|
|
2742
|
+
hasRuntimeDefault: false;
|
|
2743
|
+
enumValues: undefined;
|
|
2744
|
+
baseColumn: never;
|
|
2745
|
+
identity: undefined;
|
|
2746
|
+
generated: undefined;
|
|
2747
|
+
}, {}, {}>;
|
|
2748
|
+
updatedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
2749
|
+
name: "updated_at";
|
|
2750
|
+
tableName: string;
|
|
2751
|
+
dataType: "string";
|
|
2752
|
+
columnType: "PgTimestampString";
|
|
2753
|
+
data: string;
|
|
2754
|
+
driverParam: string;
|
|
2755
|
+
notNull: true;
|
|
2756
|
+
hasDefault: true;
|
|
2757
|
+
isPrimaryKey: false;
|
|
2758
|
+
isAutoincrement: false;
|
|
2759
|
+
hasRuntimeDefault: false;
|
|
2760
|
+
enumValues: undefined;
|
|
2761
|
+
baseColumn: never;
|
|
2762
|
+
identity: undefined;
|
|
2763
|
+
generated: undefined;
|
|
2764
|
+
}, {}, {}>;
|
|
2765
|
+
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
2766
|
+
name: "id";
|
|
2767
|
+
tableName: string;
|
|
2768
|
+
dataType: "string";
|
|
2769
|
+
columnType: "PgUUID";
|
|
2770
|
+
data: string;
|
|
2771
|
+
driverParam: string;
|
|
2772
|
+
notNull: true;
|
|
2773
|
+
hasDefault: false;
|
|
2774
|
+
isPrimaryKey: true;
|
|
2775
|
+
isAutoincrement: false;
|
|
2776
|
+
hasRuntimeDefault: false;
|
|
2777
|
+
enumValues: undefined;
|
|
2778
|
+
baseColumn: never;
|
|
2779
|
+
identity: undefined;
|
|
2780
|
+
generated: undefined;
|
|
2781
|
+
}, {}, {}>;
|
|
2782
|
+
fromId: import("drizzle-orm/pg-core").PgColumn<{
|
|
2783
|
+
name: "from_id";
|
|
2784
|
+
tableName: string;
|
|
2785
|
+
dataType: "string";
|
|
2786
|
+
columnType: "PgText";
|
|
2787
|
+
data: string;
|
|
2788
|
+
driverParam: string;
|
|
2789
|
+
notNull: true;
|
|
2790
|
+
hasDefault: false;
|
|
2791
|
+
isPrimaryKey: false;
|
|
2792
|
+
isAutoincrement: false;
|
|
2793
|
+
hasRuntimeDefault: false;
|
|
2794
|
+
enumValues: [string, ...string[]];
|
|
2795
|
+
baseColumn: never;
|
|
2796
|
+
identity: undefined;
|
|
2797
|
+
generated: undefined;
|
|
2798
|
+
}, {}, {}>;
|
|
2799
|
+
toId: import("drizzle-orm/pg-core").PgColumn<{
|
|
2800
|
+
name: "to_id";
|
|
2801
|
+
tableName: string;
|
|
2802
|
+
dataType: "string";
|
|
2803
|
+
columnType: "PgText";
|
|
2804
|
+
data: string;
|
|
2805
|
+
driverParam: string;
|
|
2806
|
+
notNull: true;
|
|
2807
|
+
hasDefault: false;
|
|
2808
|
+
isPrimaryKey: false;
|
|
2809
|
+
isAutoincrement: false;
|
|
2810
|
+
hasRuntimeDefault: false;
|
|
2811
|
+
enumValues: [string, ...string[]];
|
|
2812
|
+
baseColumn: never;
|
|
2813
|
+
identity: undefined;
|
|
2814
|
+
generated: undefined;
|
|
2815
|
+
}, {}, {}>;
|
|
2816
|
+
body: import("drizzle-orm/pg-core").PgColumn<{
|
|
2817
|
+
name: "body";
|
|
2818
|
+
tableName: string;
|
|
2819
|
+
dataType: "json";
|
|
2820
|
+
columnType: "PgJsonb";
|
|
2821
|
+
data: unknown;
|
|
2822
|
+
driverParam: unknown;
|
|
2823
|
+
notNull: false;
|
|
2824
|
+
hasDefault: true;
|
|
2825
|
+
isPrimaryKey: false;
|
|
2826
|
+
isAutoincrement: false;
|
|
2827
|
+
hasRuntimeDefault: false;
|
|
2828
|
+
enumValues: undefined;
|
|
2829
|
+
baseColumn: never;
|
|
2830
|
+
identity: undefined;
|
|
2831
|
+
generated: undefined;
|
|
2832
|
+
}, {}, {}>;
|
|
2833
|
+
};
|
|
2834
|
+
dialect: "pg";
|
|
2835
|
+
}>;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { index, jsonb, pgTable, text, uniqueIndex } from 'drizzle-orm/pg-core';
|
|
2
2
|
import { edgeTimestamps, idColumn } from './base.js';
|
|
3
|
-
const edgeTable = (name, uniqueFromTo = false) => pgTable(name,
|
|
3
|
+
const edgeTable = (name, uniqueFromTo = false) => pgTable(name, {
|
|
4
|
+
id: idColumn(),
|
|
5
|
+
fromId: text('from_id').notNull(),
|
|
6
|
+
toId: text('to_id').notNull(),
|
|
7
|
+
body: jsonb('body').default({}),
|
|
8
|
+
...edgeTimestamps,
|
|
9
|
+
}, (t) => [
|
|
4
10
|
index(`${name}_from_idx`).on(t.fromId),
|
|
5
11
|
index(`${name}_to_idx`).on(t.toId),
|
|
6
12
|
...(uniqueFromTo
|
|
@@ -8,13 +14,13 @@ const edgeTable = (name, uniqueFromTo = false) => pgTable(name, Object.assign({
|
|
|
8
14
|
: []),
|
|
9
15
|
]);
|
|
10
16
|
export const follows = edgeTable('follows', true);
|
|
17
|
+
export const blocks = edgeTable('blocks', true); // fromId blocker, toId blocked
|
|
11
18
|
export const requestsFollow = edgeTable('requests_follow');
|
|
12
19
|
export const controls = edgeTable('controls');
|
|
13
20
|
export const mentions = edgeTable('mentions');
|
|
14
21
|
export const audience = edgeTable('audience');
|
|
15
22
|
export const postHashtags = edgeTable('post_hashtags');
|
|
16
23
|
export const entries = edgeTable('entries');
|
|
17
|
-
export const reactions = edgeTable('reactions', true);
|
|
18
24
|
export const replyTo = edgeTable('reply_to', true);
|
|
19
25
|
export const repost = edgeTable('repost', true);
|
|
20
26
|
export const bookmarks = edgeTable('bookmarks');
|
|
@@ -33,3 +39,4 @@ export const isReportedObject = edgeTable('is_reported_object');
|
|
|
33
39
|
export const inviteLinkCreators = edgeTable('invite_link_creators');
|
|
34
40
|
export const inviteLinkRedeemers = edgeTable('invite_link_redeemers');
|
|
35
41
|
export const jamRecordings = edgeTable('jam_recordings');
|
|
42
|
+
export const profileHashtags = edgeTable('profile_hashtags', true);
|
|
@@ -1177,7 +1177,7 @@ export declare const schema: {
|
|
|
1177
1177
|
};
|
|
1178
1178
|
dialect: "pg";
|
|
1179
1179
|
}>;
|
|
1180
|
-
|
|
1180
|
+
blocks: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
1181
1181
|
name: string;
|
|
1182
1182
|
schema: undefined;
|
|
1183
1183
|
columns: {
|
|
@@ -1286,7 +1286,7 @@ export declare const schema: {
|
|
|
1286
1286
|
};
|
|
1287
1287
|
dialect: "pg";
|
|
1288
1288
|
}>;
|
|
1289
|
-
|
|
1289
|
+
requestsFollow: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
1290
1290
|
name: string;
|
|
1291
1291
|
schema: undefined;
|
|
1292
1292
|
columns: {
|
|
@@ -1395,7 +1395,7 @@ export declare const schema: {
|
|
|
1395
1395
|
};
|
|
1396
1396
|
dialect: "pg";
|
|
1397
1397
|
}>;
|
|
1398
|
-
|
|
1398
|
+
controls: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
1399
1399
|
name: string;
|
|
1400
1400
|
schema: undefined;
|
|
1401
1401
|
columns: {
|
|
@@ -1504,7 +1504,7 @@ export declare const schema: {
|
|
|
1504
1504
|
};
|
|
1505
1505
|
dialect: "pg";
|
|
1506
1506
|
}>;
|
|
1507
|
-
|
|
1507
|
+
mentions: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
1508
1508
|
name: string;
|
|
1509
1509
|
schema: undefined;
|
|
1510
1510
|
columns: {
|
|
@@ -1613,7 +1613,7 @@ export declare const schema: {
|
|
|
1613
1613
|
};
|
|
1614
1614
|
dialect: "pg";
|
|
1615
1615
|
}>;
|
|
1616
|
-
|
|
1616
|
+
audience: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
1617
1617
|
name: string;
|
|
1618
1618
|
schema: undefined;
|
|
1619
1619
|
columns: {
|
|
@@ -1722,7 +1722,7 @@ export declare const schema: {
|
|
|
1722
1722
|
};
|
|
1723
1723
|
dialect: "pg";
|
|
1724
1724
|
}>;
|
|
1725
|
-
|
|
1725
|
+
postHashtags: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
1726
1726
|
name: string;
|
|
1727
1727
|
schema: undefined;
|
|
1728
1728
|
columns: {
|
|
@@ -1831,7 +1831,7 @@ export declare const schema: {
|
|
|
1831
1831
|
};
|
|
1832
1832
|
dialect: "pg";
|
|
1833
1833
|
}>;
|
|
1834
|
-
|
|
1834
|
+
entries: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
1835
1835
|
name: string;
|
|
1836
1836
|
schema: undefined;
|
|
1837
1837
|
columns: {
|
|
@@ -3793,15 +3793,49 @@ export declare const schema: {
|
|
|
3793
3793
|
};
|
|
3794
3794
|
dialect: "pg";
|
|
3795
3795
|
}>;
|
|
3796
|
-
|
|
3797
|
-
name:
|
|
3796
|
+
profileHashtags: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
3797
|
+
name: string;
|
|
3798
3798
|
schema: undefined;
|
|
3799
3799
|
columns: {
|
|
3800
|
+
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
3801
|
+
name: "created_at";
|
|
3802
|
+
tableName: string;
|
|
3803
|
+
dataType: "string";
|
|
3804
|
+
columnType: "PgTimestampString";
|
|
3805
|
+
data: string;
|
|
3806
|
+
driverParam: string;
|
|
3807
|
+
notNull: true;
|
|
3808
|
+
hasDefault: true;
|
|
3809
|
+
isPrimaryKey: false;
|
|
3810
|
+
isAutoincrement: false;
|
|
3811
|
+
hasRuntimeDefault: false;
|
|
3812
|
+
enumValues: undefined;
|
|
3813
|
+
baseColumn: never;
|
|
3814
|
+
identity: undefined;
|
|
3815
|
+
generated: undefined;
|
|
3816
|
+
}, {}, {}>;
|
|
3817
|
+
updatedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
3818
|
+
name: "updated_at";
|
|
3819
|
+
tableName: string;
|
|
3820
|
+
dataType: "string";
|
|
3821
|
+
columnType: "PgTimestampString";
|
|
3822
|
+
data: string;
|
|
3823
|
+
driverParam: string;
|
|
3824
|
+
notNull: true;
|
|
3825
|
+
hasDefault: true;
|
|
3826
|
+
isPrimaryKey: false;
|
|
3827
|
+
isAutoincrement: false;
|
|
3828
|
+
hasRuntimeDefault: false;
|
|
3829
|
+
enumValues: undefined;
|
|
3830
|
+
baseColumn: never;
|
|
3831
|
+
identity: undefined;
|
|
3832
|
+
generated: undefined;
|
|
3833
|
+
}, {}, {}>;
|
|
3800
3834
|
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
3801
3835
|
name: "id";
|
|
3802
|
-
tableName:
|
|
3836
|
+
tableName: string;
|
|
3803
3837
|
dataType: "string";
|
|
3804
|
-
columnType: "
|
|
3838
|
+
columnType: "PgUUID";
|
|
3805
3839
|
data: string;
|
|
3806
3840
|
driverParam: string;
|
|
3807
3841
|
notNull: true;
|
|
@@ -3809,19 +3843,53 @@ export declare const schema: {
|
|
|
3809
3843
|
isPrimaryKey: true;
|
|
3810
3844
|
isAutoincrement: false;
|
|
3811
3845
|
hasRuntimeDefault: false;
|
|
3846
|
+
enumValues: undefined;
|
|
3847
|
+
baseColumn: never;
|
|
3848
|
+
identity: undefined;
|
|
3849
|
+
generated: undefined;
|
|
3850
|
+
}, {}, {}>;
|
|
3851
|
+
fromId: import("drizzle-orm/pg-core").PgColumn<{
|
|
3852
|
+
name: "from_id";
|
|
3853
|
+
tableName: string;
|
|
3854
|
+
dataType: "string";
|
|
3855
|
+
columnType: "PgText";
|
|
3856
|
+
data: string;
|
|
3857
|
+
driverParam: string;
|
|
3858
|
+
notNull: true;
|
|
3859
|
+
hasDefault: false;
|
|
3860
|
+
isPrimaryKey: false;
|
|
3861
|
+
isAutoincrement: false;
|
|
3862
|
+
hasRuntimeDefault: false;
|
|
3812
3863
|
enumValues: [string, ...string[]];
|
|
3813
3864
|
baseColumn: never;
|
|
3814
3865
|
identity: undefined;
|
|
3815
3866
|
generated: undefined;
|
|
3816
3867
|
}, {}, {}>;
|
|
3817
|
-
|
|
3818
|
-
name: "
|
|
3819
|
-
tableName:
|
|
3868
|
+
toId: import("drizzle-orm/pg-core").PgColumn<{
|
|
3869
|
+
name: "to_id";
|
|
3870
|
+
tableName: string;
|
|
3820
3871
|
dataType: "string";
|
|
3821
|
-
columnType: "
|
|
3872
|
+
columnType: "PgText";
|
|
3822
3873
|
data: string;
|
|
3823
3874
|
driverParam: string;
|
|
3824
3875
|
notNull: true;
|
|
3876
|
+
hasDefault: false;
|
|
3877
|
+
isPrimaryKey: false;
|
|
3878
|
+
isAutoincrement: false;
|
|
3879
|
+
hasRuntimeDefault: false;
|
|
3880
|
+
enumValues: [string, ...string[]];
|
|
3881
|
+
baseColumn: never;
|
|
3882
|
+
identity: undefined;
|
|
3883
|
+
generated: undefined;
|
|
3884
|
+
}, {}, {}>;
|
|
3885
|
+
body: import("drizzle-orm/pg-core").PgColumn<{
|
|
3886
|
+
name: "body";
|
|
3887
|
+
tableName: string;
|
|
3888
|
+
dataType: "json";
|
|
3889
|
+
columnType: "PgJsonb";
|
|
3890
|
+
data: unknown;
|
|
3891
|
+
driverParam: unknown;
|
|
3892
|
+
notNull: false;
|
|
3825
3893
|
hasDefault: true;
|
|
3826
3894
|
isPrimaryKey: false;
|
|
3827
3895
|
isAutoincrement: false;
|
|
@@ -4318,6 +4386,125 @@ export declare const schema: {
|
|
|
4318
4386
|
identity: undefined;
|
|
4319
4387
|
generated: undefined;
|
|
4320
4388
|
}, {}, {}>;
|
|
4389
|
+
uri: import("drizzle-orm/pg-core").PgColumn<{
|
|
4390
|
+
name: "uri";
|
|
4391
|
+
tableName: "profiles";
|
|
4392
|
+
dataType: "string";
|
|
4393
|
+
columnType: "PgText";
|
|
4394
|
+
data: string;
|
|
4395
|
+
driverParam: string;
|
|
4396
|
+
notNull: false;
|
|
4397
|
+
hasDefault: false;
|
|
4398
|
+
isPrimaryKey: false;
|
|
4399
|
+
isAutoincrement: false;
|
|
4400
|
+
hasRuntimeDefault: false;
|
|
4401
|
+
enumValues: [string, ...string[]];
|
|
4402
|
+
baseColumn: never;
|
|
4403
|
+
identity: undefined;
|
|
4404
|
+
generated: undefined;
|
|
4405
|
+
}, {}, {}>;
|
|
4406
|
+
inboxUrl: import("drizzle-orm/pg-core").PgColumn<{
|
|
4407
|
+
name: "inbox_url";
|
|
4408
|
+
tableName: "profiles";
|
|
4409
|
+
dataType: "string";
|
|
4410
|
+
columnType: "PgText";
|
|
4411
|
+
data: string;
|
|
4412
|
+
driverParam: string;
|
|
4413
|
+
notNull: false;
|
|
4414
|
+
hasDefault: false;
|
|
4415
|
+
isPrimaryKey: false;
|
|
4416
|
+
isAutoincrement: false;
|
|
4417
|
+
hasRuntimeDefault: false;
|
|
4418
|
+
enumValues: [string, ...string[]];
|
|
4419
|
+
baseColumn: never;
|
|
4420
|
+
identity: undefined;
|
|
4421
|
+
generated: undefined;
|
|
4422
|
+
}, {}, {}>;
|
|
4423
|
+
sharedInboxUrl: import("drizzle-orm/pg-core").PgColumn<{
|
|
4424
|
+
name: "shared_inbox_url";
|
|
4425
|
+
tableName: "profiles";
|
|
4426
|
+
dataType: "string";
|
|
4427
|
+
columnType: "PgText";
|
|
4428
|
+
data: string;
|
|
4429
|
+
driverParam: string;
|
|
4430
|
+
notNull: false;
|
|
4431
|
+
hasDefault: false;
|
|
4432
|
+
isPrimaryKey: false;
|
|
4433
|
+
isAutoincrement: false;
|
|
4434
|
+
hasRuntimeDefault: false;
|
|
4435
|
+
enumValues: [string, ...string[]];
|
|
4436
|
+
baseColumn: never;
|
|
4437
|
+
identity: undefined;
|
|
4438
|
+
generated: undefined;
|
|
4439
|
+
}, {}, {}>;
|
|
4440
|
+
publicKeyPem: import("drizzle-orm/pg-core").PgColumn<{
|
|
4441
|
+
name: "public_key_pem";
|
|
4442
|
+
tableName: "profiles";
|
|
4443
|
+
dataType: "string";
|
|
4444
|
+
columnType: "PgText";
|
|
4445
|
+
data: string;
|
|
4446
|
+
driverParam: string;
|
|
4447
|
+
notNull: false;
|
|
4448
|
+
hasDefault: false;
|
|
4449
|
+
isPrimaryKey: false;
|
|
4450
|
+
isAutoincrement: false;
|
|
4451
|
+
hasRuntimeDefault: false;
|
|
4452
|
+
enumValues: [string, ...string[]];
|
|
4453
|
+
baseColumn: never;
|
|
4454
|
+
identity: undefined;
|
|
4455
|
+
generated: undefined;
|
|
4456
|
+
}, {}, {}>;
|
|
4457
|
+
privateKeyPem: import("drizzle-orm/pg-core").PgColumn<{
|
|
4458
|
+
name: "private_key_pem";
|
|
4459
|
+
tableName: "profiles";
|
|
4460
|
+
dataType: "string";
|
|
4461
|
+
columnType: "PgText";
|
|
4462
|
+
data: string;
|
|
4463
|
+
driverParam: string;
|
|
4464
|
+
notNull: false;
|
|
4465
|
+
hasDefault: false;
|
|
4466
|
+
isPrimaryKey: false;
|
|
4467
|
+
isAutoincrement: false;
|
|
4468
|
+
hasRuntimeDefault: false;
|
|
4469
|
+
enumValues: [string, ...string[]];
|
|
4470
|
+
baseColumn: never;
|
|
4471
|
+
identity: undefined;
|
|
4472
|
+
generated: undefined;
|
|
4473
|
+
}, {}, {}>;
|
|
4474
|
+
keyId: import("drizzle-orm/pg-core").PgColumn<{
|
|
4475
|
+
name: "key_id";
|
|
4476
|
+
tableName: "profiles";
|
|
4477
|
+
dataType: "string";
|
|
4478
|
+
columnType: "PgText";
|
|
4479
|
+
data: string;
|
|
4480
|
+
driverParam: string;
|
|
4481
|
+
notNull: false;
|
|
4482
|
+
hasDefault: false;
|
|
4483
|
+
isPrimaryKey: false;
|
|
4484
|
+
isAutoincrement: false;
|
|
4485
|
+
hasRuntimeDefault: false;
|
|
4486
|
+
enumValues: [string, ...string[]];
|
|
4487
|
+
baseColumn: never;
|
|
4488
|
+
identity: undefined;
|
|
4489
|
+
generated: undefined;
|
|
4490
|
+
}, {}, {}>;
|
|
4491
|
+
fetchedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
4492
|
+
name: "fetched_at";
|
|
4493
|
+
tableName: "profiles";
|
|
4494
|
+
dataType: "string";
|
|
4495
|
+
columnType: "PgTimestampString";
|
|
4496
|
+
data: string;
|
|
4497
|
+
driverParam: string;
|
|
4498
|
+
notNull: false;
|
|
4499
|
+
hasDefault: false;
|
|
4500
|
+
isPrimaryKey: false;
|
|
4501
|
+
isAutoincrement: false;
|
|
4502
|
+
hasRuntimeDefault: false;
|
|
4503
|
+
enumValues: undefined;
|
|
4504
|
+
baseColumn: never;
|
|
4505
|
+
identity: undefined;
|
|
4506
|
+
generated: undefined;
|
|
4507
|
+
}, {}, {}>;
|
|
4321
4508
|
body: import("drizzle-orm/pg-core").PgColumn<{
|
|
4322
4509
|
name: "body";
|
|
4323
4510
|
tableName: "profiles";
|
|
@@ -4826,6 +5013,40 @@ export declare const schema: {
|
|
|
4826
5013
|
identity: undefined;
|
|
4827
5014
|
generated: undefined;
|
|
4828
5015
|
}, {}, {}>;
|
|
5016
|
+
uri: import("drizzle-orm/pg-core").PgColumn<{
|
|
5017
|
+
name: "uri";
|
|
5018
|
+
tableName: "posts";
|
|
5019
|
+
dataType: "string";
|
|
5020
|
+
columnType: "PgText";
|
|
5021
|
+
data: string;
|
|
5022
|
+
driverParam: string;
|
|
5023
|
+
notNull: false;
|
|
5024
|
+
hasDefault: false;
|
|
5025
|
+
isPrimaryKey: false;
|
|
5026
|
+
isAutoincrement: false;
|
|
5027
|
+
hasRuntimeDefault: false;
|
|
5028
|
+
enumValues: [string, ...string[]];
|
|
5029
|
+
baseColumn: never;
|
|
5030
|
+
identity: undefined;
|
|
5031
|
+
generated: undefined;
|
|
5032
|
+
}, {}, {}>;
|
|
5033
|
+
inReplyToUri: import("drizzle-orm/pg-core").PgColumn<{
|
|
5034
|
+
name: "in_reply_to_uri";
|
|
5035
|
+
tableName: "posts";
|
|
5036
|
+
dataType: "string";
|
|
5037
|
+
columnType: "PgText";
|
|
5038
|
+
data: string;
|
|
5039
|
+
driverParam: string;
|
|
5040
|
+
notNull: false;
|
|
5041
|
+
hasDefault: false;
|
|
5042
|
+
isPrimaryKey: false;
|
|
5043
|
+
isAutoincrement: false;
|
|
5044
|
+
hasRuntimeDefault: false;
|
|
5045
|
+
enumValues: [string, ...string[]];
|
|
5046
|
+
baseColumn: never;
|
|
5047
|
+
identity: undefined;
|
|
5048
|
+
generated: undefined;
|
|
5049
|
+
}, {}, {}>;
|
|
4829
5050
|
body: import("drizzle-orm/pg-core").PgColumn<{
|
|
4830
5051
|
name: "body";
|
|
4831
5052
|
tableName: "posts";
|
|
@@ -4862,6 +5083,23 @@ export declare const schema: {
|
|
|
4862
5083
|
}, {}, {
|
|
4863
5084
|
pgColumnBuilderBrand: "PgCustomColumnBuilderBrand";
|
|
4864
5085
|
}>;
|
|
5086
|
+
lastActivityAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
5087
|
+
name: "last_activity_at";
|
|
5088
|
+
tableName: "posts";
|
|
5089
|
+
dataType: "string";
|
|
5090
|
+
columnType: "PgTimestampString";
|
|
5091
|
+
data: string;
|
|
5092
|
+
driverParam: string;
|
|
5093
|
+
notNull: true;
|
|
5094
|
+
hasDefault: true;
|
|
5095
|
+
isPrimaryKey: false;
|
|
5096
|
+
isAutoincrement: false;
|
|
5097
|
+
hasRuntimeDefault: false;
|
|
5098
|
+
enumValues: undefined;
|
|
5099
|
+
baseColumn: never;
|
|
5100
|
+
identity: undefined;
|
|
5101
|
+
generated: undefined;
|
|
5102
|
+
}, {}, {}>;
|
|
4865
5103
|
};
|
|
4866
5104
|
dialect: "pg";
|
|
4867
5105
|
}>;
|
|
@@ -5938,5 +6176,114 @@ export declare const schema: {
|
|
|
5938
6176
|
};
|
|
5939
6177
|
dialect: "pg";
|
|
5940
6178
|
}>;
|
|
6179
|
+
apActivities: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
6180
|
+
name: "ap_activities";
|
|
6181
|
+
schema: undefined;
|
|
6182
|
+
columns: {
|
|
6183
|
+
uri: import("drizzle-orm/pg-core").PgColumn<{
|
|
6184
|
+
name: "uri";
|
|
6185
|
+
tableName: "ap_activities";
|
|
6186
|
+
dataType: "string";
|
|
6187
|
+
columnType: "PgText";
|
|
6188
|
+
data: string;
|
|
6189
|
+
driverParam: string;
|
|
6190
|
+
notNull: true;
|
|
6191
|
+
hasDefault: false;
|
|
6192
|
+
isPrimaryKey: true;
|
|
6193
|
+
isAutoincrement: false;
|
|
6194
|
+
hasRuntimeDefault: false;
|
|
6195
|
+
enumValues: [string, ...string[]];
|
|
6196
|
+
baseColumn: never;
|
|
6197
|
+
identity: undefined;
|
|
6198
|
+
generated: undefined;
|
|
6199
|
+
}, {}, {}>;
|
|
6200
|
+
type: import("drizzle-orm/pg-core").PgColumn<{
|
|
6201
|
+
name: "type";
|
|
6202
|
+
tableName: "ap_activities";
|
|
6203
|
+
dataType: "string";
|
|
6204
|
+
columnType: "PgText";
|
|
6205
|
+
data: string;
|
|
6206
|
+
driverParam: string;
|
|
6207
|
+
notNull: true;
|
|
6208
|
+
hasDefault: false;
|
|
6209
|
+
isPrimaryKey: false;
|
|
6210
|
+
isAutoincrement: false;
|
|
6211
|
+
hasRuntimeDefault: false;
|
|
6212
|
+
enumValues: [string, ...string[]];
|
|
6213
|
+
baseColumn: never;
|
|
6214
|
+
identity: undefined;
|
|
6215
|
+
generated: undefined;
|
|
6216
|
+
}, {}, {}>;
|
|
6217
|
+
actorUri: import("drizzle-orm/pg-core").PgColumn<{
|
|
6218
|
+
name: "actor_uri";
|
|
6219
|
+
tableName: "ap_activities";
|
|
6220
|
+
dataType: "string";
|
|
6221
|
+
columnType: "PgText";
|
|
6222
|
+
data: string;
|
|
6223
|
+
driverParam: string;
|
|
6224
|
+
notNull: true;
|
|
6225
|
+
hasDefault: false;
|
|
6226
|
+
isPrimaryKey: false;
|
|
6227
|
+
isAutoincrement: false;
|
|
6228
|
+
hasRuntimeDefault: false;
|
|
6229
|
+
enumValues: [string, ...string[]];
|
|
6230
|
+
baseColumn: never;
|
|
6231
|
+
identity: undefined;
|
|
6232
|
+
generated: undefined;
|
|
6233
|
+
}, {}, {}>;
|
|
6234
|
+
objectUri: import("drizzle-orm/pg-core").PgColumn<{
|
|
6235
|
+
name: "object_uri";
|
|
6236
|
+
tableName: "ap_activities";
|
|
6237
|
+
dataType: "string";
|
|
6238
|
+
columnType: "PgText";
|
|
6239
|
+
data: string;
|
|
6240
|
+
driverParam: string;
|
|
6241
|
+
notNull: false;
|
|
6242
|
+
hasDefault: false;
|
|
6243
|
+
isPrimaryKey: false;
|
|
6244
|
+
isAutoincrement: false;
|
|
6245
|
+
hasRuntimeDefault: false;
|
|
6246
|
+
enumValues: [string, ...string[]];
|
|
6247
|
+
baseColumn: never;
|
|
6248
|
+
identity: undefined;
|
|
6249
|
+
generated: undefined;
|
|
6250
|
+
}, {}, {}>;
|
|
6251
|
+
direction: import("drizzle-orm/pg-core").PgColumn<{
|
|
6252
|
+
name: "direction";
|
|
6253
|
+
tableName: "ap_activities";
|
|
6254
|
+
dataType: "string";
|
|
6255
|
+
columnType: "PgText";
|
|
6256
|
+
data: string;
|
|
6257
|
+
driverParam: string;
|
|
6258
|
+
notNull: true;
|
|
6259
|
+
hasDefault: false;
|
|
6260
|
+
isPrimaryKey: false;
|
|
6261
|
+
isAutoincrement: false;
|
|
6262
|
+
hasRuntimeDefault: false;
|
|
6263
|
+
enumValues: [string, ...string[]];
|
|
6264
|
+
baseColumn: never;
|
|
6265
|
+
identity: undefined;
|
|
6266
|
+
generated: undefined;
|
|
6267
|
+
}, {}, {}>;
|
|
6268
|
+
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
6269
|
+
name: "created_at";
|
|
6270
|
+
tableName: "ap_activities";
|
|
6271
|
+
dataType: "string";
|
|
6272
|
+
columnType: "PgTimestampString";
|
|
6273
|
+
data: string;
|
|
6274
|
+
driverParam: string;
|
|
6275
|
+
notNull: true;
|
|
6276
|
+
hasDefault: true;
|
|
6277
|
+
isPrimaryKey: false;
|
|
6278
|
+
isAutoincrement: false;
|
|
6279
|
+
hasRuntimeDefault: false;
|
|
6280
|
+
enumValues: undefined;
|
|
6281
|
+
baseColumn: never;
|
|
6282
|
+
identity: undefined;
|
|
6283
|
+
generated: undefined;
|
|
6284
|
+
}, {}, {}>;
|
|
6285
|
+
};
|
|
6286
|
+
dialect: "pg";
|
|
6287
|
+
}>;
|
|
5941
6288
|
};
|
|
5942
6289
|
export type Schema = typeof schema;
|
|
@@ -4,4 +4,8 @@ export * from './analytics.js';
|
|
|
4
4
|
import * as documents from './documents.js';
|
|
5
5
|
import * as edges from './edges.js';
|
|
6
6
|
import * as analytics from './analytics.js';
|
|
7
|
-
export const schema =
|
|
7
|
+
export const schema = {
|
|
8
|
+
...documents,
|
|
9
|
+
...edges,
|
|
10
|
+
...analytics,
|
|
11
|
+
};
|