Compare changes

Choose any two refs to compare.

+6 -3
astro.config.mjs
···
authproto({
applicationName: "fan archive",
applicationDomain: "localhost:4321",
-
// driver: {
-
// name: "astro:db",
-
// },
+
driver: {
+
name: "astro:db",
+
},
+
scopes: {
+
genericData: true,
+
},
})
],
vite: {
+35
lexicon/moe.fanfics/chapter.json
···
+
{
+
"lexicon": 1,
+
"id": "moe.fanfics.works.chapter",
+
"defs": {
+
"chapter": {
+
"type": "object",
+
"properties": {
+
"title": {
+
"type": "string",
+
"minLength": 1,
+
"maxLength": 1000,
+
"maxGraphemes": 1000
+
},
+
"authorsNote": {
+
"type": "string",
+
"minLength": 1,
+
"maxLength": 2560,
+
"maxGraphemes": 256
+
},
+
"content": {
+
"type": "string",
+
"minLength": 1
+
},
+
"createdAt": {
+
"type": "string",
+
"format": "datetime"
+
},
+
"updatedAt": {
+
"type": "string",
+
"format": "datetime"
+
}
+
}
+
}
+
}
+
}
+20 -10
lexicon/moe.fanfics/works.json
···
"record": {
"type": "object",
"properties": {
+
"author": {
+
"type": "string",
+
"format": "at-identifier"
+
},
"title": {
"type": "string",
"minLength": 1,
-
"maxLength": 1000,
-
"maxGraphemes": 1000
+
"maxLength": 1280,
+
"maxGraphemes": 128
},
"tags": {
"type": "array",
+
"description": "Tags for content the work may be related to, for example 'fluff' or 'meta'",
"items": {
-
"text": {
-
"type": "string",
-
"maxLength": 1000,
-
"maxGraphemes": 1000
-
}
+
"type": "string"
}
},
-
"content": {
+
"summary": {
"type": "string",
"minLength": 1,
-
"maxLength": 8096000,
-
"maxGraphemes": 4096000
+
"maxLength": 3000,
+
"maxGraphemes": 300
+
},
+
"chapters": {
+
"type": "array",
+
"items": {
+
"type": "union",
+
"refs": [
+
"moe.fanfics.works.chapter"
+
]
+
}
},
"createdAt": {
"type": "string",
+1 -1
package.json
···
"@astrojs/node": "^9.4.3",
"@atproto/api": "^0.16.9",
"@floating-ui/dom": "^1.7.4",
-
"@fujocoded/authproto": "^0.0.4",
+
"@fujocoded/authproto": "^0.1.1",
"@lucide/astro": "^0.542.0",
"@tailwindcss/vite": "^4.1.13",
"astro": "^5.13.7",
+5 -5
pnpm-lock.yaml
···
specifier: ^1.7.4
version: 1.7.4
'@fujocoded/authproto':
-
specifier: ^0.0.4
-
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))
+
specifier: ^0.1.1
+
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))
'@lucide/astro':
specifier: ^0.542.0
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))
···
'@floating-ui/utils@0.2.10':
resolution: {integrity: sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==}
-
'@fujocoded/authproto@0.0.4':
-
resolution: {integrity: sha512-VoKfScLMaGLAOB6WKFsU7lEsCNvy98KW7MaPfqLKIbjg0MqWrbeyvCak4mGDjQUe96jm8DBMkd6b2W+T369PNA==}
+
'@fujocoded/authproto@0.1.1':
+
resolution: {integrity: sha512-UaVhcYVMfrfeypmM9BulnSxO9SFnwwP2R38XZNgKvJE0uLa0AJjyaUO5JRHxEVrrEC/F5mp+SnplopArpulPNA==}
peerDependencies:
astro: ^5.13.0
···
'@floating-ui/utils@0.2.10': {}
-
'@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))':
+
'@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))':
dependencies:
'@astrojs/db': 0.17.2
'@atproto/identity': 0.4.9
+4
pnpm-workspace.yaml
···
onlyBuiltDependencies:
+
- '@tailwindcss/oxide'
+
- esbuild
- sharp
+
+
shamefullyHoist: true