This repository has no description
0

Configure Feed

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

web: codegen

Signed-off-by: Seongmin Lee <git@boltless.me>

author
Seongmin Lee
date (Aug 1, 2026, 8:24 PM +0900) commit 206cde9d parent 58def2e4 change-id wpypxzrv
+1534 -6
+1
web/lex.config.ts
··· 26 26 "../lexicons/search/**/*.json", 27 27 "../lexicons/spindle/**/*.json", 28 28 "../lexicons/string/**/*.json", 29 + "../lexicons/temp/**/*.json", 29 30 "../lexicons/sync/**/*.json", 30 31 "../bobbin/crates/types/lexicons/**/*.json" 31 32 ]
+31
web/src/lib/api/lexicons/index.ts
··· 1 + export * as OrgTangledTempAccountBeginSignup from "./types/org/tangled/temp/account/beginSignup.js"; 2 + export * as OrgTangledTempAccountCompleteSignup from "./types/org/tangled/temp/account/completeSignup.js"; 3 + export * as OrgTangledTempAccountDeleteEmail from "./types/org/tangled/temp/account/deleteEmail.js"; 4 + export * as OrgTangledTempAccountDismissNewsletter from "./types/org/tangled/temp/account/dismissNewsletter.js"; 5 + export * as OrgTangledTempAccountListEmails from "./types/org/tangled/temp/account/listEmails.js"; 6 + export * as OrgTangledTempAccountSetPrimaryEmail from "./types/org/tangled/temp/account/setPrimaryEmail.js"; 7 + export * as OrgTangledTempAccountSubscribeNewsletter from "./types/org/tangled/temp/account/subscribeNewsletter.js"; 8 + export * as OrgTangledTempFocusBeginSession from "./types/org/tangled/temp/focus/beginSession.js"; 9 + export * as OrgTangledTempFocusEndSession from "./types/org/tangled/temp/focus/endSession.js"; 10 + export * as OrgTangledTempFocusNextItem from "./types/org/tangled/temp/focus/nextItem.js"; 11 + export * as OrgTangledTempNotificationDeleteNotification from "./types/org/tangled/temp/notification/deleteNotification.js"; 12 + export * as OrgTangledTempNotificationGetPreferences from "./types/org/tangled/temp/notification/getPreferences.js"; 13 + export * as OrgTangledTempNotificationGetUnreadCount from "./types/org/tangled/temp/notification/getUnreadCount.js"; 14 + export * as OrgTangledTempNotificationListNotifications from "./types/org/tangled/temp/notification/listNotifications.js"; 15 + export * as OrgTangledTempNotificationMarkAllRead from "./types/org/tangled/temp/notification/markAllRead.js"; 16 + export * as OrgTangledTempNotificationUpdatePreferences from "./types/org/tangled/temp/notification/updatePreferences.js"; 17 + export * as OrgTangledTempNotificationUpdateSeen from "./types/org/tangled/temp/notification/updateSeen.js"; 18 + export * as OrgTangledTempRepoCreateWebhook from "./types/org/tangled/temp/repo/createWebhook.js"; 19 + export * as OrgTangledTempRepoDeleteWebhook from "./types/org/tangled/temp/repo/deleteWebhook.js"; 20 + export * as OrgTangledTempRepoDisableSite from "./types/org/tangled/temp/repo/disableSite.js"; 21 + export * as OrgTangledTempRepoGetSiteConfig from "./types/org/tangled/temp/repo/getSiteConfig.js"; 22 + export * as OrgTangledTempRepoListWebhookDeliveries from "./types/org/tangled/temp/repo/listWebhookDeliveries.js"; 23 + export * as OrgTangledTempRepoListWebhooks from "./types/org/tangled/temp/repo/listWebhooks.js"; 24 + export * as OrgTangledTempRepoRetryWebhookDelivery from "./types/org/tangled/temp/repo/retryWebhookDelivery.js"; 25 + export * as OrgTangledTempRepoToggleWebhook from "./types/org/tangled/temp/repo/toggleWebhook.js"; 26 + export * as OrgTangledTempRepoUpdateSiteConfig from "./types/org/tangled/temp/repo/updateSiteConfig.js"; 27 + export * as OrgTangledTempRepoUpdateWebhook from "./types/org/tangled/temp/repo/updateWebhook.js"; 28 + export * as OrgTangledTempSearchSearchCode from "./types/org/tangled/temp/search/searchCode.js"; 29 + export * as OrgTangledTempSiteClaimDomain from "./types/org/tangled/temp/site/claimDomain.js"; 30 + export * as OrgTangledTempSiteGetDomainClaim from "./types/org/tangled/temp/site/getDomainClaim.js"; 31 + export * as OrgTangledTempSiteReleaseDomain from "./types/org/tangled/temp/site/releaseDomain.js"; 1 32 export * as ShTangledActorDefs from "./types/sh/tangled/actor/defs.js"; 2 33 export * as ShTangledActorGetProfile from "./types/sh/tangled/actor/getProfile.js"; 3 34 export * as ShTangledActorGetProfiles from "./types/sh/tangled/actor/getProfiles.js";
+39
web/src/lib/api/lexicons/types/org/tangled/temp/account/beginSignup.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 + "org.tangled.temp.account.beginSignup", 7 + { 8 + params: null, 9 + input: { 10 + type: "lex", 11 + schema: /*#__PURE__*/ v.object({ 12 + /** 13 + * Email address for the new account. 14 + */ 15 + email: /*#__PURE__*/ v.string(), 16 + /** 17 + * Cloudflare Turnstile challenge response token. 18 + */ 19 + turnstileToken: /*#__PURE__*/ v.string(), 20 + }), 21 + }, 22 + output: null, 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 + 35 + declare module "@atcute/lexicons/ambient" { 36 + interface XRPCProcedures { 37 + "org.tangled.temp.account.beginSignup": mainSchema; 38 + } 39 + }
+56
web/src/lib/api/lexicons/types/org/tangled/temp/account/completeSignup.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 + "org.tangled.temp.account.completeSignup", 7 + { 8 + params: null, 9 + input: { 10 + type: "lex", 11 + schema: /*#__PURE__*/ v.object({ 12 + /** 13 + * Verification code from the signup email. 14 + */ 15 + code: /*#__PURE__*/ v.string(), 16 + /** 17 + * Password for the new account. 18 + */ 19 + password: /*#__PURE__*/ v.string(), 20 + /** 21 + * Desired username; the assigned handle is <username>.<pds domain>. 22 + */ 23 + username: /*#__PURE__*/ v.string(), 24 + }), 25 + }, 26 + output: { 27 + type: "lex", 28 + schema: /*#__PURE__*/ v.object({ 29 + /** 30 + * DID of the newly provisioned account. 31 + */ 32 + did: /*#__PURE__*/ v.didString(), 33 + /** 34 + * The assigned handle, <username>.<pds domain>. 35 + */ 36 + handle: /*#__PURE__*/ v.string(), 37 + }), 38 + }, 39 + }, 40 + ); 41 + 42 + type main$schematype = typeof _mainSchema; 43 + 44 + export interface mainSchema extends main$schematype {} 45 + 46 + export const mainSchema = _mainSchema as mainSchema; 47 + 48 + export interface $params {} 49 + export interface $input extends v.InferXRPCBodyInput<mainSchema["input"]> {} 50 + export interface $output extends v.InferXRPCBodyInput<mainSchema["output"]> {} 51 + 52 + declare module "@atcute/lexicons/ambient" { 53 + interface XRPCProcedures { 54 + "org.tangled.temp.account.completeSignup": mainSchema; 55 + } 56 + }
+35
web/src/lib/api/lexicons/types/org/tangled/temp/account/deleteEmail.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 + "org.tangled.temp.account.deleteEmail", 7 + { 8 + params: null, 9 + input: { 10 + type: "lex", 11 + schema: /*#__PURE__*/ v.object({ 12 + /** 13 + * Email address to remove. 14 + */ 15 + email: /*#__PURE__*/ v.string(), 16 + }), 17 + }, 18 + output: null, 19 + }, 20 + ); 21 + 22 + type main$schematype = typeof _mainSchema; 23 + 24 + export interface mainSchema extends main$schematype {} 25 + 26 + export const mainSchema = _mainSchema as mainSchema; 27 + 28 + export interface $params {} 29 + export interface $input extends v.InferXRPCBodyInput<mainSchema["input"]> {} 30 + 31 + declare module "@atcute/lexicons/ambient" { 32 + interface XRPCProcedures { 33 + "org.tangled.temp.account.deleteEmail": mainSchema; 34 + } 35 + }
+26
web/src/lib/api/lexicons/types/org/tangled/temp/account/dismissNewsletter.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 + "org.tangled.temp.account.dismissNewsletter", 7 + { 8 + params: null, 9 + input: null, 10 + output: null, 11 + }, 12 + ); 13 + 14 + type main$schematype = typeof _mainSchema; 15 + 16 + export interface mainSchema extends main$schematype {} 17 + 18 + export const mainSchema = _mainSchema as mainSchema; 19 + 20 + export interface $params {} 21 + 22 + declare module "@atcute/lexicons/ambient" { 23 + interface XRPCProcedures { 24 + "org.tangled.temp.account.dismissNewsletter": mainSchema; 25 + } 26 + }
+56
web/src/lib/api/lexicons/types/org/tangled/temp/account/listEmails.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 _emailSchema = /*#__PURE__*/ v.object({ 6 + $type: /*#__PURE__*/ v.optional( 7 + /*#__PURE__*/ v.literal("org.tangled.temp.account.listEmails#email"), 8 + ), 9 + /** 10 + * Email address. 11 + */ 12 + address: /*#__PURE__*/ v.string(), 13 + createdAt: /*#__PURE__*/ v.datetimeString(), 14 + /** 15 + * Whether this is the primary email address. 16 + */ 17 + primary: /*#__PURE__*/ v.boolean(), 18 + /** 19 + * Whether the address has been verified. 20 + */ 21 + verified: /*#__PURE__*/ v.boolean(), 22 + }); 23 + const _mainSchema = /*#__PURE__*/ v.query( 24 + "org.tangled.temp.account.listEmails", 25 + { 26 + params: null, 27 + output: { 28 + type: "lex", 29 + schema: /*#__PURE__*/ v.object({ 30 + get emails() { 31 + return /*#__PURE__*/ v.array(emailSchema); 32 + }, 33 + }), 34 + }, 35 + }, 36 + ); 37 + 38 + type email$schematype = typeof _emailSchema; 39 + type main$schematype = typeof _mainSchema; 40 + 41 + export interface emailSchema extends email$schematype {} 42 + export interface mainSchema extends main$schematype {} 43 + 44 + export const emailSchema = _emailSchema as emailSchema; 45 + export const mainSchema = _mainSchema as mainSchema; 46 + 47 + export interface Email extends v.InferInput<typeof emailSchema> {} 48 + 49 + export interface $params {} 50 + export interface $output extends v.InferXRPCBodyInput<mainSchema["output"]> {} 51 + 52 + declare module "@atcute/lexicons/ambient" { 53 + interface XRPCQueries { 54 + "org.tangled.temp.account.listEmails": mainSchema; 55 + } 56 + }
+35
web/src/lib/api/lexicons/types/org/tangled/temp/account/setPrimaryEmail.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 + "org.tangled.temp.account.setPrimaryEmail", 7 + { 8 + params: null, 9 + input: { 10 + type: "lex", 11 + schema: /*#__PURE__*/ v.object({ 12 + /** 13 + * Email address to promote to primary. 14 + */ 15 + email: /*#__PURE__*/ v.string(), 16 + }), 17 + }, 18 + output: null, 19 + }, 20 + ); 21 + 22 + type main$schematype = typeof _mainSchema; 23 + 24 + export interface mainSchema extends main$schematype {} 25 + 26 + export const mainSchema = _mainSchema as mainSchema; 27 + 28 + export interface $params {} 29 + export interface $input extends v.InferXRPCBodyInput<mainSchema["input"]> {} 30 + 31 + declare module "@atcute/lexicons/ambient" { 32 + interface XRPCProcedures { 33 + "org.tangled.temp.account.setPrimaryEmail": mainSchema; 34 + } 35 + }
+26
web/src/lib/api/lexicons/types/org/tangled/temp/account/subscribeNewsletter.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 + "org.tangled.temp.account.subscribeNewsletter", 7 + { 8 + params: null, 9 + input: null, 10 + output: null, 11 + }, 12 + ); 13 + 14 + type main$schematype = typeof _mainSchema; 15 + 16 + export interface mainSchema extends main$schematype {} 17 + 18 + export const mainSchema = _mainSchema as mainSchema; 19 + 20 + export interface $params {} 21 + 22 + declare module "@atcute/lexicons/ambient" { 23 + interface XRPCProcedures { 24 + "org.tangled.temp.account.subscribeNewsletter": mainSchema; 25 + } 26 + }
+47
web/src/lib/api/lexicons/types/org/tangled/temp/focus/beginSession.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 + "org.tangled.temp.focus.beginSession", 7 + { 8 + params: null, 9 + input: null, 10 + output: { 11 + type: "lex", 12 + schema: /*#__PURE__*/ v.object({ 13 + /** 14 + * AT-URI of the issue to navigate to, if the item is an issue. 15 + */ 16 + issueAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()), 17 + /** 18 + * ID of the first notification to address. Absent if the queue is empty. 19 + */ 20 + notificationId: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()), 21 + /** 22 + * AT-URI of the pull to navigate to, if the item is a pull. 23 + */ 24 + pullAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()), 25 + /** 26 + * DID of the repository the item belongs to. Absent if the queue is empty. 27 + */ 28 + repoDid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.didString()), 29 + }), 30 + }, 31 + }, 32 + ); 33 + 34 + type main$schematype = typeof _mainSchema; 35 + 36 + export interface mainSchema extends main$schematype {} 37 + 38 + export const mainSchema = _mainSchema as mainSchema; 39 + 40 + export interface $params {} 41 + export interface $output extends v.InferXRPCBodyInput<mainSchema["output"]> {} 42 + 43 + declare module "@atcute/lexicons/ambient" { 44 + interface XRPCProcedures { 45 + "org.tangled.temp.focus.beginSession": mainSchema; 46 + } 47 + }
+26
web/src/lib/api/lexicons/types/org/tangled/temp/focus/endSession.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 + "org.tangled.temp.focus.endSession", 7 + { 8 + params: null, 9 + input: null, 10 + output: null, 11 + }, 12 + ); 13 + 14 + type main$schematype = typeof _mainSchema; 15 + 16 + export interface mainSchema extends main$schematype {} 17 + 18 + export const mainSchema = _mainSchema as mainSchema; 19 + 20 + export interface $params {} 21 + 22 + declare module "@atcute/lexicons/ambient" { 23 + interface XRPCProcedures { 24 + "org.tangled.temp.focus.endSession": mainSchema; 25 + } 26 + }
+56
web/src/lib/api/lexicons/types/org/tangled/temp/focus/nextItem.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 + "org.tangled.temp.focus.nextItem", 7 + { 8 + params: null, 9 + input: { 10 + type: "lex", 11 + schema: /*#__PURE__*/ v.object({ 12 + /** 13 + * ID of the notification just addressed, to be marked read. 14 + */ 15 + currentId: /*#__PURE__*/ v.integer(), 16 + }), 17 + }, 18 + output: { 19 + type: "lex", 20 + schema: /*#__PURE__*/ v.object({ 21 + /** 22 + * AT-URI of the issue to navigate to, if the item is an issue. 23 + */ 24 + issueAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()), 25 + /** 26 + * ID of the next notification to address. Absent when focus mode has ended. 27 + */ 28 + notificationId: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()), 29 + /** 30 + * AT-URI of the pull to navigate to, if the item is a pull. 31 + */ 32 + pullAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()), 33 + /** 34 + * DID of the repository the next item belongs to. Absent when focus mode has ended. 35 + */ 36 + repoDid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.didString()), 37 + }), 38 + }, 39 + }, 40 + ); 41 + 42 + type main$schematype = typeof _mainSchema; 43 + 44 + export interface mainSchema extends main$schematype {} 45 + 46 + export const mainSchema = _mainSchema as mainSchema; 47 + 48 + export interface $params {} 49 + export interface $input extends v.InferXRPCBodyInput<mainSchema["input"]> {} 50 + export interface $output extends v.InferXRPCBodyInput<mainSchema["output"]> {} 51 + 52 + declare module "@atcute/lexicons/ambient" { 53 + interface XRPCProcedures { 54 + "org.tangled.temp.focus.nextItem": mainSchema; 55 + } 56 + }
+35
web/src/lib/api/lexicons/types/org/tangled/temp/notification/deleteNotification.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 + "org.tangled.temp.notification.deleteNotification", 7 + { 8 + params: null, 9 + input: { 10 + type: "lex", 11 + schema: /*#__PURE__*/ v.object({ 12 + /** 13 + * ID of the notification to delete. 14 + */ 15 + id: /*#__PURE__*/ v.integer(), 16 + }), 17 + }, 18 + output: null, 19 + }, 20 + ); 21 + 22 + type main$schematype = typeof _mainSchema; 23 + 24 + export interface mainSchema extends main$schematype {} 25 + 26 + export const mainSchema = _mainSchema as mainSchema; 27 + 28 + export interface $params {} 29 + export interface $input extends v.InferXRPCBodyInput<mainSchema["input"]> {} 30 + 31 + declare module "@atcute/lexicons/ambient" { 32 + interface XRPCProcedures { 33 + "org.tangled.temp.notification.deleteNotification": mainSchema; 34 + } 35 + }
+53
web/src/lib/api/lexicons/types/org/tangled/temp/notification/getPreferences.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( 6 + "org.tangled.temp.notification.getPreferences", 7 + { 8 + params: null, 9 + output: { 10 + type: "lex", 11 + get schema() { 12 + return preferencesSchema; 13 + }, 14 + }, 15 + }, 16 + ); 17 + const _preferencesSchema = /*#__PURE__*/ v.object({ 18 + $type: /*#__PURE__*/ v.optional( 19 + /*#__PURE__*/ v.literal( 20 + "org.tangled.temp.notification.getPreferences#preferences", 21 + ), 22 + ), 23 + emailNotifications: /*#__PURE__*/ v.boolean(), 24 + followed: /*#__PURE__*/ v.boolean(), 25 + issueClosed: /*#__PURE__*/ v.boolean(), 26 + issueCommented: /*#__PURE__*/ v.boolean(), 27 + issueCreated: /*#__PURE__*/ v.boolean(), 28 + pullCommented: /*#__PURE__*/ v.boolean(), 29 + pullCreated: /*#__PURE__*/ v.boolean(), 30 + pullMerged: /*#__PURE__*/ v.boolean(), 31 + repoStarred: /*#__PURE__*/ v.boolean(), 32 + userMentioned: /*#__PURE__*/ v.boolean(), 33 + }); 34 + 35 + type main$schematype = typeof _mainSchema; 36 + type preferences$schematype = typeof _preferencesSchema; 37 + 38 + export interface mainSchema extends main$schematype {} 39 + export interface preferencesSchema extends preferences$schematype {} 40 + 41 + export const mainSchema = _mainSchema as mainSchema; 42 + export const preferencesSchema = _preferencesSchema as preferencesSchema; 43 + 44 + export interface Preferences extends v.InferInput<typeof preferencesSchema> {} 45 + 46 + export interface $params {} 47 + export type $output = v.InferXRPCBodyInput<mainSchema["output"]>; 48 + 49 + declare module "@atcute/lexicons/ambient" { 50 + interface XRPCQueries { 51 + "org.tangled.temp.notification.getPreferences": mainSchema; 52 + } 53 + }
+31
web/src/lib/api/lexicons/types/org/tangled/temp/notification/getUnreadCount.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( 6 + "org.tangled.temp.notification.getUnreadCount", 7 + { 8 + params: null, 9 + output: { 10 + type: "lex", 11 + schema: /*#__PURE__*/ v.object({ 12 + count: /*#__PURE__*/ v.integer(), 13 + }), 14 + }, 15 + }, 16 + ); 17 + 18 + type main$schematype = typeof _mainSchema; 19 + 20 + export interface mainSchema extends main$schematype {} 21 + 22 + export const mainSchema = _mainSchema as mainSchema; 23 + 24 + export interface $params {} 25 + export interface $output extends v.InferXRPCBodyInput<mainSchema["output"]> {} 26 + 27 + declare module "@atcute/lexicons/ambient" { 28 + interface XRPCQueries { 29 + "org.tangled.temp.notification.getUnreadCount": mainSchema; 30 + } 31 + }
+98
web/src/lib/api/lexicons/types/org/tangled/temp/notification/listNotifications.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( 6 + "org.tangled.temp.notification.listNotifications", 7 + { 8 + params: /*#__PURE__*/ v.object({ 9 + /** 10 + * Filter by category: 'all', 'social', or 'work'. 11 + */ 12 + category: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 13 + cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 14 + /** 15 + * Max notifications per category to return. 16 + * @minimum 1 17 + * @maximum 100 18 + */ 19 + limit: /*#__PURE__*/ v.optional( 20 + /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [ 21 + /*#__PURE__*/ v.integerRange(1, 100), 22 + ]), 23 + ), 24 + /** 25 + * Filter by read state: 'all' or 'unread'. 26 + */ 27 + read: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 28 + }), 29 + output: { 30 + type: "lex", 31 + schema: /*#__PURE__*/ v.object({ 32 + cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 33 + get notifications() { 34 + return /*#__PURE__*/ v.array(notificationSchema); 35 + }, 36 + socialUnreadCount: /*#__PURE__*/ v.integer(), 37 + workUnreadCount: /*#__PURE__*/ v.integer(), 38 + }), 39 + }, 40 + }, 41 + ); 42 + const _notificationSchema = /*#__PURE__*/ v.object({ 43 + $type: /*#__PURE__*/ v.optional( 44 + /*#__PURE__*/ v.literal( 45 + "org.tangled.temp.notification.listNotifications#notification", 46 + ), 47 + ), 48 + /** 49 + * DID of the user who triggered this notification. 50 + */ 51 + actorDid: /*#__PURE__*/ v.didString(), 52 + /** 53 + * Broad category: 'social' or 'work'. 54 + */ 55 + category: /*#__PURE__*/ v.string(), 56 + createdAt: /*#__PURE__*/ v.datetimeString(), 57 + /** 58 + * Stable numeric ID for this notification. 59 + */ 60 + id: /*#__PURE__*/ v.integer(), 61 + /** 62 + * AT-URI of the related org.tangled.issue.issue record, if applicable. 63 + */ 64 + issueAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()), 65 + /** 66 + * AT-URI of the related org.tangled.pulls.pull record, if applicable. 67 + */ 68 + pullAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()), 69 + read: /*#__PURE__*/ v.boolean(), 70 + /** 71 + * DID of the related repository, if applicable. 72 + */ 73 + repoDid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.didString()), 74 + /** 75 + * Notification type: repo_starred, issue_created, issue_commented, issue_closed, issue_reopen, issue_assigned, issue_unassigned, pull_created, pull_commented, pull_merged, pull_closed, pull_reopen, pull_assigned, pull_unassigned, followed, user_mentioned. 76 + */ 77 + type: /*#__PURE__*/ v.string(), 78 + }); 79 + 80 + type main$schematype = typeof _mainSchema; 81 + type notification$schematype = typeof _notificationSchema; 82 + 83 + export interface mainSchema extends main$schematype {} 84 + export interface notificationSchema extends notification$schematype {} 85 + 86 + export const mainSchema = _mainSchema as mainSchema; 87 + export const notificationSchema = _notificationSchema as notificationSchema; 88 + 89 + export interface Notification extends v.InferInput<typeof notificationSchema> {} 90 + 91 + export interface $params extends v.InferInput<mainSchema["params"]> {} 92 + export interface $output extends v.InferXRPCBodyInput<mainSchema["output"]> {} 93 + 94 + declare module "@atcute/lexicons/ambient" { 95 + interface XRPCQueries { 96 + "org.tangled.temp.notification.listNotifications": mainSchema; 97 + } 98 + }
+26
web/src/lib/api/lexicons/types/org/tangled/temp/notification/markAllRead.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 + "org.tangled.temp.notification.markAllRead", 7 + { 8 + params: null, 9 + input: null, 10 + output: null, 11 + }, 12 + ); 13 + 14 + type main$schematype = typeof _mainSchema; 15 + 16 + export interface mainSchema extends main$schematype {} 17 + 18 + export const mainSchema = _mainSchema as mainSchema; 19 + 20 + export interface $params {} 21 + 22 + declare module "@atcute/lexicons/ambient" { 23 + interface XRPCProcedures { 24 + "org.tangled.temp.notification.markAllRead": mainSchema; 25 + } 26 + }
+41
web/src/lib/api/lexicons/types/org/tangled/temp/notification/updatePreferences.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 + "org.tangled.temp.notification.updatePreferences", 7 + { 8 + params: null, 9 + input: { 10 + type: "lex", 11 + schema: /*#__PURE__*/ v.object({ 12 + emailNotifications: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()), 13 + followed: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()), 14 + issueClosed: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()), 15 + issueCommented: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()), 16 + issueCreated: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()), 17 + pullCommented: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()), 18 + pullCreated: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()), 19 + pullMerged: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()), 20 + repoStarred: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()), 21 + userMentioned: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()), 22 + }), 23 + }, 24 + output: null, 25 + }, 26 + ); 27 + 28 + type main$schematype = typeof _mainSchema; 29 + 30 + export interface mainSchema extends main$schematype {} 31 + 32 + export const mainSchema = _mainSchema as mainSchema; 33 + 34 + export interface $params {} 35 + export interface $input extends v.InferXRPCBodyInput<mainSchema["input"]> {} 36 + 37 + declare module "@atcute/lexicons/ambient" { 38 + interface XRPCProcedures { 39 + "org.tangled.temp.notification.updatePreferences": mainSchema; 40 + } 41 + }
+36
web/src/lib/api/lexicons/types/org/tangled/temp/notification/updateSeen.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 + "org.tangled.temp.notification.updateSeen", 7 + { 8 + params: null, 9 + input: { 10 + type: "lex", 11 + schema: /*#__PURE__*/ v.object({ 12 + /** 13 + * ID of the notification to update. 14 + */ 15 + id: /*#__PURE__*/ v.integer(), 16 + read: /*#__PURE__*/ v.boolean(), 17 + }), 18 + }, 19 + output: null, 20 + }, 21 + ); 22 + 23 + type main$schematype = typeof _mainSchema; 24 + 25 + export interface mainSchema extends main$schematype {} 26 + 27 + export const mainSchema = _mainSchema as mainSchema; 28 + 29 + export interface $params {} 30 + export interface $input extends v.InferXRPCBodyInput<mainSchema["input"]> {} 31 + 32 + declare module "@atcute/lexicons/ambient" { 33 + interface XRPCProcedures { 34 + "org.tangled.temp.notification.updateSeen": mainSchema; 35 + } 36 + }
+60
web/src/lib/api/lexicons/types/org/tangled/temp/repo/createWebhook.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 + "org.tangled.temp.repo.createWebhook", 7 + { 8 + params: null, 9 + input: { 10 + type: "lex", 11 + schema: /*#__PURE__*/ v.object({ 12 + /** 13 + * Whether the webhook should be active immediately. Defaults to true. 14 + */ 15 + active: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()), 16 + /** 17 + * Event types to subscribe to (e.g. 'push', 'repository:renamed'). 18 + */ 19 + events: /*#__PURE__*/ v.array(/*#__PURE__*/ v.string()), 20 + /** 21 + * DID of the repository as minted by the knot. 22 + */ 23 + repoDid: /*#__PURE__*/ v.didString(), 24 + /** 25 + * Optional HMAC secret used to sign payloads. If omitted, payloads are not signed. 26 + */ 27 + secret: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 28 + /** 29 + * Endpoint URL that will receive webhook payloads. 30 + */ 31 + url: /*#__PURE__*/ v.genericUriString(), 32 + }), 33 + }, 34 + output: { 35 + type: "lex", 36 + schema: /*#__PURE__*/ v.object({ 37 + /** 38 + * ID of the newly created webhook. 39 + */ 40 + id: /*#__PURE__*/ v.integer(), 41 + }), 42 + }, 43 + }, 44 + ); 45 + 46 + type main$schematype = typeof _mainSchema; 47 + 48 + export interface mainSchema extends main$schematype {} 49 + 50 + export const mainSchema = _mainSchema as mainSchema; 51 + 52 + export interface $params {} 53 + export interface $input extends v.InferXRPCBodyInput<mainSchema["input"]> {} 54 + export interface $output extends v.InferXRPCBodyInput<mainSchema["output"]> {} 55 + 56 + declare module "@atcute/lexicons/ambient" { 57 + interface XRPCProcedures { 58 + "org.tangled.temp.repo.createWebhook": mainSchema; 59 + } 60 + }
+39
web/src/lib/api/lexicons/types/org/tangled/temp/repo/deleteWebhook.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 + "org.tangled.temp.repo.deleteWebhook", 7 + { 8 + params: null, 9 + input: { 10 + type: "lex", 11 + schema: /*#__PURE__*/ v.object({ 12 + /** 13 + * Webhook ID to delete. 14 + */ 15 + id: /*#__PURE__*/ v.integer(), 16 + /** 17 + * DID of the repository as minted by the knot. 18 + */ 19 + repoDid: /*#__PURE__*/ v.didString(), 20 + }), 21 + }, 22 + output: null, 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 + 35 + declare module "@atcute/lexicons/ambient" { 36 + interface XRPCProcedures { 37 + "org.tangled.temp.repo.deleteWebhook": mainSchema; 38 + } 39 + }
+35
web/src/lib/api/lexicons/types/org/tangled/temp/repo/disableSite.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 + "org.tangled.temp.repo.disableSite", 7 + { 8 + params: null, 9 + input: { 10 + type: "lex", 11 + schema: /*#__PURE__*/ v.object({ 12 + /** 13 + * DID of the repository as minted by the knot. 14 + */ 15 + repoDid: /*#__PURE__*/ v.didString(), 16 + }), 17 + }, 18 + output: null, 19 + }, 20 + ); 21 + 22 + type main$schematype = typeof _mainSchema; 23 + 24 + export interface mainSchema extends main$schematype {} 25 + 26 + export const mainSchema = _mainSchema as mainSchema; 27 + 28 + export interface $params {} 29 + export interface $input extends v.InferXRPCBodyInput<mainSchema["input"]> {} 30 + 31 + declare module "@atcute/lexicons/ambient" { 32 + interface XRPCProcedures { 33 + "org.tangled.temp.repo.disableSite": mainSchema; 34 + } 35 + }
+63
web/src/lib/api/lexicons/types/org/tangled/temp/repo/getSiteConfig.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( 6 + "org.tangled.temp.repo.getSiteConfig", 7 + { 8 + params: /*#__PURE__*/ v.object({ 9 + /** 10 + * DID of the repository as minted by the knot. 11 + */ 12 + repoDid: /*#__PURE__*/ v.didString(), 13 + }), 14 + output: { 15 + type: "lex", 16 + schema: /*#__PURE__*/ v.object({ 17 + /** 18 + * Site config for the repository. Absent if no site is configured. 19 + */ 20 + get config() { 21 + return /*#__PURE__*/ v.optional(siteConfigSchema); 22 + }, 23 + }), 24 + }, 25 + }, 26 + ); 27 + const _siteConfigSchema = /*#__PURE__*/ v.object({ 28 + $type: /*#__PURE__*/ v.optional( 29 + /*#__PURE__*/ v.literal("org.tangled.temp.repo.getSiteConfig#siteConfig"), 30 + ), 31 + /** 32 + * Branch to deploy from. 33 + */ 34 + branch: /*#__PURE__*/ v.string(), 35 + /** 36 + * Directory within the repository to deploy (e.g. '/' or '/docs'). 37 + */ 38 + dir: /*#__PURE__*/ v.string(), 39 + /** 40 + * Whether this repo serves as the index (root) for the domain. 41 + */ 42 + isIndex: /*#__PURE__*/ v.boolean(), 43 + }); 44 + 45 + type main$schematype = typeof _mainSchema; 46 + type siteConfig$schematype = typeof _siteConfigSchema; 47 + 48 + export interface mainSchema extends main$schematype {} 49 + export interface siteConfigSchema extends siteConfig$schematype {} 50 + 51 + export const mainSchema = _mainSchema as mainSchema; 52 + export const siteConfigSchema = _siteConfigSchema as siteConfigSchema; 53 + 54 + export interface SiteConfig extends v.InferInput<typeof siteConfigSchema> {} 55 + 56 + export interface $params extends v.InferInput<mainSchema["params"]> {} 57 + export interface $output extends v.InferXRPCBodyInput<mainSchema["output"]> {} 58 + 59 + declare module "@atcute/lexicons/ambient" { 60 + interface XRPCQueries { 61 + "org.tangled.temp.repo.getSiteConfig": mainSchema; 62 + } 63 + }
+78
web/src/lib/api/lexicons/types/org/tangled/temp/repo/listWebhookDeliveries.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 _deliverySchema = /*#__PURE__*/ v.object({ 6 + $type: /*#__PURE__*/ v.optional( 7 + /*#__PURE__*/ v.literal( 8 + "org.tangled.temp.repo.listWebhookDeliveries#delivery", 9 + ), 10 + ), 11 + createdAt: /*#__PURE__*/ v.datetimeString(), 12 + /** 13 + * UUID for tracking this delivery attempt. 14 + */ 15 + deliveryId: /*#__PURE__*/ v.string(), 16 + /** 17 + * Event type that triggered the delivery. 18 + */ 19 + event: /*#__PURE__*/ v.string(), 20 + id: /*#__PURE__*/ v.integer(), 21 + requestBody: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 22 + responseBody: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 23 + responseCode: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.integer()), 24 + success: /*#__PURE__*/ v.boolean(), 25 + url: /*#__PURE__*/ v.genericUriString(), 26 + }); 27 + const _mainSchema = /*#__PURE__*/ v.query( 28 + "org.tangled.temp.repo.listWebhookDeliveries", 29 + { 30 + params: /*#__PURE__*/ v.object({ 31 + /** 32 + * Webhook ID. 33 + */ 34 + id: /*#__PURE__*/ v.integer(), 35 + /** 36 + * @minimum 1 37 + * @maximum 100 38 + */ 39 + limit: /*#__PURE__*/ v.optional( 40 + /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [ 41 + /*#__PURE__*/ v.integerRange(1, 100), 42 + ]), 43 + ), 44 + /** 45 + * DID of the repository as minted by the knot. 46 + */ 47 + repoDid: /*#__PURE__*/ v.didString(), 48 + }), 49 + output: { 50 + type: "lex", 51 + schema: /*#__PURE__*/ v.object({ 52 + get deliveries() { 53 + return /*#__PURE__*/ v.array(deliverySchema); 54 + }, 55 + }), 56 + }, 57 + }, 58 + ); 59 + 60 + type delivery$schematype = typeof _deliverySchema; 61 + type main$schematype = typeof _mainSchema; 62 + 63 + export interface deliverySchema extends delivery$schematype {} 64 + export interface mainSchema extends main$schematype {} 65 + 66 + export const deliverySchema = _deliverySchema as deliverySchema; 67 + export const mainSchema = _mainSchema as mainSchema; 68 + 69 + export interface Delivery extends v.InferInput<typeof deliverySchema> {} 70 + 71 + export interface $params extends v.InferInput<mainSchema["params"]> {} 72 + export interface $output extends v.InferXRPCBodyInput<mainSchema["output"]> {} 73 + 74 + declare module "@atcute/lexicons/ambient" { 75 + interface XRPCQueries { 76 + "org.tangled.temp.repo.listWebhookDeliveries": mainSchema; 77 + } 78 + }
+66
web/src/lib/api/lexicons/types/org/tangled/temp/repo/listWebhooks.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( 6 + "org.tangled.temp.repo.listWebhooks", 7 + { 8 + params: /*#__PURE__*/ v.object({ 9 + /** 10 + * DID of the repository as minted by the knot. 11 + */ 12 + repoDid: /*#__PURE__*/ v.didString(), 13 + }), 14 + output: { 15 + type: "lex", 16 + schema: /*#__PURE__*/ v.object({ 17 + get webhooks() { 18 + return /*#__PURE__*/ v.array(webhookSchema); 19 + }, 20 + }), 21 + }, 22 + }, 23 + ); 24 + const _webhookSchema = /*#__PURE__*/ v.object({ 25 + $type: /*#__PURE__*/ v.optional( 26 + /*#__PURE__*/ v.literal("org.tangled.temp.repo.listWebhooks#webhook"), 27 + ), 28 + /** 29 + * Whether the webhook is currently enabled. 30 + */ 31 + active: /*#__PURE__*/ v.boolean(), 32 + createdAt: /*#__PURE__*/ v.datetimeString(), 33 + /** 34 + * Event types this webhook is subscribed to (e.g. 'push', 'repository:renamed'). 35 + */ 36 + events: /*#__PURE__*/ v.array(/*#__PURE__*/ v.string()), 37 + /** 38 + * Webhook identifier. 39 + */ 40 + id: /*#__PURE__*/ v.integer(), 41 + updatedAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()), 42 + /** 43 + * Endpoint URL that receives webhook payloads. 44 + */ 45 + url: /*#__PURE__*/ v.genericUriString(), 46 + }); 47 + 48 + type main$schematype = typeof _mainSchema; 49 + type webhook$schematype = typeof _webhookSchema; 50 + 51 + export interface mainSchema extends main$schematype {} 52 + export interface webhookSchema extends webhook$schematype {} 53 + 54 + export const mainSchema = _mainSchema as mainSchema; 55 + export const webhookSchema = _webhookSchema as webhookSchema; 56 + 57 + export interface Webhook extends v.InferInput<typeof webhookSchema> {} 58 + 59 + export interface $params extends v.InferInput<mainSchema["params"]> {} 60 + export interface $output extends v.InferXRPCBodyInput<mainSchema["output"]> {} 61 + 62 + declare module "@atcute/lexicons/ambient" { 63 + interface XRPCQueries { 64 + "org.tangled.temp.repo.listWebhooks": mainSchema; 65 + } 66 + }
+43
web/src/lib/api/lexicons/types/org/tangled/temp/repo/retryWebhookDelivery.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 + "org.tangled.temp.repo.retryWebhookDelivery", 7 + { 8 + params: null, 9 + input: { 10 + type: "lex", 11 + schema: /*#__PURE__*/ v.object({ 12 + /** 13 + * UUID of the delivery to retry. 14 + */ 15 + deliveryId: /*#__PURE__*/ v.string(), 16 + /** 17 + * DID of the repository as minted by the knot. 18 + */ 19 + repoDid: /*#__PURE__*/ v.didString(), 20 + /** 21 + * Webhook ID that owns the delivery. 22 + */ 23 + webhookId: /*#__PURE__*/ v.integer(), 24 + }), 25 + }, 26 + output: null, 27 + }, 28 + ); 29 + 30 + type main$schematype = typeof _mainSchema; 31 + 32 + export interface mainSchema extends main$schematype {} 33 + 34 + export const mainSchema = _mainSchema as mainSchema; 35 + 36 + export interface $params {} 37 + export interface $input extends v.InferXRPCBodyInput<mainSchema["input"]> {} 38 + 39 + declare module "@atcute/lexicons/ambient" { 40 + interface XRPCProcedures { 41 + "org.tangled.temp.repo.retryWebhookDelivery": mainSchema; 42 + } 43 + }
+48
web/src/lib/api/lexicons/types/org/tangled/temp/repo/toggleWebhook.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 + "org.tangled.temp.repo.toggleWebhook", 7 + { 8 + params: null, 9 + input: { 10 + type: "lex", 11 + schema: /*#__PURE__*/ v.object({ 12 + /** 13 + * Webhook ID to toggle. 14 + */ 15 + id: /*#__PURE__*/ v.integer(), 16 + /** 17 + * DID of the repository as minted by the knot. 18 + */ 19 + repoDid: /*#__PURE__*/ v.didString(), 20 + }), 21 + }, 22 + output: { 23 + type: "lex", 24 + schema: /*#__PURE__*/ v.object({ 25 + /** 26 + * New active state of the webhook. 27 + */ 28 + active: /*#__PURE__*/ v.boolean(), 29 + }), 30 + }, 31 + }, 32 + ); 33 + 34 + type main$schematype = typeof _mainSchema; 35 + 36 + export interface mainSchema extends main$schematype {} 37 + 38 + export const mainSchema = _mainSchema as mainSchema; 39 + 40 + export interface $params {} 41 + export interface $input extends v.InferXRPCBodyInput<mainSchema["input"]> {} 42 + export interface $output extends v.InferXRPCBodyInput<mainSchema["output"]> {} 43 + 44 + declare module "@atcute/lexicons/ambient" { 45 + interface XRPCProcedures { 46 + "org.tangled.temp.repo.toggleWebhook": mainSchema; 47 + } 48 + }
+47
web/src/lib/api/lexicons/types/org/tangled/temp/repo/updateSiteConfig.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 + "org.tangled.temp.repo.updateSiteConfig", 7 + { 8 + params: null, 9 + input: { 10 + type: "lex", 11 + schema: /*#__PURE__*/ v.object({ 12 + /** 13 + * Branch to deploy from. 14 + */ 15 + branch: /*#__PURE__*/ v.string(), 16 + /** 17 + * Directory within the repository to deploy (e.g. '/' or '/docs'). 18 + */ 19 + dir: /*#__PURE__*/ v.string(), 20 + /** 21 + * Whether this repo should serve as the index (root) for the claimed domain. 22 + */ 23 + isIndex: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()), 24 + /** 25 + * DID of the repository as minted by the knot. 26 + */ 27 + repoDid: /*#__PURE__*/ v.didString(), 28 + }), 29 + }, 30 + output: null, 31 + }, 32 + ); 33 + 34 + type main$schematype = typeof _mainSchema; 35 + 36 + export interface mainSchema extends main$schematype {} 37 + 38 + export const mainSchema = _mainSchema as mainSchema; 39 + 40 + export interface $params {} 41 + export interface $input extends v.InferXRPCBodyInput<mainSchema["input"]> {} 42 + 43 + declare module "@atcute/lexicons/ambient" { 44 + interface XRPCProcedures { 45 + "org.tangled.temp.repo.updateSiteConfig": mainSchema; 46 + } 47 + }
+45
web/src/lib/api/lexicons/types/org/tangled/temp/repo/updateWebhook.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 + "org.tangled.temp.repo.updateWebhook", 7 + { 8 + params: null, 9 + input: { 10 + type: "lex", 11 + schema: /*#__PURE__*/ v.object({ 12 + active: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()), 13 + events: /*#__PURE__*/ v.optional( 14 + /*#__PURE__*/ v.array(/*#__PURE__*/ v.string()), 15 + ), 16 + /** 17 + * Webhook ID to update. 18 + */ 19 + id: /*#__PURE__*/ v.integer(), 20 + /** 21 + * DID of the repository as minted by the knot. 22 + */ 23 + repoDid: /*#__PURE__*/ v.didString(), 24 + secret: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 25 + url: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.genericUriString()), 26 + }), 27 + }, 28 + output: null, 29 + }, 30 + ); 31 + 32 + type main$schematype = typeof _mainSchema; 33 + 34 + export interface mainSchema extends main$schematype {} 35 + 36 + export const mainSchema = _mainSchema as mainSchema; 37 + 38 + export interface $params {} 39 + export interface $input extends v.InferXRPCBodyInput<mainSchema["input"]> {} 40 + 41 + declare module "@atcute/lexicons/ambient" { 42 + interface XRPCProcedures { 43 + "org.tangled.temp.repo.updateWebhook": mainSchema; 44 + } 45 + }
+122
web/src/lib/api/lexicons/types/org/tangled/temp/search/searchCode.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 _chunkSchema = /*#__PURE__*/ v.object({ 6 + $type: /*#__PURE__*/ v.optional( 7 + /*#__PURE__*/ v.literal("org.tangled.temp.search.searchCode#chunk"), 8 + ), 9 + /** 10 + * Source lines for this match chunk. 11 + */ 12 + content: /*#__PURE__*/ v.string(), 13 + /** 14 + * Byte-offset ranges within content that match the query. 15 + */ 16 + get highlights() { 17 + return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(highlightSchema)); 18 + }, 19 + /** 20 + * 1-based line number of the first line in content. 21 + */ 22 + lineStart: /*#__PURE__*/ v.integer(), 23 + }); 24 + const _fileResultSchema = /*#__PURE__*/ v.object({ 25 + $type: /*#__PURE__*/ v.optional( 26 + /*#__PURE__*/ v.literal("org.tangled.temp.search.searchCode#fileResult"), 27 + ), 28 + get chunks() { 29 + return /*#__PURE__*/ v.array(chunkSchema); 30 + }, 31 + /** 32 + * Detected programming language. 33 + */ 34 + language: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 35 + /** 36 + * File path relative to repository root. 37 + */ 38 + path: /*#__PURE__*/ v.string(), 39 + /** 40 + * DID of the repository as minted by the knot. 41 + */ 42 + repoDid: /*#__PURE__*/ v.didString(), 43 + }); 44 + const _highlightSchema = /*#__PURE__*/ v.object({ 45 + $type: /*#__PURE__*/ v.optional( 46 + /*#__PURE__*/ v.literal("org.tangled.temp.search.searchCode#highlight"), 47 + ), 48 + /** 49 + * End byte offset (exclusive) within the chunk content string. 50 + */ 51 + end: /*#__PURE__*/ v.integer(), 52 + /** 53 + * Start byte offset within the chunk content string. 54 + */ 55 + start: /*#__PURE__*/ v.integer(), 56 + }); 57 + const _mainSchema = /*#__PURE__*/ v.query( 58 + "org.tangled.temp.search.searchCode", 59 + { 60 + params: /*#__PURE__*/ v.object({ 61 + cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 62 + /** 63 + * Restrict search to a specific programming language (e.g. 'go', 'rust'). 64 + */ 65 + lang: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 66 + /** 67 + * @minimum 1 68 + * @maximum 100 69 + */ 70 + limit: /*#__PURE__*/ v.optional( 71 + /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [ 72 + /*#__PURE__*/ v.integerRange(1, 100), 73 + ]), 74 + ), 75 + /** 76 + * Search query string. 77 + */ 78 + q: /*#__PURE__*/ v.string(), 79 + /** 80 + * Restrict search to a specific repository, by its DID. 81 + */ 82 + repoDid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.didString()), 83 + }), 84 + output: { 85 + type: "lex", 86 + schema: /*#__PURE__*/ v.object({ 87 + cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 88 + get results() { 89 + return /*#__PURE__*/ v.array(fileResultSchema); 90 + }, 91 + }), 92 + }, 93 + }, 94 + ); 95 + 96 + type chunk$schematype = typeof _chunkSchema; 97 + type fileResult$schematype = typeof _fileResultSchema; 98 + type highlight$schematype = typeof _highlightSchema; 99 + type main$schematype = typeof _mainSchema; 100 + 101 + export interface chunkSchema extends chunk$schematype {} 102 + export interface fileResultSchema extends fileResult$schematype {} 103 + export interface highlightSchema extends highlight$schematype {} 104 + export interface mainSchema extends main$schematype {} 105 + 106 + export const chunkSchema = _chunkSchema as chunkSchema; 107 + export const fileResultSchema = _fileResultSchema as fileResultSchema; 108 + export const highlightSchema = _highlightSchema as highlightSchema; 109 + export const mainSchema = _mainSchema as mainSchema; 110 + 111 + export interface Chunk extends v.InferInput<typeof chunkSchema> {} 112 + export interface FileResult extends v.InferInput<typeof fileResultSchema> {} 113 + export interface Highlight extends v.InferInput<typeof highlightSchema> {} 114 + 115 + export interface $params extends v.InferInput<mainSchema["params"]> {} 116 + export interface $output extends v.InferXRPCBodyInput<mainSchema["output"]> {} 117 + 118 + declare module "@atcute/lexicons/ambient" { 119 + interface XRPCQueries { 120 + "org.tangled.temp.search.searchCode": mainSchema; 121 + } 122 + }
+35
web/src/lib/api/lexicons/types/org/tangled/temp/site/claimDomain.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 + "org.tangled.temp.site.claimDomain", 7 + { 8 + params: null, 9 + input: { 10 + type: "lex", 11 + schema: /*#__PURE__*/ v.object({ 12 + /** 13 + * Desired subdomain label (lowercase letters, digits, and hyphens; 4–63 characters). 14 + */ 15 + subdomain: /*#__PURE__*/ v.string(), 16 + }), 17 + }, 18 + output: null, 19 + }, 20 + ); 21 + 22 + type main$schematype = typeof _mainSchema; 23 + 24 + export interface mainSchema extends main$schematype {} 25 + 26 + export const mainSchema = _mainSchema as mainSchema; 27 + 28 + export interface $params {} 29 + export interface $input extends v.InferXRPCBodyInput<mainSchema["input"]> {} 30 + 31 + declare module "@atcute/lexicons/ambient" { 32 + interface XRPCProcedures { 33 + "org.tangled.temp.site.claimDomain": mainSchema; 34 + } 35 + }
+34
web/src/lib/api/lexicons/types/org/tangled/temp/site/getDomainClaim.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( 6 + "org.tangled.temp.site.getDomainClaim", 7 + { 8 + params: null, 9 + output: { 10 + type: "lex", 11 + schema: /*#__PURE__*/ v.object({ 12 + /** 13 + * The claimed domain (e.g. 'alice.sites.tangled.sh'). Absent if no active claim. 14 + */ 15 + domain: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 16 + }), 17 + }, 18 + }, 19 + ); 20 + 21 + type main$schematype = typeof _mainSchema; 22 + 23 + export interface mainSchema extends main$schematype {} 24 + 25 + export const mainSchema = _mainSchema as mainSchema; 26 + 27 + export interface $params {} 28 + export interface $output extends v.InferXRPCBodyInput<mainSchema["output"]> {} 29 + 30 + declare module "@atcute/lexicons/ambient" { 31 + interface XRPCQueries { 32 + "org.tangled.temp.site.getDomainClaim": mainSchema; 33 + } 34 + }
+35
web/src/lib/api/lexicons/types/org/tangled/temp/site/releaseDomain.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 + "org.tangled.temp.site.releaseDomain", 7 + { 8 + params: null, 9 + input: { 10 + type: "lex", 11 + schema: /*#__PURE__*/ v.object({ 12 + /** 13 + * Full domain to release (must match the user's active claim). 14 + */ 15 + domain: /*#__PURE__*/ v.string(), 16 + }), 17 + }, 18 + output: null, 19 + }, 20 + ); 21 + 22 + type main$schematype = typeof _mainSchema; 23 + 24 + export interface mainSchema extends main$schematype {} 25 + 26 + export const mainSchema = _mainSchema as mainSchema; 27 + 28 + export interface $params {} 29 + export interface $input extends v.InferXRPCBodyInput<mainSchema["input"]> {} 30 + 31 + declare module "@atcute/lexicons/ambient" { 32 + interface XRPCProcedures { 33 + "org.tangled.temp.site.releaseDomain": mainSchema; 34 + } 35 + }
+1 -1
web/src/lib/api/lexicons/types/sh/tangled/query/enrichResponse.ts
··· 7 7 /*#__PURE__*/ v.literal("sh.tangled.query.enrichResponse#linkDescriptor"), 8 8 ), 9 9 /** 10 - * Link source: collection whose records are linked, a colon, then an index-backed path (subject or .repo). 10 + * Collection whose records are linked, a colon, then an index-backed path (subject or .repo). 11 11 */ 12 12 source: /*#__PURE__*/ v.string(), 13 13 /**
+1 -1
web/src/lib/api/lexicons/types/sh/tangled/repo/countForks.ts
··· 5 5 const _mainSchema = /*#__PURE__*/ v.query("sh.tangled.repo.countForks", { 6 6 params: /*#__PURE__*/ v.object({ 7 7 /** 8 - * Repo DID to count forks of. Repos that never got a DID cannot be counted. 8 + * Repo DID to count forks of. 9 9 */ 10 10 subject: /*#__PURE__*/ v.didString(), 11 11 }),
+5 -1
web/src/lib/api/lexicons/types/sh/tangled/repo/create.ts
··· 22 22 /** 23 23 * Rkey of the repository record 24 24 */ 25 - rkey: /*#__PURE__*/ v.string(), 25 + rkey: /*#__PURE__*/ v.recordKeyString(), 26 26 /** 27 27 * A source URL to clone from, populate this when forking or importing a repository. 28 28 */ ··· 32 32 output: { 33 33 type: "lex", 34 34 schema: /*#__PURE__*/ v.object({ 35 + /** 36 + * Multibase-encoded public signing key the knot holds for this repository 37 + */ 38 + key: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 35 39 repoDid: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.didString()), 36 40 }), 37 41 },
+5 -1
web/src/lib/api/lexicons/types/sh/tangled/repo/delete.ts
··· 12 12 */ 13 13 did: /*#__PURE__*/ v.didString(), 14 14 /** 15 + * Admin-only. Delete even though the repository record still exists on the owner's PDS. 16 + */ 17 + force: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.boolean()), 18 + /** 15 19 * Name of the repository to delete 16 20 */ 17 21 name: /*#__PURE__*/ v.string(), 18 22 /** 19 23 * Rkey of the repository record 20 24 */ 21 - rkey: /*#__PURE__*/ v.string(), 25 + rkey: /*#__PURE__*/ v.recordKeyString(), 22 26 }), 23 27 }, 24 28 output: null,
+1 -1
web/src/lib/api/lexicons/types/sh/tangled/repo/getRepoByName.ts
··· 5 5 const _mainSchema = /*#__PURE__*/ v.query("sh.tangled.repo.getRepoByName", { 6 6 params: /*#__PURE__*/ v.object({ 7 7 /** 8 - * Name of the repo as it appears in its url. Repos without a name are reachable by their rkey. 8 + * Name of the repo as it appears in its url. 9 9 */ 10 10 name: /*#__PURE__*/ v.string(), 11 11 /**
+8
web/src/lib/api/lexicons/types/sh/tangled/repo/issue.ts
··· 6 6 /*#__PURE__*/ v.tidString(), 7 7 /*#__PURE__*/ v.object({ 8 8 $type: /*#__PURE__*/ v.literal("sh.tangled.repo.issue"), 9 + blobs: /*#__PURE__*/ v.optional( 10 + /*#__PURE__*/ v.array( 11 + /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.blob(), [ 12 + /*#__PURE__*/ v.blobSize(1000000), 13 + /*#__PURE__*/ v.blobAccept(["image/*"]), 14 + ]), 15 + ), 16 + ), 9 17 body: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 10 18 createdAt: /*#__PURE__*/ v.datetimeString(), 11 19 mentions: /*#__PURE__*/ v.optional(
+1 -1
web/src/lib/api/lexicons/types/sh/tangled/repo/languages.ts
··· 49 49 type: "lex", 50 50 schema: /*#__PURE__*/ v.object({ 51 51 get languages() { 52 - return /*#__PURE__*/ v.array(languageSchema); 52 + return /*#__PURE__*/ v.nullable(/*#__PURE__*/ v.array(languageSchema)); 53 53 }, 54 54 /** 55 55 * The git reference used
+8
web/src/lib/api/lexicons/types/sh/tangled/repo/pull.ts
··· 6 6 /*#__PURE__*/ v.tidString(), 7 7 /*#__PURE__*/ v.object({ 8 8 $type: /*#__PURE__*/ v.literal("sh.tangled.repo.pull"), 9 + blobs: /*#__PURE__*/ v.optional( 10 + /*#__PURE__*/ v.array( 11 + /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.blob(), [ 12 + /*#__PURE__*/ v.blobSize(1000000), 13 + /*#__PURE__*/ v.blobAccept(["image/*"]), 14 + ]), 15 + ), 16 + ), 9 17 body: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 10 18 createdAt: /*#__PURE__*/ v.datetimeString(), 11 19 dependentOn: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.resourceUriString()),