Music streaming on ATProto!

fix: correct script for building lexicon client

ovyerus.com 062a9b5d 980f7bfd

verified
Changed files
+34 -615
.vscode
apps
packages
+2 -2
.gitignore
··· 5 5 .vercel 6 6 .netlify 7 7 .wrangler 8 - /.svelte-kit 9 - /build 8 + .svelte-kit 9 + build 10 10 11 11 # OS 12 12 .DS_Store
+7 -1
.vscode/settings.json
··· 4 4 "fileMatch": ["/packages/lexicons/*/**/*.json"], 5 5 "url": "https://gist.githubusercontent.com/mary-ext/6e428031c18799d1587048b456d118cb/raw/4322c492384ac5da33986dee9588938a88d922f1/schema.json" 6 6 } 7 - ] 7 + ], 8 + "search.exclude": { 9 + "**/node_modules": true, 10 + "**/bower_components": true, 11 + "**/*.code-search": true, 12 + "packages/lexicons/src/**/*": true 13 + } 8 14 }
-481
apps/frontend/.svelte-kit/ambient.d.ts
··· 1 - // this file is generated — do not edit it 2 - 3 - /// <reference types="@sveltejs/kit" /> 4 - 5 - /** 6 - * Environment variables [loaded by Vite](https://vitejs.dev/guide/env-and-mode.html#env-files) from `.env` files and `process.env`. Like [`$env/dynamic/private`](https://svelte.dev/docs/kit/$env-dynamic-private), this module cannot be imported into client-side code. This module only includes variables that _do not_ begin with [`config.kit.env.publicPrefix`](https://svelte.dev/docs/kit/configuration#env) _and do_ start with [`config.kit.env.privatePrefix`](https://svelte.dev/docs/kit/configuration#env) (if configured). 7 - * 8 - * _Unlike_ [`$env/dynamic/private`](https://svelte.dev/docs/kit/$env-dynamic-private), the values exported from this module are statically injected into your bundle at build time, enabling optimisations like dead code elimination. 9 - * 10 - * ```ts 11 - * import { API_KEY } from '$env/static/private'; 12 - * ``` 13 - * 14 - * Note that all environment variables referenced in your code should be declared (for example in an `.env` file), even if they don't have a value until the app is deployed: 15 - * 16 - * ``` 17 - * MY_FEATURE_FLAG="" 18 - * ``` 19 - * 20 - * You can override `.env` values from the command line like so: 21 - * 22 - * ```bash 23 - * MY_FEATURE_FLAG="enabled" npm run dev 24 - * ``` 25 - */ 26 - declare module "$env/static/private" { 27 - export const SHELL: string; 28 - export const SESSION_MANAGER: string; 29 - export const __ETC_PROFILE_DONE: string; 30 - export const COLORTERM: string; 31 - export const __HM_SESS_VARS_SOURCED: string; 32 - export const XDG_CONFIG_DIRS: string; 33 - export const XDG_SESSION_PATH: string; 34 - export const NIX_BUILD_CORES: string; 35 - export const XDG_MENU_PREFIX: string; 36 - export const TERM_PROGRAM_VERSION: string; 37 - export const configureFlags: string; 38 - export const SPEECHD_CMD: string; 39 - export const VSCODE_INSPECTOR_OPTIONS: string; 40 - export const mesonFlags: string; 41 - export const _fifc_comp_count: string; 42 - export const ICEAUTHORITY: string; 43 - export const FONTCONFIG_PATH: string; 44 - export const LANGUAGE: string; 45 - export const shell: string; 46 - export const depsHostHost: string; 47 - export const NODE: string; 48 - export const NODE_OPTIONS: string; 49 - export const LC_ADDRESS: string; 50 - export const _fifc_ordered_comp: string; 51 - export const LC_NAME: string; 52 - export const DIRENV_DIR: string; 53 - export const STRINGS: string; 54 - export const depsTargetTarget: string; 55 - export const XCURSOR_PATH: string; 56 - export const MEMORY_PRESSURE_WRITE: string; 57 - export const stdenv: string; 58 - export const LOCALE_ARCHIVE_2_27: string; 59 - export const npm_config_local_prefix: string; 60 - export const builder: string; 61 - export const DESKTOP_SESSION: string; 62 - export const LC_MONETARY: string; 63 - export const GTK_RC_FILES: string; 64 - export const NO_AT_BRIDGE: string; 65 - export const shellHook: string; 66 - export const DIRENV_FILE: string; 67 - export const EDITOR: string; 68 - export const phases: string; 69 - export const XDG_SEAT: string; 70 - export const PWD: string; 71 - export const NIX_PROFILES: string; 72 - export const SOURCE_DATE_EPOCH: string; 73 - export const XDG_SESSION_DESKTOP: string; 74 - export const LOGNAME: string; 75 - export const QT_QPA_PLATFORMTHEME: string; 76 - export const XDG_SESSION_TYPE: string; 77 - export const NIX_ENFORCE_NO_NATIVE: string; 78 - export const CUPS_DATADIR: string; 79 - export const NIX_PATH: string; 80 - export const BUN_WHICH_IGNORE_CWD: string; 81 - export const SYSTEMD_EXEC_PID: string; 82 - export const NIXPKGS_CONFIG: string; 83 - export const CXX: string; 84 - export const XAUTHORITY: string; 85 - export const system: string; 86 - export const FZF_DEFAULT_COMMAND: string; 87 - export const VSCODE_GIT_ASKPASS_NODE: string; 88 - export const HOST_PATH: string; 89 - export const QT_STYLE_OVERRIDE: string; 90 - export const VSCODE_INJECTION: string; 91 - export const XKB_DEFAULT_MODEL: string; 92 - export const GTK2_RC_FILES: string; 93 - export const IN_NIX_SHELL: string; 94 - export const NIXPKGS_QT6_QML_IMPORT_PATH: string; 95 - export const doInstallCheck: string; 96 - export const HOME: string; 97 - export const NIX_BINTOOLS: string; 98 - export const SSH_ASKPASS: string; 99 - export const LANG: string; 100 - export const LC_PAPER: string; 101 - export const XDG_CURRENT_DESKTOP: string; 102 - export const depsTargetTargetPropagated: string; 103 - export const npm_package_version: string; 104 - export const MEMORY_PRESSURE_WATCH: string; 105 - export const WAYLAND_DISPLAY: string; 106 - export const cmakeFlags: string; 107 - export const outputs: string; 108 - export const GIO_EXTRA_MODULES: string; 109 - export const MANROFFOPT: string; 110 - export const NIX_STORE: string; 111 - export const GIT_ASKPASS: string; 112 - export const XDG_SEAT_PATH: string; 113 - export const LD: string; 114 - export const INVOCATION_ID: string; 115 - export const buildPhase: string; 116 - export const MOAR: string; 117 - export const MANGOHUD_CONFIGFILE: string; 118 - export const MANAGERPID: string; 119 - export const DIRENV_DIFF: string; 120 - export const INIT_CWD: string; 121 - export const READELF: string; 122 - export const GTK_A11Y: string; 123 - export const CHROME_DESKTOP: string; 124 - export const KDE_SESSION_UID: string; 125 - export const NIX_USER_PROFILE_DIR: string; 126 - export const INFOPATH: string; 127 - export const doCheck: string; 128 - export const VSCODE_GIT_ASKPASS_EXTRA_ARGS: string; 129 - export const XKB_DEFAULT_LAYOUT: string; 130 - export const depsBuildBuild: string; 131 - export const XDG_SESSION_CLASS: string; 132 - export const _fifc_unordered_comp: string; 133 - export const LC_IDENTIFICATION: string; 134 - export const TERM: string; 135 - export const npm_package_name: string; 136 - export const FZF_CTRL_T_COMMAND: string; 137 - export const GTK_PATH: string; 138 - export const SIZE: string; 139 - export const propagatedNativeBuildInputs: string; 140 - export const strictDeps: string; 141 - export const USER: string; 142 - export const VSCODE_GIT_IPC_HANDLE: string; 143 - export const TZDIR: string; 144 - export const QT_WAYLAND_RECONNECT: string; 145 - export const AR: string; 146 - export const KDE_SESSION_VERSION: string; 147 - export const AS: string; 148 - export const MANPAGER: string; 149 - export const DISPLAY: string; 150 - export const NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu: string; 151 - export const _fifc_comp_1: string; 152 - export const _fifc_comp_3: string; 153 - export const _fifc_comp_2: string; 154 - export const _fifc_comp_5: string; 155 - export const _fifc_comp_4: string; 156 - export const SHLVL: string; 157 - export const _fifc_comp_7: string; 158 - export const _fifc_comp_6: string; 159 - export const _fifc_comp_9: string; 160 - export const _fifc_comp_8: string; 161 - export const MOZ_ENABLE_WAYLAND: string; 162 - export const NM: string; 163 - export const PAGER: string; 164 - export const NIX_CFLAGS_COMPILE: string; 165 - export const LC_TELEPHONE: string; 166 - export const QTWEBKIT_PLUGIN_PATH: string; 167 - export const patches: string; 168 - export const LC_MEASUREMENT: string; 169 - export const __NIXOS_SET_ENVIRONMENT_DONE: string; 170 - export const XDG_VTNR: string; 171 - export const buildInputs: string; 172 - export const XDG_SESSION_ID: string; 173 - export const preferLocalBuild: string; 174 - export const LOCALE_ARCHIVE: string; 175 - export const LESSKEYIN_SYSTEM: string; 176 - export const npm_config_user_agent: string; 177 - export const QML2_IMPORT_PATH: string; 178 - export const TERMINFO_DIRS: string; 179 - export const npm_execpath: string; 180 - export const LD_LIBRARY_PATH: string; 181 - export const XDG_RUNTIME_DIR: string; 182 - export const NODE_PATH: string; 183 - export const depsBuildTarget: string; 184 - export const OBJCOPY: string; 185 - export const NIX_XDG_DESKTOP_PORTAL_DIR: string; 186 - export const out: string; 187 - export const npm_package_json: string; 188 - export const LC_TIME: string; 189 - export const DOCKER_HOST: string; 190 - export const FONTCONFIG_FILE: string; 191 - export const VSCODE_GIT_ASKPASS_MAIN: string; 192 - export const STRIP: string; 193 - export const QT_AUTO_SCREEN_SCALE_FACTOR: string; 194 - export const JOURNAL_STREAM: string; 195 - export const XDG_DATA_DIRS: string; 196 - export const KDE_FULL_SESSION: string; 197 - export const GDK_BACKEND: string; 198 - export const LIBEXEC_PATH: string; 199 - export const OBJDUMP: string; 200 - export const PATH: string; 201 - export const propagatedBuildInputs: string; 202 - export const dontAddDisableDepTrack: string; 203 - export const __fish_nixos_env_preinit_sourced: string; 204 - export const CC: string; 205 - export const NIX_CC: string; 206 - export const ORIGINAL_XDG_CURRENT_DESKTOP: string; 207 - export const DBUS_SESSION_BUS_ADDRESS: string; 208 - export const depsBuildTargetPropagated: string; 209 - export const depsBuildBuildPropagated: string; 210 - export const FZF_DEFAULT_OPTS: string; 211 - export const DIRENV_WATCHES: string; 212 - export const KDE_APPLICATIONS_AS_SCOPE: string; 213 - export const NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu: string; 214 - export const KPACKAGE_DEP_RESOLVERS_PATH: string; 215 - export const QT_PLUGIN_PATH: string; 216 - export const CONFIG_SHELL: string; 217 - export const XKB_DEFAULT_OPTIONS: string; 218 - export const __structuredAttrs: string; 219 - export const npm_node_execpath: string; 220 - export const RANLIB: string; 221 - export const NIX_HARDENING_ENABLE: string; 222 - export const LC_NUMERIC: string; 223 - export const NIX_LDFLAGS: string; 224 - export const nativeBuildInputs: string; 225 - export const name: string; 226 - export const TERM_PROGRAM: string; 227 - export const depsHostHostPropagated: string; 228 - export const _: string; 229 - } 230 - 231 - /** 232 - * Similar to [`$env/static/private`](https://svelte.dev/docs/kit/$env-static-private), except that it only includes environment variables that begin with [`config.kit.env.publicPrefix`](https://svelte.dev/docs/kit/configuration#env) (which defaults to `PUBLIC_`), and can therefore safely be exposed to client-side code. 233 - * 234 - * Values are replaced statically at build time. 235 - * 236 - * ```ts 237 - * import { PUBLIC_BASE_URL } from '$env/static/public'; 238 - * ``` 239 - */ 240 - declare module "$env/static/public" {} 241 - 242 - /** 243 - * This module provides access to runtime environment variables, as defined by the platform you're running on. For example if you're using [`adapter-node`](https://github.com/sveltejs/kit/tree/main/packages/adapter-node) (or running [`vite preview`](https://svelte.dev/docs/kit/cli)), this is equivalent to `process.env`. This module only includes variables that _do not_ begin with [`config.kit.env.publicPrefix`](https://svelte.dev/docs/kit/configuration#env) _and do_ start with [`config.kit.env.privatePrefix`](https://svelte.dev/docs/kit/configuration#env) (if configured). 244 - * 245 - * This module cannot be imported into client-side code. 246 - * 247 - * Dynamic environment variables cannot be used during prerendering. 248 - * 249 - * ```ts 250 - * import { env } from '$env/dynamic/private'; 251 - * console.log(env.DEPLOYMENT_SPECIFIC_VARIABLE); 252 - * ``` 253 - * 254 - * > In `dev`, `$env/dynamic` always includes environment variables from `.env`. In `prod`, this behavior will depend on your adapter. 255 - */ 256 - declare module "$env/dynamic/private" { 257 - export const env: { 258 - SHELL: string; 259 - SESSION_MANAGER: string; 260 - __ETC_PROFILE_DONE: string; 261 - COLORTERM: string; 262 - __HM_SESS_VARS_SOURCED: string; 263 - XDG_CONFIG_DIRS: string; 264 - XDG_SESSION_PATH: string; 265 - NIX_BUILD_CORES: string; 266 - XDG_MENU_PREFIX: string; 267 - TERM_PROGRAM_VERSION: string; 268 - configureFlags: string; 269 - SPEECHD_CMD: string; 270 - VSCODE_INSPECTOR_OPTIONS: string; 271 - mesonFlags: string; 272 - _fifc_comp_count: string; 273 - ICEAUTHORITY: string; 274 - FONTCONFIG_PATH: string; 275 - LANGUAGE: string; 276 - shell: string; 277 - depsHostHost: string; 278 - NODE: string; 279 - NODE_OPTIONS: string; 280 - LC_ADDRESS: string; 281 - _fifc_ordered_comp: string; 282 - LC_NAME: string; 283 - DIRENV_DIR: string; 284 - STRINGS: string; 285 - depsTargetTarget: string; 286 - XCURSOR_PATH: string; 287 - MEMORY_PRESSURE_WRITE: string; 288 - stdenv: string; 289 - LOCALE_ARCHIVE_2_27: string; 290 - npm_config_local_prefix: string; 291 - builder: string; 292 - DESKTOP_SESSION: string; 293 - LC_MONETARY: string; 294 - GTK_RC_FILES: string; 295 - NO_AT_BRIDGE: string; 296 - shellHook: string; 297 - DIRENV_FILE: string; 298 - EDITOR: string; 299 - phases: string; 300 - XDG_SEAT: string; 301 - PWD: string; 302 - NIX_PROFILES: string; 303 - SOURCE_DATE_EPOCH: string; 304 - XDG_SESSION_DESKTOP: string; 305 - LOGNAME: string; 306 - QT_QPA_PLATFORMTHEME: string; 307 - XDG_SESSION_TYPE: string; 308 - NIX_ENFORCE_NO_NATIVE: string; 309 - CUPS_DATADIR: string; 310 - NIX_PATH: string; 311 - BUN_WHICH_IGNORE_CWD: string; 312 - SYSTEMD_EXEC_PID: string; 313 - NIXPKGS_CONFIG: string; 314 - CXX: string; 315 - XAUTHORITY: string; 316 - system: string; 317 - FZF_DEFAULT_COMMAND: string; 318 - VSCODE_GIT_ASKPASS_NODE: string; 319 - HOST_PATH: string; 320 - QT_STYLE_OVERRIDE: string; 321 - VSCODE_INJECTION: string; 322 - XKB_DEFAULT_MODEL: string; 323 - GTK2_RC_FILES: string; 324 - IN_NIX_SHELL: string; 325 - NIXPKGS_QT6_QML_IMPORT_PATH: string; 326 - doInstallCheck: string; 327 - HOME: string; 328 - NIX_BINTOOLS: string; 329 - SSH_ASKPASS: string; 330 - LANG: string; 331 - LC_PAPER: string; 332 - XDG_CURRENT_DESKTOP: string; 333 - depsTargetTargetPropagated: string; 334 - npm_package_version: string; 335 - MEMORY_PRESSURE_WATCH: string; 336 - WAYLAND_DISPLAY: string; 337 - cmakeFlags: string; 338 - outputs: string; 339 - GIO_EXTRA_MODULES: string; 340 - MANROFFOPT: string; 341 - NIX_STORE: string; 342 - GIT_ASKPASS: string; 343 - XDG_SEAT_PATH: string; 344 - LD: string; 345 - INVOCATION_ID: string; 346 - buildPhase: string; 347 - MOAR: string; 348 - MANGOHUD_CONFIGFILE: string; 349 - MANAGERPID: string; 350 - DIRENV_DIFF: string; 351 - INIT_CWD: string; 352 - READELF: string; 353 - GTK_A11Y: string; 354 - CHROME_DESKTOP: string; 355 - KDE_SESSION_UID: string; 356 - NIX_USER_PROFILE_DIR: string; 357 - INFOPATH: string; 358 - doCheck: string; 359 - VSCODE_GIT_ASKPASS_EXTRA_ARGS: string; 360 - XKB_DEFAULT_LAYOUT: string; 361 - depsBuildBuild: string; 362 - XDG_SESSION_CLASS: string; 363 - _fifc_unordered_comp: string; 364 - LC_IDENTIFICATION: string; 365 - TERM: string; 366 - npm_package_name: string; 367 - FZF_CTRL_T_COMMAND: string; 368 - GTK_PATH: string; 369 - SIZE: string; 370 - propagatedNativeBuildInputs: string; 371 - strictDeps: string; 372 - USER: string; 373 - VSCODE_GIT_IPC_HANDLE: string; 374 - TZDIR: string; 375 - QT_WAYLAND_RECONNECT: string; 376 - AR: string; 377 - KDE_SESSION_VERSION: string; 378 - AS: string; 379 - MANPAGER: string; 380 - DISPLAY: string; 381 - NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu: string; 382 - _fifc_comp_1: string; 383 - _fifc_comp_3: string; 384 - _fifc_comp_2: string; 385 - _fifc_comp_5: string; 386 - _fifc_comp_4: string; 387 - SHLVL: string; 388 - _fifc_comp_7: string; 389 - _fifc_comp_6: string; 390 - _fifc_comp_9: string; 391 - _fifc_comp_8: string; 392 - MOZ_ENABLE_WAYLAND: string; 393 - NM: string; 394 - PAGER: string; 395 - NIX_CFLAGS_COMPILE: string; 396 - LC_TELEPHONE: string; 397 - QTWEBKIT_PLUGIN_PATH: string; 398 - patches: string; 399 - LC_MEASUREMENT: string; 400 - __NIXOS_SET_ENVIRONMENT_DONE: string; 401 - XDG_VTNR: string; 402 - buildInputs: string; 403 - XDG_SESSION_ID: string; 404 - preferLocalBuild: string; 405 - LOCALE_ARCHIVE: string; 406 - LESSKEYIN_SYSTEM: string; 407 - npm_config_user_agent: string; 408 - QML2_IMPORT_PATH: string; 409 - TERMINFO_DIRS: string; 410 - npm_execpath: string; 411 - LD_LIBRARY_PATH: string; 412 - XDG_RUNTIME_DIR: string; 413 - NODE_PATH: string; 414 - depsBuildTarget: string; 415 - OBJCOPY: string; 416 - NIX_XDG_DESKTOP_PORTAL_DIR: string; 417 - out: string; 418 - npm_package_json: string; 419 - LC_TIME: string; 420 - DOCKER_HOST: string; 421 - FONTCONFIG_FILE: string; 422 - VSCODE_GIT_ASKPASS_MAIN: string; 423 - STRIP: string; 424 - QT_AUTO_SCREEN_SCALE_FACTOR: string; 425 - JOURNAL_STREAM: string; 426 - XDG_DATA_DIRS: string; 427 - KDE_FULL_SESSION: string; 428 - GDK_BACKEND: string; 429 - LIBEXEC_PATH: string; 430 - OBJDUMP: string; 431 - PATH: string; 432 - propagatedBuildInputs: string; 433 - dontAddDisableDepTrack: string; 434 - __fish_nixos_env_preinit_sourced: string; 435 - CC: string; 436 - NIX_CC: string; 437 - ORIGINAL_XDG_CURRENT_DESKTOP: string; 438 - DBUS_SESSION_BUS_ADDRESS: string; 439 - depsBuildTargetPropagated: string; 440 - depsBuildBuildPropagated: string; 441 - FZF_DEFAULT_OPTS: string; 442 - DIRENV_WATCHES: string; 443 - KDE_APPLICATIONS_AS_SCOPE: string; 444 - NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu: string; 445 - KPACKAGE_DEP_RESOLVERS_PATH: string; 446 - QT_PLUGIN_PATH: string; 447 - CONFIG_SHELL: string; 448 - XKB_DEFAULT_OPTIONS: string; 449 - __structuredAttrs: string; 450 - npm_node_execpath: string; 451 - RANLIB: string; 452 - NIX_HARDENING_ENABLE: string; 453 - LC_NUMERIC: string; 454 - NIX_LDFLAGS: string; 455 - nativeBuildInputs: string; 456 - name: string; 457 - TERM_PROGRAM: string; 458 - depsHostHostPropagated: string; 459 - _: string; 460 - [key: `PUBLIC_${string}`]: undefined; 461 - [key: `${string}`]: string | undefined; 462 - }; 463 - } 464 - 465 - /** 466 - * Similar to [`$env/dynamic/private`](https://svelte.dev/docs/kit/$env-dynamic-private), but only includes variables that begin with [`config.kit.env.publicPrefix`](https://svelte.dev/docs/kit/configuration#env) (which defaults to `PUBLIC_`), and can therefore safely be exposed to client-side code. 467 - * 468 - * Note that public dynamic environment variables must all be sent from the server to the client, causing larger network requests — when possible, use `$env/static/public` instead. 469 - * 470 - * Dynamic environment variables cannot be used during prerendering. 471 - * 472 - * ```ts 473 - * import { env } from '$env/dynamic/public'; 474 - * console.log(env.PUBLIC_DEPLOYMENT_SPECIFIC_VARIABLE); 475 - * ``` 476 - */ 477 - declare module "$env/dynamic/public" { 478 - export const env: { 479 - [key: `PUBLIC_${string}`]: string | undefined; 480 - }; 481 - }
-30
apps/frontend/.svelte-kit/non-ambient.d.ts
··· 1 - // this file is generated — do not edit it 2 - 3 - declare module "svelte/elements" { 4 - export interface HTMLAttributes<T> { 5 - "data-sveltekit-keepfocus"?: true | "" | "off" | undefined | null; 6 - "data-sveltekit-noscroll"?: true | "" | "off" | undefined | null; 7 - "data-sveltekit-preload-code"?: 8 - | true 9 - | "" 10 - | "eager" 11 - | "viewport" 12 - | "hover" 13 - | "tap" 14 - | "off" 15 - | undefined 16 - | null; 17 - "data-sveltekit-preload-data"?: 18 - | true 19 - | "" 20 - | "hover" 21 - | "tap" 22 - | "off" 23 - | undefined 24 - | null; 25 - "data-sveltekit-reload"?: true | "" | "off" | undefined | null; 26 - "data-sveltekit-replacestate"?: true | "" | "off" | undefined | null; 27 - } 28 - } 29 - 30 - export {};
-38
apps/frontend/.svelte-kit/tsconfig.json
··· 1 - { 2 - "compilerOptions": { 3 - "paths": { 4 - "$lib": ["../src/lib"], 5 - "$lib/*": ["../src/lib/*"] 6 - }, 7 - "rootDirs": ["..", "./types"], 8 - "verbatimModuleSyntax": true, 9 - "isolatedModules": true, 10 - "lib": ["esnext", "DOM", "DOM.Iterable"], 11 - "moduleResolution": "bundler", 12 - "module": "esnext", 13 - "noEmit": true, 14 - "target": "esnext" 15 - }, 16 - "include": [ 17 - "ambient.d.ts", 18 - "non-ambient.d.ts", 19 - "./types/**/$types.d.ts", 20 - "../vite.config.js", 21 - "../vite.config.ts", 22 - "../src/**/*.js", 23 - "../src/**/*.ts", 24 - "../src/**/*.svelte", 25 - "../tests/**/*.js", 26 - "../tests/**/*.ts", 27 - "../tests/**/*.svelte" 28 - ], 29 - "exclude": [ 30 - "../node_modules/**", 31 - "../src/service-worker.js", 32 - "../src/service-worker/**/*.js", 33 - "../src/service-worker.ts", 34 - "../src/service-worker/**/*.ts", 35 - "../src/service-worker.d.ts", 36 - "../src/service-worker/**/*.d.ts" 37 - ] 38 - }
-3
apps/frontend/.svelte-kit/types/route_meta_data.json
··· 1 - { 2 - "/": [] 3 - }
-40
apps/frontend/.svelte-kit/types/src/routes/$types.d.ts
··· 1 - import type * as Kit from "@sveltejs/kit"; 2 - 3 - type Expand<T> = T extends infer O ? { [K in keyof O]: O[K] } : never; 4 - // @ts-ignore 5 - type MatcherParam<M> = M extends (param: string) => param is infer U 6 - ? U extends string 7 - ? U 8 - : string 9 - : string; 10 - type RouteParams = {}; 11 - type RouteId = "/"; 12 - type MaybeWithVoid<T> = {} extends T ? T | void : T; 13 - export type RequiredKeys<T> = { 14 - [K in keyof T]-?: {} extends { [P in K]: T[K] } ? never : K; 15 - }[keyof T]; 16 - type OutputDataShape<T> = MaybeWithVoid< 17 - Omit<App.PageData, RequiredKeys<T>> & 18 - Partial<Pick<App.PageData, keyof T & keyof App.PageData>> & 19 - Record<string, any> 20 - >; 21 - type EnsureDefined<T> = T extends null | undefined ? {} : T; 22 - type OptionalUnion< 23 - U extends Record<string, any>, 24 - A extends keyof U = U extends U ? keyof U : never, 25 - > = U extends unknown ? { [P in Exclude<A, keyof U>]?: never } & U : never; 26 - export type Snapshot<T = any> = Kit.Snapshot<T>; 27 - type PageParentData = EnsureDefined<LayoutData>; 28 - type LayoutRouteId = RouteId | "/" | null; 29 - type LayoutParams = RouteParams & {}; 30 - type LayoutParentData = EnsureDefined<{}>; 31 - 32 - export type PageServerData = null; 33 - export type PageData = Expand<PageParentData>; 34 - export type PageProps = { data: PageData }; 35 - export type LayoutServerData = null; 36 - export type LayoutData = Expand<LayoutParentData>; 37 - export type LayoutProps = { 38 - data: LayoutData; 39 - children: import("svelte").Snippet; 40 - };
+3 -3
bun.lock
··· 40 40 }, 41 41 }, 42 42 "packages/lexicons": { 43 - "name": "lexicons", 43 + "name": "@comet/lexicons", 44 44 "dependencies": { 45 45 "@atproto/lexicon": "^0.4.11", 46 46 }, ··· 63 63 "@atproto/lexicon": ["@atproto/lexicon@0.4.11", "", { "dependencies": { "@atproto/common-web": "^0.4.2", "@atproto/syntax": "^0.4.0", "iso-datestring-validator": "^2.2.2", "multiformats": "^9.9.0", "zod": "^3.23.8" } }, "sha512-btefdnvNz2Ao2I+qbmj0F06HC8IlrM/IBz6qOBS50r0S6uDf5tOO+Mv2tSVdimFkdzyDdLtBI1sV36ONxz2cOw=="], 64 64 65 65 "@atproto/syntax": ["@atproto/syntax@0.4.0", "", {}, "sha512-b9y5ceHS8YKOfP3mdKmwAx5yVj9294UN7FG2XzP6V5aKUdFazEYRnR9m5n5ZQFKa3GNvz7de9guZCJ/sUTcOAA=="], 66 + 67 + "@comet/lexicons": ["@comet/lexicons@workspace:packages/lexicons"], 66 68 67 69 "@esbuild/aix-ppc64": ["@esbuild/aix-ppc64@0.25.4", "", { "os": "aix", "cpu": "ppc64" }, "sha512-1VCICWypeQKhVbE9oW/sJaAmjLxhVqacdkvPLEjwlttjfwENRSClS8EjBz0KzRyFSCPDIkuXW34Je/vk7zdB7Q=="], 68 70 ··· 449 451 "known-css-properties": ["known-css-properties@0.36.0", "", {}, "sha512-A+9jP+IUmuQsNdsLdcg6Yt7voiMF/D4K83ew0OpJtpu+l34ef7LaohWV0Rc6KNvzw6ZDizkqfyB5JznZnzuKQA=="], 450 452 451 453 "levn": ["levn@0.4.1", "", { "dependencies": { "prelude-ls": "^1.2.1", "type-check": "~0.4.0" } }, "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ=="], 452 - 453 - "lexicons": ["lexicons@workspace:packages/lexicons"], 454 454 455 455 "lightningcss": ["lightningcss@1.30.1", "", { "dependencies": { "detect-libc": "^2.0.3" }, "optionalDependencies": { "lightningcss-darwin-arm64": "1.30.1", "lightningcss-darwin-x64": "1.30.1", "lightningcss-freebsd-x64": "1.30.1", "lightningcss-linux-arm-gnueabihf": "1.30.1", "lightningcss-linux-arm64-gnu": "1.30.1", "lightningcss-linux-arm64-musl": "1.30.1", "lightningcss-linux-x64-gnu": "1.30.1", "lightningcss-linux-x64-musl": "1.30.1", "lightningcss-win32-arm64-msvc": "1.30.1", "lightningcss-win32-x64-msvc": "1.30.1" } }, "sha512-xi6IyHML+c9+Q3W0S4fCQJOym42pyurFiJUHEcEyHS0CeKzia4yZDEsLlqOFykxOdHpNy0NmvVO31vcSqAxJCg=="], 456 456
+11 -11
package.json
··· 1 1 { 2 2 "name": "@comet/workspace", 3 3 "version": "1.0.0", 4 - "private": true, 5 - "type": "module", 6 - "workspaces": [ 7 - "apps/*", 8 - "packages/*" 9 - ], 10 - "scripts": { 11 - "format": "prettier --write .", 12 - "lint": "prettier --check . && eslint ." 13 - }, 14 4 "devDependencies": { 15 5 "@types/bun": "latest", 16 6 "prettier": "^3.5.3", ··· 19 9 }, 20 10 "peerDependencies": { 21 11 "typescript": "^5" 22 - } 12 + }, 13 + "private": true, 14 + "scripts": { 15 + "format": "prettier --write .", 16 + "lint": "prettier --check . && eslint ." 17 + }, 18 + "type": "module", 19 + "workspaces": [ 20 + "apps/*", 21 + "packages/*" 22 + ] 23 23 }
+3
packages/lexicons/gen.sh
··· 1 + #!/usr/bin/env zsh 2 + # Temp solution because Bun's shell glob is broken? 3 + lex gen-server --yes ./src ./defs/**/*
+4 -1
packages/lexicons/package.json
··· 1 1 { 2 - "name": "lexicons", 2 + "name": "@comet/lexicons", 3 3 "module": "index.ts", 4 4 "type": "module", 5 5 "private": true, 6 + "scripts": { 7 + "generate": "zsh gen.sh" 8 + }, 6 9 "devDependencies": { 7 10 "@atproto/lex-cli": "^0.8.1", 8 11 "@types/bun": "latest"
packages/lexicons/src/sh/comet/v0/actor/profile.json packages/lexicons/defs/sh/comet/v0/actor/profile.json
-1
packages/lexicons/src/sh/comet/v0/feed/comment.json
··· 1 - {}
packages/lexicons/src/sh/comet/v0/feed/defs.json packages/lexicons/defs/sh/comet/v0/feed/defs.json
+2 -2
packages/lexicons/src/sh/comet/v0/feed/like.json packages/lexicons/defs/sh/comet/v0/feed/like.json
··· 4 4 "defs": { 5 5 "main": { 6 6 "type": "record", 7 - "description": "Record representing a 'like' of some media.", 7 + "description": "Record representing a 'like' of some media. Weakly linked with just an at-uri.", 8 8 "key": "tid", 9 9 "record": { 10 10 "type": "object", 11 11 "required": ["subject", "createdAt"], 12 12 "properties": { 13 - "subject": { "type": "ref", "ref": "com.atproto.repo.strongRef" }, 13 + "subject": { "type": "string", "format": "at-uri" }, 14 14 "createdAt": { "type": "string", "format": "datetime" } 15 15 } 16 16 }
packages/lexicons/src/sh/comet/v0/feed/play.json packages/lexicons/defs/sh/comet/v0/feed/play.json
packages/lexicons/src/sh/comet/v0/feed/playlist.json packages/lexicons/defs/sh/comet/v0/feed/playlist.json
+2 -2
packages/lexicons/src/sh/comet/v0/feed/repost.json packages/lexicons/defs/sh/comet/v0/feed/repost.json
··· 4 4 "defs": { 5 5 "main": { 6 6 "type": "record", 7 - "description": "Record representing a 'repost' of some media.", 7 + "description": "Record representing a 'repost' of some media. Weakly linked with just an at-uri.", 8 8 "key": "tid", 9 9 "record": { 10 10 "type": "object", 11 11 "required": ["subject", "createdAt"], 12 12 "properties": { 13 - "subject": { "type": "ref", "ref": "com.atproto.repo.strongRef" }, 13 + "subject": { "type": "string", "format": "at-uri" }, 14 14 "createdAt": { "type": "string", "format": "datetime" } 15 15 } 16 16 }
packages/lexicons/src/sh/comet/v0/feed/tag.json packages/lexicons/defs/sh/comet/v0/feed/tag.json
packages/lexicons/src/sh/comet/v0/feed/track.json packages/lexicons/defs/sh/comet/v0/feed/track.json
packages/lexicons/src/sh/comet/v0/richtext/facets.json packages/lexicons/defs/sh/comet/v0/richtext/facets.json