[READ-ONLY] Mirror of https://github.com/flo-bit/contrail. atproto backend in a bottle flo-bit.dev/contrail/
0

Configure Feed

Select the types of activity you want to include in your feed.

commit

Florian (Mar 29, 2026, 12:21 AM +0100) ee24d4fa 4e449c0b

+2 -153
-27
lexicons-generated/rsvp/atmo/admin/getCursor.json
··· 1 - { 2 - "lexicon": 1, 3 - "id": "rsvp.atmo.admin.getCursor", 4 - "defs": { 5 - "main": { 6 - "type": "query", 7 - "description": "Get the current cursor position", 8 - "output": { 9 - "encoding": "application/json", 10 - "schema": { 11 - "type": "object", 12 - "properties": { 13 - "time_us": { 14 - "type": "integer" 15 - }, 16 - "date": { 17 - "type": "string" 18 - }, 19 - "seconds_ago": { 20 - "type": "integer" 21 - } 22 - } 23 - } 24 - } 25 - } 26 - } 27 - }
-51
lexicons-generated/rsvp/atmo/admin/getOverview.json
··· 1 - { 2 - "lexicon": 1, 3 - "id": "rsvp.atmo.admin.getOverview", 4 - "defs": { 5 - "main": { 6 - "type": "query", 7 - "description": "Get an overview of all indexed collections", 8 - "output": { 9 - "encoding": "application/json", 10 - "schema": { 11 - "type": "object", 12 - "required": [ 13 - "total_records", 14 - "collections" 15 - ], 16 - "properties": { 17 - "total_records": { 18 - "type": "integer" 19 - }, 20 - "collections": { 21 - "type": "array", 22 - "items": { 23 - "type": "ref", 24 - "ref": "#collectionStats" 25 - } 26 - } 27 - } 28 - } 29 - } 30 - }, 31 - "collectionStats": { 32 - "type": "object", 33 - "required": [ 34 - "collection", 35 - "records", 36 - "unique_users" 37 - ], 38 - "properties": { 39 - "collection": { 40 - "type": "string" 41 - }, 42 - "records": { 43 - "type": "integer" 44 - }, 45 - "unique_users": { 46 - "type": "integer" 47 - } 48 - } 49 - } 50 - } 51 - }
-24
lexicons-generated/rsvp/atmo/admin/reset.json
··· 1 - { 2 - "lexicon": 1, 3 - "id": "rsvp.atmo.admin.reset", 4 - "defs": { 5 - "main": { 6 - "type": "query", 7 - "description": "Delete all data from all tables", 8 - "output": { 9 - "encoding": "application/json", 10 - "schema": { 11 - "type": "object", 12 - "required": [ 13 - "ok" 14 - ], 15 - "properties": { 16 - "ok": { 17 - "type": "boolean" 18 - } 19 - } 20 - } 21 - } 22 - } 23 - } 24 - }
-47
lexicons-generated/rsvp/atmo/admin/sync.json
··· 1 - { 2 - "lexicon": 1, 3 - "id": "rsvp.atmo.admin.sync", 4 - "defs": { 5 - "main": { 6 - "type": "query", 7 - "description": "Discover users from relays and backfill their records from PDS", 8 - "parameters": { 9 - "type": "params", 10 - "properties": { 11 - "concurrency": { 12 - "type": "integer", 13 - "minimum": 1, 14 - "maximum": 50, 15 - "default": 10 16 - } 17 - } 18 - }, 19 - "output": { 20 - "encoding": "application/json", 21 - "schema": { 22 - "type": "object", 23 - "required": [ 24 - "discovered", 25 - "backfilled", 26 - "remaining", 27 - "done" 28 - ], 29 - "properties": { 30 - "discovered": { 31 - "type": "integer" 32 - }, 33 - "backfilled": { 34 - "type": "integer" 35 - }, 36 - "remaining": { 37 - "type": "integer" 38 - }, 39 - "done": { 40 - "type": "boolean" 41 - } 42 - } 43 - } 44 - } 45 - } 46 - } 47 - }
+2 -4
tests/generate.test.ts
··· 110 110 }); 111 111 112 112 it("generates admin endpoints", () => { 113 - expect(lexicons["test.app.admin.getCursor"]).toBeDefined(); 114 - expect(lexicons["test.app.admin.getOverview"]).toBeDefined(); 115 - expect(lexicons["test.app.admin.sync"]).toBeDefined(); 116 - expect(lexicons["test.app.admin.reset"]).toBeDefined(); 113 + expect(lexicons["test.app.getCursor"]).toBeDefined(); 114 + expect(lexicons["test.app.getOverview"]).toBeDefined(); 117 115 }); 118 116 119 117 it("generates getProfile", () => {