refine lexicons and update authproto

+6 -3
astro.config.mjs
··· 16 16 authproto({ 17 17 applicationName: "fan archive", 18 18 applicationDomain: "localhost:4321", 19 - // driver: { 20 - // name: "astro:db", 21 - // }, 19 + driver: { 20 + name: "astro:db", 21 + }, 22 + scopes: { 23 + genericData: true, 24 + }, 22 25 }) 23 26 ], 24 27 vite: {
+35
lexicon/moe.fanfics/chapter.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "moe.fanfics.works.chapter", 4 + "defs": { 5 + "chapter": { 6 + "type": "object", 7 + "properties": { 8 + "title": { 9 + "type": "string", 10 + "minLength": 1, 11 + "maxLength": 1000, 12 + "maxGraphemes": 1000 13 + }, 14 + "authorsNote": { 15 + "type": "string", 16 + "minLength": 1, 17 + "maxLength": 2560, 18 + "maxGraphemes": 256 19 + }, 20 + "content": { 21 + "type": "string", 22 + "minLength": 1 23 + }, 24 + "createdAt": { 25 + "type": "string", 26 + "format": "datetime" 27 + }, 28 + "updatedAt": { 29 + "type": "string", 30 + "format": "datetime" 31 + } 32 + } 33 + } 34 + } 35 + }
+20 -10
lexicon/moe.fanfics/works.json
··· 8 8 "record": { 9 9 "type": "object", 10 10 "properties": { 11 + "author": { 12 + "type": "string", 13 + "format": "at-identifier" 14 + }, 11 15 "title": { 12 16 "type": "string", 13 17 "minLength": 1, 14 - "maxLength": 1000, 15 - "maxGraphemes": 1000 18 + "maxLength": 1280, 19 + "maxGraphemes": 128 16 20 }, 17 21 "tags": { 18 22 "type": "array", 23 + "description": "Tags for content the work may be related to, for example 'fluff' or 'meta'", 19 24 "items": { 20 - "text": { 21 - "type": "string", 22 - "maxLength": 1000, 23 - "maxGraphemes": 1000 24 - } 25 + "type": "string" 25 26 } 26 27 }, 27 - "content": { 28 + "summary": { 28 29 "type": "string", 29 30 "minLength": 1, 30 - "maxLength": 8096000, 31 - "maxGraphemes": 4096000 31 + "maxLength": 3000, 32 + "maxGraphemes": 300 33 + }, 34 + "chapters": { 35 + "type": "array", 36 + "items": { 37 + "type": "union", 38 + "refs": [ 39 + "moe.fanfics.works.chapter" 40 + ] 41 + } 32 42 }, 33 43 "createdAt": { 34 44 "type": "string",
+1 -1
package.json
··· 6 6 "@astrojs/node": "^9.4.3", 7 7 "@atproto/api": "^0.16.9", 8 8 "@floating-ui/dom": "^1.7.4", 9 - "@fujocoded/authproto": "^0.0.4", 9 + "@fujocoded/authproto": "^0.1.1", 10 10 "@lucide/astro": "^0.542.0", 11 11 "@tailwindcss/vite": "^4.1.13", 12 12 "astro": "^5.13.7",
+5 -5
pnpm-lock.yaml
··· 21 21 specifier: ^1.7.4 22 22 version: 1.7.4 23 23 '@fujocoded/authproto': 24 - specifier: ^0.0.4 25 - version: 0.0.4(astro@5.13.7(@types/node@24.3.1)(jiti@2.5.1)(lightningcss@1.30.1)(rollup@4.50.1)(typescript@5.9.2)) 24 + specifier: ^0.1.1 25 + version: 0.1.1(astro@5.13.7(@types/node@24.3.1)(jiti@2.5.1)(lightningcss@1.30.1)(rollup@4.50.1)(typescript@5.9.2)) 26 26 '@lucide/astro': 27 27 specifier: ^0.542.0 28 28 version: 0.542.0(astro@5.13.7(@types/node@24.3.1)(jiti@2.5.1)(lightningcss@1.30.1)(rollup@4.50.1)(typescript@5.9.2)) ··· 335 335 '@floating-ui/utils@0.2.10': 336 336 resolution: {integrity: sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==} 337 337 338 - '@fujocoded/authproto@0.0.4': 339 - resolution: {integrity: sha512-VoKfScLMaGLAOB6WKFsU7lEsCNvy98KW7MaPfqLKIbjg0MqWrbeyvCak4mGDjQUe96jm8DBMkd6b2W+T369PNA==} 338 + '@fujocoded/authproto@0.1.1': 339 + resolution: {integrity: sha512-UaVhcYVMfrfeypmM9BulnSxO9SFnwwP2R38XZNgKvJE0uLa0AJjyaUO5JRHxEVrrEC/F5mp+SnplopArpulPNA==} 340 340 peerDependencies: 341 341 astro: ^5.13.0 342 342 ··· 2535 2535 2536 2536 '@floating-ui/utils@0.2.10': {} 2537 2537 2538 - '@fujocoded/authproto@0.0.4(astro@5.13.7(@types/node@24.3.1)(jiti@2.5.1)(lightningcss@1.30.1)(rollup@4.50.1)(typescript@5.9.2))': 2538 + '@fujocoded/authproto@0.1.1(astro@5.13.7(@types/node@24.3.1)(jiti@2.5.1)(lightningcss@1.30.1)(rollup@4.50.1)(typescript@5.9.2))': 2539 2539 dependencies: 2540 2540 '@astrojs/db': 0.17.2 2541 2541 '@atproto/identity': 0.4.9
+4
pnpm-workspace.yaml
··· 1 1 onlyBuiltDependencies: 2 + - '@tailwindcss/oxide' 3 + - esbuild 2 4 - sharp 5 + 6 + shamefullyHoist: true