wip bsky client for the web & android
0
fork

Configure Feed

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

chore: pull cat.vt3e.bbell lexicons

vi 4bd08fcc 8654f97e

+848 -51
-41
diff
··· 1 - diff --git a/src/components/UI/BasePopover.vue b/src/components/UI/BasePopover.vue 2 - index 89a50e1..1251ba2 100644 3 - --- a/src/components/UI/BasePopover.vue 4 - +++ b/src/components/UI/BasePopover.vue 5 - @@ -38,13 +38,30 @@ const emit = defineEmits<{ 6 - (e: 'close'): void 7 - }>() 8 - 9 - -const unwrapToElement = (maybeEl: unknown): HTMLElement | null => { 10 - - if (!maybeEl) return null 11 - - 12 - +function unwrapToElement(maybeEl: unknown): HTMLElement | null { 13 - if (maybeEl instanceof HTMLElement) return maybeEl 14 - - if (maybeEl.$el instanceof HTMLElement) return maybeEl.$el as HTMLElement 15 - - if (maybeEl.$el?.value instanceof HTMLElement) return maybeEl.$el.value as HTMLElement 16 - - if (maybeEl.value instanceof HTMLElement) return maybeEl.value as HTMLElement 17 - + 18 - + if (maybeEl && typeof maybeEl === 'object') { 19 - + const obj = maybeEl as Record<string, unknown> 20 - + 21 - + if ('$el' in obj) { 22 - + const $el = (obj as { $el?: unknown }).$el 23 - + if ($el instanceof HTMLElement) return $el 24 - + if ($el && typeof $el === 'object' && 'value' in ($el as Record<string, unknown>)) { 25 - + const v = ($el as { value?: unknown }).value 26 - + if (v instanceof HTMLElement) return v 27 - + } 28 - + } 29 - + 30 - + if ('value' in obj) { 31 - + const v = (obj as { value?: unknown }).value 32 - + if (v instanceof HTMLElement) return v 33 - + if (v && typeof v === 'object' && '$el' in (v as Record<string, unknown>)) { 34 - + const nested = (v as { $el?: unknown }).$el 35 - + if (nested instanceof HTMLElement) return nested 36 - + } 37 - + } 38 - + } 39 - 40 - return null 41 - }
+13 -1
lex.config.ts
··· 3 3 export default defineLexiconConfig({ 4 4 files: ['./lexicons/**/*.json'], 5 5 outdir: './src/lex/', 6 - imports: ['@atcute/atproto'], 6 + imports: ['@atcute/atproto', '@atcute/bluesky'], 7 + pull: { 8 + outdir: './lexicons/', 9 + clean: false, 10 + sources: [ 11 + { 12 + type: 'git', 13 + ref: 'main', 14 + remote: 'https://tangled.org/vt3e.cat/bbell-backend.git', 15 + pattern: ['pkgs/lexicons/lexicons/**/*.json'], 16 + }, 17 + ], 18 + }, 7 19 })
+6
lexicons/README.md
··· 1 + # lexicon sources 2 + 3 + this directory contains lexicon documents pulled from the following sources: 4 + 5 + - https://tangled.org/vt3e.cat/bbell-backend.git (ref: main) 6 + - commit: 2b9460bfe059878b833d710d1c5bc45d876c7817
+21
lexicons/cat/vt3e/bbell/scheduling/cancelDeletion.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "cat.vt3e.bbell.scheduling.cancelDeletion", 4 + "defs": { 5 + "main": { 6 + "type": "procedure", 7 + "input": { 8 + "encoding": "application/json", 9 + "schema": { 10 + "type": "object", 11 + "properties": { 12 + "id": { 13 + "type": "string" 14 + } 15 + }, 16 + "required": ["id"] 17 + } 18 + } 19 + } 20 + } 21 + }
+21
lexicons/cat/vt3e/bbell/scheduling/cancelPost.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "cat.vt3e.bbell.scheduling.cancelPost", 4 + "defs": { 5 + "main": { 6 + "type": "procedure", 7 + "input": { 8 + "encoding": "application/json", 9 + "schema": { 10 + "type": "object", 11 + "properties": { 12 + "id": { 13 + "type": "string" 14 + } 15 + }, 16 + "required": ["id"] 17 + } 18 + } 19 + } 20 + } 21 + }
+62
lexicons/cat/vt3e/bbell/scheduling/defs.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "cat.vt3e.bbell.scheduling.defs", 4 + "defs": { 5 + "selfDeletingPost": { 6 + "type": "object", 7 + "properties": { 8 + "id": { 9 + "type": "string" 10 + }, 11 + "uri": { 12 + "type": "string", 13 + "format": "at-uri", 14 + "description": "the uri of the post to be deleted" 15 + }, 16 + "deletesAt": { 17 + "type": "string", 18 + "format": "datetime", 19 + "description": "the time the post will be deleted at" 20 + }, 21 + "status": { 22 + "type": "string", 23 + "description": "the status of the deletion, e.g. \"scheduled\", \"deleted\", \"failed\"" 24 + }, 25 + "createdAt": { 26 + "type": "string", 27 + "format": "datetime", 28 + "description": "the time the deletion was scheduled at" 29 + } 30 + }, 31 + "required": ["id", "uri", "deletesAt", "status"] 32 + }, 33 + "scheduledPost": { 34 + "type": "object", 35 + "properties": { 36 + "id": { 37 + "type": "string" 38 + }, 39 + "scheduledAt": { 40 + "type": "string", 41 + "format": "datetime", 42 + "description": "the time the post will be published at" 43 + }, 44 + "post": { 45 + "type": "ref", 46 + "ref": "app.bsky.feed.post", 47 + "description": "the post to be published" 48 + }, 49 + "status": { 50 + "type": "string", 51 + "description": "the status of the post, e.g. \"scheduled\", \"published\", \"failed\"" 52 + }, 53 + "createdAt": { 54 + "type": "string", 55 + "format": "datetime", 56 + "description": "the time the post was scheduled" 57 + } 58 + }, 59 + "required": ["id", "scheduledAt", "post", "status"] 60 + } 61 + } 62 + }
+39
lexicons/cat/vt3e/bbell/scheduling/listDeletions.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "cat.vt3e.bbell.scheduling.listDeletions", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "properties": { 10 + "limit": { 11 + "type": "integer" 12 + }, 13 + "cursor": { 14 + "type": "string" 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "properties": { 23 + "posts": { 24 + "type": "array", 25 + "items": { 26 + "type": "ref", 27 + "ref": "cat.vt3e.bbell.scheduling.defs#selfDeletingPost" 28 + } 29 + }, 30 + "cursor": { 31 + "type": "string" 32 + } 33 + }, 34 + "required": ["posts"] 35 + } 36 + } 37 + } 38 + } 39 + }
+39
lexicons/cat/vt3e/bbell/scheduling/listPosts.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "cat.vt3e.bbell.scheduling.listPosts", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "parameters": { 8 + "type": "params", 9 + "properties": { 10 + "limit": { 11 + "type": "integer" 12 + }, 13 + "cursor": { 14 + "type": "string" 15 + } 16 + } 17 + }, 18 + "output": { 19 + "encoding": "application/json", 20 + "schema": { 21 + "type": "object", 22 + "properties": { 23 + "posts": { 24 + "type": "array", 25 + "items": { 26 + "type": "ref", 27 + "ref": "cat.vt3e.bbell.scheduling.defs#scheduledPost" 28 + } 29 + }, 30 + "cursor": { 31 + "type": "string" 32 + } 33 + }, 34 + "required": ["posts"] 35 + } 36 + } 37 + } 38 + } 39 + }
+42
lexicons/cat/vt3e/bbell/scheduling/scheduleDeletion.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "cat.vt3e.bbell.scheduling.scheduleDeletion", 4 + "defs": { 5 + "main": { 6 + "type": "procedure", 7 + "input": { 8 + "encoding": "application/json", 9 + "schema": { 10 + "type": "object", 11 + "properties": { 12 + "uri": { 13 + "type": "string", 14 + "format": "at-uri" 15 + }, 16 + "deletesAt": { 17 + "type": "string", 18 + "format": "datetime" 19 + } 20 + }, 21 + "required": ["uri", "deletesAt"] 22 + } 23 + }, 24 + "output": { 25 + "encoding": "application/json", 26 + "schema": { 27 + "type": "object", 28 + "properties": { 29 + "id": { 30 + "type": "string" 31 + }, 32 + "deletesAt": { 33 + "type": "string", 34 + "format": "datetime" 35 + } 36 + }, 37 + "required": ["id", "deletesAt"] 38 + } 39 + } 40 + } 41 + } 42 + }
+42
lexicons/cat/vt3e/bbell/scheduling/schedulePost.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "cat.vt3e.bbell.scheduling.schedulePost", 4 + "defs": { 5 + "main": { 6 + "type": "procedure", 7 + "input": { 8 + "encoding": "application/json", 9 + "schema": { 10 + "type": "object", 11 + "properties": { 12 + "scheduledAt": { 13 + "type": "string", 14 + "format": "datetime" 15 + }, 16 + "post": { 17 + "type": "ref", 18 + "ref": "app.bsky.feed.post" 19 + } 20 + }, 21 + "required": ["scheduledAt", "post"] 22 + } 23 + }, 24 + "output": { 25 + "encoding": "application/json", 26 + "schema": { 27 + "type": "object", 28 + "properties": { 29 + "id": { 30 + "type": "string" 31 + }, 32 + "scheduledAt": { 33 + "type": "string", 34 + "format": "datetime" 35 + } 36 + }, 37 + "required": ["id", "scheduledAt"] 38 + } 39 + } 40 + } 41 + } 42 + }
+54
lexicons/cat/vt3e/bbell/server/defs.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "cat.vt3e.bbell.server.defs", 4 + "defs": { 5 + "config": { 6 + "type": "object", 7 + "properties": { 8 + "version": { 9 + "type": "string" 10 + }, 11 + "did": { 12 + "type": "string", 13 + "format": "did" 14 + }, 15 + "links": { 16 + "type": "ref", 17 + "ref": "#links" 18 + }, 19 + "contact": { 20 + "type": "ref", 21 + "ref": "#contact" 22 + } 23 + }, 24 + "required": ["version", "did"] 25 + }, 26 + "links": { 27 + "type": "object", 28 + "properties": { 29 + "privacyPolicy": { 30 + "type": "string" 31 + }, 32 + "termsOfService": { 33 + "type": "string" 34 + } 35 + } 36 + }, 37 + "contact": { 38 + "type": "object", 39 + "properties": { 40 + "email": { 41 + "type": "string" 42 + }, 43 + "dids": { 44 + "type": "array", 45 + "items": { 46 + "type": "string", 47 + "format": "did" 48 + }, 49 + "description": "DIDs of users responsible for the service" 50 + } 51 + } 52 + } 53 + } 54 + }
+16
lexicons/cat/vt3e/bbell/server/deleteSession.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "cat.vt3e.bbell.server.deleteSession", 4 + "defs": { 5 + "main": { 6 + "type": "procedure", 7 + "output": { 8 + "encoding": "application/json", 9 + "schema": { 10 + "type": "object", 11 + "properties": {} 12 + } 13 + } 14 + } 15 + } 16 + }
+16
lexicons/cat/vt3e/bbell/server/describeServer.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "cat.vt3e.bbell.server.describeServer", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "output": { 8 + "encoding": "application/json", 9 + "schema": { 10 + "type": "ref", 11 + "ref": "cat.vt3e.bbell.server.defs#config" 12 + } 13 + } 14 + } 15 + } 16 + }
+21
lexicons/cat/vt3e/bbell/server/getSession.json
··· 1 + { 2 + "lexicon": 1, 3 + "id": "cat.vt3e.bbell.server.getSession", 4 + "defs": { 5 + "main": { 6 + "type": "query", 7 + "output": { 8 + "encoding": "application/json", 9 + "schema": { 10 + "type": "object", 11 + "properties": { 12 + "did": { 13 + "type": "string", 14 + "format": "did" 15 + } 16 + } 17 + } 18 + } 19 + } 20 + } 21 + }
+3 -1
package.json
··· 16 16 "lint:eslint": "eslint . --fix --cache", 17 17 "lint": "run-s lint:*", 18 18 "format": "prettier --write --experimental-cli src/", 19 - "gen-icons": "./scripts/gen-icons.sh" 19 + "gen-icons": "./scripts/gen-icons.sh", 20 + "lex:pull": "lex-cli pull -c ./lex.config.ts", 21 + "lex:gen": "lex-cli generate -c ./lex.config.ts" 20 22 }, 21 23 "dependencies": { 22 24 "@atcute/atproto": "^3.1.10",
-1
src/assets/main.scss
··· 32 32 margin: 0; 33 33 padding: 0; 34 34 font-weight: normal; 35 - user-select: none; 36 35 37 36 scrollbar-width: thin; 38 37 scrollbar-color: hsla(var(--overlay1) / 1) transparent;
+18 -7
src/lex/index.ts
··· 1 - export * as HostPluralFrontAnnotation from './types/host/plural/front/annotation.js' 2 - export * as HostPluralFrontLog from './types/host/plural/front/log.js' 3 - export * as HostPluralSystemKey from './types/host/plural/system/key.js' 4 - export * as HostPluralSystemLink from './types/host/plural/system/link.js' 5 - export * as HostPluralSystemMember from './types/host/plural/system/member.js' 6 - export * as HostPluralSystemProfile from './types/host/plural/system/profile.js' 7 - export * as HostPluralSystemReference from './types/host/plural/system/reference.js' 1 + export * as CatVt3eBbellSchedulingCancelDeletion from "./types/cat/vt3e/bbell/scheduling/cancelDeletion.js"; 2 + export * as CatVt3eBbellSchedulingCancelPost from "./types/cat/vt3e/bbell/scheduling/cancelPost.js"; 3 + export * as CatVt3eBbellSchedulingDefs from "./types/cat/vt3e/bbell/scheduling/defs.js"; 4 + export * as CatVt3eBbellSchedulingListDeletions from "./types/cat/vt3e/bbell/scheduling/listDeletions.js"; 5 + export * as CatVt3eBbellSchedulingListPosts from "./types/cat/vt3e/bbell/scheduling/listPosts.js"; 6 + export * as CatVt3eBbellSchedulingScheduleDeletion from "./types/cat/vt3e/bbell/scheduling/scheduleDeletion.js"; 7 + export * as CatVt3eBbellSchedulingSchedulePost from "./types/cat/vt3e/bbell/scheduling/schedulePost.js"; 8 + export * as CatVt3eBbellServerDefs from "./types/cat/vt3e/bbell/server/defs.js"; 9 + export * as CatVt3eBbellServerDeleteSession from "./types/cat/vt3e/bbell/server/deleteSession.js"; 10 + export * as CatVt3eBbellServerDescribeServer from "./types/cat/vt3e/bbell/server/describeServer.js"; 11 + export * as CatVt3eBbellServerGetSession from "./types/cat/vt3e/bbell/server/getSession.js"; 12 + export * as HostPluralFrontAnnotation from "./types/host/plural/front/annotation.js"; 13 + export * as HostPluralFrontLog from "./types/host/plural/front/log.js"; 14 + export * as HostPluralSystemKey from "./types/host/plural/system/key.js"; 15 + export * as HostPluralSystemLink from "./types/host/plural/system/link.js"; 16 + export * as HostPluralSystemMember from "./types/host/plural/system/member.js"; 17 + export * as HostPluralSystemProfile from "./types/host/plural/system/profile.js"; 18 + export * as HostPluralSystemReference from "./types/host/plural/system/reference.js";
+32
src/lex/types/cat/vt3e/bbell/scheduling/cancelDeletion.ts
··· 1 + import type {} from "@atcute/lexicons"; 2 + import * as v from "@atcute/lexicons/validations"; 3 + import type {} from "@atcute/lexicons/ambient"; 4 + 5 + const _mainSchema = /*#__PURE__*/ v.procedure( 6 + "cat.vt3e.bbell.scheduling.cancelDeletion", 7 + { 8 + params: null, 9 + input: { 10 + type: "lex", 11 + schema: /*#__PURE__*/ v.object({ 12 + id: /*#__PURE__*/ v.string(), 13 + }), 14 + }, 15 + output: null, 16 + }, 17 + ); 18 + 19 + type main$schematype = typeof _mainSchema; 20 + 21 + export interface mainSchema extends main$schematype {} 22 + 23 + export const mainSchema = _mainSchema as mainSchema; 24 + 25 + export interface $params {} 26 + export interface $input extends v.InferXRPCBodyInput<mainSchema["input"]> {} 27 + 28 + declare module "@atcute/lexicons/ambient" { 29 + interface XRPCProcedures { 30 + "cat.vt3e.bbell.scheduling.cancelDeletion": mainSchema; 31 + } 32 + }
+32
src/lex/types/cat/vt3e/bbell/scheduling/cancelPost.ts
··· 1 + import type {} from "@atcute/lexicons"; 2 + import * as v from "@atcute/lexicons/validations"; 3 + import type {} from "@atcute/lexicons/ambient"; 4 + 5 + const _mainSchema = /*#__PURE__*/ v.procedure( 6 + "cat.vt3e.bbell.scheduling.cancelPost", 7 + { 8 + params: null, 9 + input: { 10 + type: "lex", 11 + schema: /*#__PURE__*/ v.object({ 12 + id: /*#__PURE__*/ v.string(), 13 + }), 14 + }, 15 + output: null, 16 + }, 17 + ); 18 + 19 + type main$schematype = typeof _mainSchema; 20 + 21 + export interface mainSchema extends main$schematype {} 22 + 23 + export const mainSchema = _mainSchema as mainSchema; 24 + 25 + export interface $params {} 26 + export interface $input extends v.InferXRPCBodyInput<mainSchema["input"]> {} 27 + 28 + declare module "@atcute/lexicons/ambient" { 29 + interface XRPCProcedures { 30 + "cat.vt3e.bbell.scheduling.cancelPost": mainSchema; 31 + } 32 + }
+67
src/lex/types/cat/vt3e/bbell/scheduling/defs.ts
··· 1 + import type {} from "@atcute/lexicons"; 2 + import * as v from "@atcute/lexicons/validations"; 3 + import * as AppBskyFeedPost from "@atcute/bluesky/types/app/feed/post"; 4 + 5 + const _scheduledPostSchema = /*#__PURE__*/ v.object({ 6 + $type: /*#__PURE__*/ v.optional( 7 + /*#__PURE__*/ v.literal("cat.vt3e.bbell.scheduling.defs#scheduledPost"), 8 + ), 9 + /** 10 + * the time the post was scheduled 11 + */ 12 + createdAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()), 13 + id: /*#__PURE__*/ v.string(), 14 + /** 15 + * the post to be published 16 + */ 17 + get post() { 18 + return AppBskyFeedPost.mainSchema; 19 + }, 20 + /** 21 + * the time the post will be published at 22 + */ 23 + scheduledAt: /*#__PURE__*/ v.datetimeString(), 24 + /** 25 + * the status of the post, e.g. "scheduled", "published", "failed" 26 + */ 27 + status: /*#__PURE__*/ v.string(), 28 + }); 29 + const _selfDeletingPostSchema = /*#__PURE__*/ v.object({ 30 + $type: /*#__PURE__*/ v.optional( 31 + /*#__PURE__*/ v.literal("cat.vt3e.bbell.scheduling.defs#selfDeletingPost"), 32 + ), 33 + /** 34 + * the time the deletion was scheduled at 35 + */ 36 + createdAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()), 37 + /** 38 + * the time the post will be deleted at 39 + */ 40 + deletesAt: /*#__PURE__*/ v.datetimeString(), 41 + id: /*#__PURE__*/ v.string(), 42 + /** 43 + * the status of the deletion, e.g. "scheduled", "deleted", "failed" 44 + */ 45 + status: /*#__PURE__*/ v.string(), 46 + /** 47 + * the uri of the post to be deleted 48 + */ 49 + uri: /*#__PURE__*/ v.resourceUriString(), 50 + }); 51 + 52 + type scheduledPost$schematype = typeof _scheduledPostSchema; 53 + type selfDeletingPost$schematype = typeof _selfDeletingPostSchema; 54 + 55 + export interface scheduledPostSchema extends scheduledPost$schematype {} 56 + export interface selfDeletingPostSchema extends selfDeletingPost$schematype {} 57 + 58 + export const scheduledPostSchema = _scheduledPostSchema as scheduledPostSchema; 59 + export const selfDeletingPostSchema = 60 + _selfDeletingPostSchema as selfDeletingPostSchema; 61 + 62 + export interface ScheduledPost extends v.InferInput< 63 + typeof scheduledPostSchema 64 + > {} 65 + export interface SelfDeletingPost extends v.InferInput< 66 + typeof selfDeletingPostSchema 67 + > {}
+40
src/lex/types/cat/vt3e/bbell/scheduling/listDeletions.ts
··· 1 + import type {} from "@atcute/lexicons"; 2 + import * as v from "@atcute/lexicons/validations"; 3 + import type {} from "@atcute/lexicons/ambient"; 4 + import * as CatVt3eBbellSchedulingDefs from "./defs.js"; 5 + 6 + const _mainSchema = /*#__PURE__*/ v.query( 7 + "cat.vt3e.bbell.scheduling.listDeletions", 8 + { 9 + params: /*#__PURE__*/ v.object({ 10 + cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 11 + limit: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()), 12 + }), 13 + output: { 14 + type: "lex", 15 + schema: /*#__PURE__*/ v.object({ 16 + cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 17 + get posts() { 18 + return /*#__PURE__*/ v.array( 19 + CatVt3eBbellSchedulingDefs.selfDeletingPostSchema, 20 + ); 21 + }, 22 + }), 23 + }, 24 + }, 25 + ); 26 + 27 + type main$schematype = typeof _mainSchema; 28 + 29 + export interface mainSchema extends main$schematype {} 30 + 31 + export const mainSchema = _mainSchema as mainSchema; 32 + 33 + export interface $params extends v.InferInput<mainSchema["params"]> {} 34 + export interface $output extends v.InferXRPCBodyInput<mainSchema["output"]> {} 35 + 36 + declare module "@atcute/lexicons/ambient" { 37 + interface XRPCQueries { 38 + "cat.vt3e.bbell.scheduling.listDeletions": mainSchema; 39 + } 40 + }
+40
src/lex/types/cat/vt3e/bbell/scheduling/listPosts.ts
··· 1 + import type {} from "@atcute/lexicons"; 2 + import * as v from "@atcute/lexicons/validations"; 3 + import type {} from "@atcute/lexicons/ambient"; 4 + import * as CatVt3eBbellSchedulingDefs from "./defs.js"; 5 + 6 + const _mainSchema = /*#__PURE__*/ v.query( 7 + "cat.vt3e.bbell.scheduling.listPosts", 8 + { 9 + params: /*#__PURE__*/ v.object({ 10 + cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 11 + limit: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()), 12 + }), 13 + output: { 14 + type: "lex", 15 + schema: /*#__PURE__*/ v.object({ 16 + cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 17 + get posts() { 18 + return /*#__PURE__*/ v.array( 19 + CatVt3eBbellSchedulingDefs.scheduledPostSchema, 20 + ); 21 + }, 22 + }), 23 + }, 24 + }, 25 + ); 26 + 27 + type main$schematype = typeof _mainSchema; 28 + 29 + export interface mainSchema extends main$schematype {} 30 + 31 + export const mainSchema = _mainSchema as mainSchema; 32 + 33 + export interface $params extends v.InferInput<mainSchema["params"]> {} 34 + export interface $output extends v.InferXRPCBodyInput<mainSchema["output"]> {} 35 + 36 + declare module "@atcute/lexicons/ambient" { 37 + interface XRPCQueries { 38 + "cat.vt3e.bbell.scheduling.listPosts": mainSchema; 39 + } 40 + }
+40
src/lex/types/cat/vt3e/bbell/scheduling/scheduleDeletion.ts
··· 1 + import type {} from "@atcute/lexicons"; 2 + import * as v from "@atcute/lexicons/validations"; 3 + import type {} from "@atcute/lexicons/ambient"; 4 + 5 + const _mainSchema = /*#__PURE__*/ v.procedure( 6 + "cat.vt3e.bbell.scheduling.scheduleDeletion", 7 + { 8 + params: null, 9 + input: { 10 + type: "lex", 11 + schema: /*#__PURE__*/ v.object({ 12 + deletesAt: /*#__PURE__*/ v.datetimeString(), 13 + uri: /*#__PURE__*/ v.resourceUriString(), 14 + }), 15 + }, 16 + output: { 17 + type: "lex", 18 + schema: /*#__PURE__*/ v.object({ 19 + deletesAt: /*#__PURE__*/ v.datetimeString(), 20 + id: /*#__PURE__*/ v.string(), 21 + }), 22 + }, 23 + }, 24 + ); 25 + 26 + type main$schematype = typeof _mainSchema; 27 + 28 + export interface mainSchema extends main$schematype {} 29 + 30 + export const mainSchema = _mainSchema as mainSchema; 31 + 32 + export interface $params {} 33 + export interface $input extends v.InferXRPCBodyInput<mainSchema["input"]> {} 34 + export interface $output extends v.InferXRPCBodyInput<mainSchema["output"]> {} 35 + 36 + declare module "@atcute/lexicons/ambient" { 37 + interface XRPCProcedures { 38 + "cat.vt3e.bbell.scheduling.scheduleDeletion": mainSchema; 39 + } 40 + }
+43
src/lex/types/cat/vt3e/bbell/scheduling/schedulePost.ts
··· 1 + import type {} from "@atcute/lexicons"; 2 + import * as v from "@atcute/lexicons/validations"; 3 + import type {} from "@atcute/lexicons/ambient"; 4 + import * as AppBskyFeedPost from "@atcute/bluesky/types/app/feed/post"; 5 + 6 + const _mainSchema = /*#__PURE__*/ v.procedure( 7 + "cat.vt3e.bbell.scheduling.schedulePost", 8 + { 9 + params: null, 10 + input: { 11 + type: "lex", 12 + schema: /*#__PURE__*/ v.object({ 13 + get post() { 14 + return AppBskyFeedPost.mainSchema; 15 + }, 16 + scheduledAt: /*#__PURE__*/ v.datetimeString(), 17 + }), 18 + }, 19 + output: { 20 + type: "lex", 21 + schema: /*#__PURE__*/ v.object({ 22 + id: /*#__PURE__*/ v.string(), 23 + scheduledAt: /*#__PURE__*/ v.datetimeString(), 24 + }), 25 + }, 26 + }, 27 + ); 28 + 29 + type main$schematype = typeof _mainSchema; 30 + 31 + export interface mainSchema extends main$schematype {} 32 + 33 + export const mainSchema = _mainSchema as mainSchema; 34 + 35 + export interface $params {} 36 + export interface $input extends v.InferXRPCBodyInput<mainSchema["input"]> {} 37 + export interface $output extends v.InferXRPCBodyInput<mainSchema["output"]> {} 38 + 39 + declare module "@atcute/lexicons/ambient" { 40 + interface XRPCProcedures { 41 + "cat.vt3e.bbell.scheduling.schedulePost": mainSchema; 42 + } 43 + }
+51
src/lex/types/cat/vt3e/bbell/server/defs.ts
··· 1 + import type {} from "@atcute/lexicons"; 2 + import * as v from "@atcute/lexicons/validations"; 3 + 4 + const _configSchema = /*#__PURE__*/ v.object({ 5 + $type: /*#__PURE__*/ v.optional( 6 + /*#__PURE__*/ v.literal("cat.vt3e.bbell.server.defs#config"), 7 + ), 8 + get contact() { 9 + return /*#__PURE__*/ v.optional(contactSchema); 10 + }, 11 + did: /*#__PURE__*/ v.didString(), 12 + get links() { 13 + return /*#__PURE__*/ v.optional(linksSchema); 14 + }, 15 + version: /*#__PURE__*/ v.string(), 16 + }); 17 + const _contactSchema = /*#__PURE__*/ v.object({ 18 + $type: /*#__PURE__*/ v.optional( 19 + /*#__PURE__*/ v.literal("cat.vt3e.bbell.server.defs#contact"), 20 + ), 21 + /** 22 + * DIDs of users responsible for the service 23 + */ 24 + dids: /*#__PURE__*/ v.optional( 25 + /*#__PURE__*/ v.array(/*#__PURE__*/ v.didString()), 26 + ), 27 + email: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 28 + }); 29 + const _linksSchema = /*#__PURE__*/ v.object({ 30 + $type: /*#__PURE__*/ v.optional( 31 + /*#__PURE__*/ v.literal("cat.vt3e.bbell.server.defs#links"), 32 + ), 33 + privacyPolicy: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 34 + termsOfService: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 35 + }); 36 + 37 + type config$schematype = typeof _configSchema; 38 + type contact$schematype = typeof _contactSchema; 39 + type links$schematype = typeof _linksSchema; 40 + 41 + export interface configSchema extends config$schematype {} 42 + export interface contactSchema extends contact$schematype {} 43 + export interface linksSchema extends links$schematype {} 44 + 45 + export const configSchema = _configSchema as configSchema; 46 + export const contactSchema = _contactSchema as contactSchema; 47 + export const linksSchema = _linksSchema as linksSchema; 48 + 49 + export interface Config extends v.InferInput<typeof configSchema> {} 50 + export interface Contact extends v.InferInput<typeof contactSchema> {} 51 + export interface Links extends v.InferInput<typeof linksSchema> {}
+30
src/lex/types/cat/vt3e/bbell/server/deleteSession.ts
··· 1 + import type {} from "@atcute/lexicons"; 2 + import * as v from "@atcute/lexicons/validations"; 3 + import type {} from "@atcute/lexicons/ambient"; 4 + 5 + const _mainSchema = /*#__PURE__*/ v.procedure( 6 + "cat.vt3e.bbell.server.deleteSession", 7 + { 8 + params: null, 9 + input: null, 10 + output: { 11 + type: "lex", 12 + schema: /*#__PURE__*/ v.object({}), 13 + }, 14 + }, 15 + ); 16 + 17 + type main$schematype = typeof _mainSchema; 18 + 19 + export interface mainSchema extends main$schematype {} 20 + 21 + export const mainSchema = _mainSchema as mainSchema; 22 + 23 + export interface $params {} 24 + export interface $output extends v.InferXRPCBodyInput<mainSchema["output"]> {} 25 + 26 + declare module "@atcute/lexicons/ambient" { 27 + interface XRPCProcedures { 28 + "cat.vt3e.bbell.server.deleteSession": mainSchema; 29 + } 30 + }
+32
src/lex/types/cat/vt3e/bbell/server/describeServer.ts
··· 1 + import type {} from "@atcute/lexicons"; 2 + import * as v from "@atcute/lexicons/validations"; 3 + import type {} from "@atcute/lexicons/ambient"; 4 + import * as CatVt3eBbellServerDefs from "./defs.js"; 5 + 6 + const _mainSchema = /*#__PURE__*/ v.query( 7 + "cat.vt3e.bbell.server.describeServer", 8 + { 9 + params: null, 10 + output: { 11 + type: "lex", 12 + get schema() { 13 + return CatVt3eBbellServerDefs.configSchema; 14 + }, 15 + }, 16 + }, 17 + ); 18 + 19 + type main$schematype = typeof _mainSchema; 20 + 21 + export interface mainSchema extends main$schematype {} 22 + 23 + export const mainSchema = _mainSchema as mainSchema; 24 + 25 + export interface $params {} 26 + export type $output = v.InferXRPCBodyInput<mainSchema["output"]>; 27 + 28 + declare module "@atcute/lexicons/ambient" { 29 + interface XRPCQueries { 30 + "cat.vt3e.bbell.server.describeServer": mainSchema; 31 + } 32 + }
+28
src/lex/types/cat/vt3e/bbell/server/getSession.ts
··· 1 + import type {} from "@atcute/lexicons"; 2 + import * as v from "@atcute/lexicons/validations"; 3 + import type {} from "@atcute/lexicons/ambient"; 4 + 5 + const _mainSchema = /*#__PURE__*/ v.query("cat.vt3e.bbell.server.getSession", { 6 + params: null, 7 + output: { 8 + type: "lex", 9 + schema: /*#__PURE__*/ v.object({ 10 + did: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.didString()), 11 + }), 12 + }, 13 + }); 14 + 15 + type main$schematype = typeof _mainSchema; 16 + 17 + export interface mainSchema extends main$schematype {} 18 + 19 + export const mainSchema = _mainSchema as mainSchema; 20 + 21 + export interface $params {} 22 + export interface $output extends v.InferXRPCBodyInput<mainSchema["output"]> {} 23 + 24 + declare module "@atcute/lexicons/ambient" { 25 + interface XRPCQueries { 26 + "cat.vt3e.bbell.server.getSession": mainSchema; 27 + } 28 + }