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