@jant/core 0.3.43 → 0.3.44
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/{app-Ctl0T0zO.js → app-BI9bnCkO.js} +1 -1
- package/dist/{app-GbfwoeDJ.js → app-CtJDxZBb.js} +341 -252
- package/dist/client/.vite/manifest.json +1 -1
- package/dist/client/_assets/client-BQH7AQ24.css +2 -0
- package/dist/index.js +1 -1
- package/dist/node.js +2 -2
- package/package.json +1 -1
- package/src/db/migrations/0019_bored_magus.sql +2 -0
- package/src/db/migrations/meta/0019_snapshot.json +2238 -0
- package/src/db/migrations/meta/_journal.json +7 -0
- package/src/db/migrations/pg/0017_bright_beyonder.sql +2 -0
- package/src/db/migrations/pg/meta/0017_snapshot.json +2862 -0
- package/src/db/migrations/pg/meta/_journal.json +7 -0
- package/src/db/pg/schema.ts +4 -0
- package/src/db/schema.ts +4 -0
- package/src/lib/icons.ts +37 -0
- package/src/routes/api/internal/sites.ts +1 -0
- package/src/services/__tests__/site-admin.test.ts +85 -0
- package/src/services/site-admin.ts +66 -1
- package/src/styles/ui.css +12 -0
- package/src/ui/feed/LinkCard.tsx +3 -20
- package/src/ui/feed/LinkPreview.tsx +5 -19
- package/src/ui/feed/PostStatusBadges.tsx +4 -38
- package/src/ui/layouts/BaseLayout.tsx +14 -29
- package/src/ui/shared/DecorativeQuoteMark.tsx +2 -13
- package/src/ui/shared/Icon.tsx +60 -0
- package/src/ui/shared/IconSprite.tsx +57 -0
- package/src/ui/shared/PostFooter.tsx +6 -62
- package/src/ui/shared/custom-icons.ts +132 -0
- package/src/ui/shared/icon-collector.ts +37 -0
- package/dist/client/_assets/client-C_kImWZj.css +0 -2
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as url_exports } from "./url-umUptr5z.js";
|
|
2
|
-
import { A as NAV_ITEM_TYPES, C as toPostView, D as MAX_MEDIA_ATTACHMENTS, E as FORMATS, M as STATUSES, N as TEXT_ATTACHMENT_CONTENT_FORMATS, O as MAX_PINNED_POSTS, S as toNavItemViews, T as toSearchResultView, _ as createMediaContext, b as toMediaView, f as defaultFeedRenderer, j as SORT_ORDERS, k as MEDIA_KINDS, n as createRequestRuntime, t as createApp, v as toArchiveGroups, w as toPostViews, x as toNavItemView, y as toArchiveGroupsWithMedia } from "./app-
|
|
2
|
+
import { A as NAV_ITEM_TYPES, C as toPostView, D as MAX_MEDIA_ATTACHMENTS, E as FORMATS, M as STATUSES, N as TEXT_ATTACHMENT_CONTENT_FORMATS, O as MAX_PINNED_POSTS, S as toNavItemViews, T as toSearchResultView, _ as createMediaContext, b as toMediaView, f as defaultFeedRenderer, j as SORT_ORDERS, k as MEDIA_KINDS, n as createRequestRuntime, t as createApp, v as toArchiveGroups, w as toPostViews, x as toNavItemView, y as toArchiveGroupsWithMedia } from "./app-CtJDxZBb.js";
|
|
3
3
|
import { E as time_exports, n as createGitHubSyncService, s as markdown_exports } from "./github-sync-7y_nTXx1.js";
|
|
4
4
|
import { u as getGitHubAppConfig } from "./env-CgaH9Mut.js";
|
|
5
5
|
//#region src/lib/github-sync-worker.ts
|
package/dist/node.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./url-umUptr5z.js";
|
|
2
|
-
import { F as BUILTIN_COLOR_THEMES, I as getPublicAssetBasePath, L as isAssetPath, P as buildThemeStyle, a as createSiteService, c as resolveConfig, d as getFontThemeCssVariables, g as schema_exports, h as createNodeDatabase, i as createNodeRequestRuntime, l as BUILTIN_FONT_THEMES, m as sqliteSchemaBundle, o as resolveDatabaseDialect, p as pgSchemaBundle, r as createNodeCliRuntime, s as getHostBasedStartupConfigurationIssues, t as createApp, u as getCjkSerifCssVariables } from "./app-
|
|
2
|
+
import { F as BUILTIN_COLOR_THEMES, I as getPublicAssetBasePath, L as isAssetPath, P as buildThemeStyle, a as createSiteService, c as resolveConfig, d as getFontThemeCssVariables, g as schema_exports, h as createNodeDatabase, i as createNodeRequestRuntime, l as BUILTIN_FONT_THEMES, m as sqliteSchemaBundle, o as resolveDatabaseDialect, p as pgSchemaBundle, r as createNodeCliRuntime, s as getHostBasedStartupConfigurationIssues, t as createApp, u as getCjkSerifCssVariables } from "./app-CtJDxZBb.js";
|
|
3
3
|
import { i as createExportService } from "./github-sync-7y_nTXx1.js";
|
|
4
4
|
import { b as getSiteResolutionMode, i as getConfiguredSingleSitePathPrefix, l as getEnvString, r as getConfiguredSingleSiteOrigin, x as shouldTrustProxy, y as getPort } from "./env-CgaH9Mut.js";
|
|
5
5
|
import { drizzle } from "drizzle-orm/better-sqlite3";
|
|
@@ -473,7 +473,7 @@ async function createNodeRequestHandler(options) {
|
|
|
473
473
|
async function start(env = process.env, app) {
|
|
474
474
|
const handler = await createNodeRequestHandler({
|
|
475
475
|
env,
|
|
476
|
-
app: async () => app ?? (await import("./app-
|
|
476
|
+
app: async () => app ?? (await import("./app-BI9bnCkO.js")).createApp()
|
|
477
477
|
});
|
|
478
478
|
const hostname = resolveHost(env);
|
|
479
479
|
const port = resolvePort(env);
|
package/package.json
CHANGED