a tool for shared writing and social publishing

default to indexed false and manually set on leaflet publish

+2 -2
+1
actions/publishToPublication.ts
··· 300 300 await supabaseServerClient.from("documents").upsert({ 301 301 uri: result.uri, 302 302 data: record as unknown as Json, 303 + indexed: true, 303 304 }); 304 305 305 306 if (publication_uri) {
-2
appview/index.ts
··· 107 107 let docResult = await supabase.from("documents").upsert({ 108 108 uri: evt.uri.toString(), 109 109 data: record.value as Json, 110 - indexed: false, 111 110 }); 112 111 if (docResult.error) console.log(docResult.error); 113 112 await inngest.send({ ··· 275 274 let docResult = await supabase.from("documents").upsert({ 276 275 uri: evt.uri.toString(), 277 276 data: record.value as Json, 278 - indexed: false, 279 277 }); 280 278 if (docResult.error) console.log(docResult.error); 281 279 await inngest.send({
+1
supabase/migrations/20260211000000_indexed_default_false.sql
··· 1 + ALTER TABLE documents ALTER COLUMN indexed SET DEFAULT false;