social bookmarking for atproto

[lexicons] generate new lexicon schemas

hexmani.ac a2fc4cba b8ddef88

verified
+16 -16
lexicons/lex.config.js
··· 8 8 import {defineLexiconConfig} from "@atcute/lex-cli"; 9 9 10 10 export default defineLexiconConfig({ 11 - files: ["../lexdocs/**/*.json"], 12 - outdir: "lib/lexicons", 13 - mappings: [ 14 - { 15 - nsid: ["com.atproto.*"], 16 - imports: (nsid) => { 17 - const specifier = nsid 18 - .slice("com.atproto.".length) 19 - .replaceAll(".", "/"); 20 - return { 21 - type: "namespace", 22 - from: `@atcute/atproto/types/${specifier}`, 23 - }; 24 - }, 25 - }, 26 - ], 11 + files: ["../lexdocs/**/*.json"], 12 + outdir: "lib/lexicons", 13 + mappings: [ 14 + { 15 + nsid: ["com.atproto.*"], 16 + imports: (nsid) => { 17 + const specifier = nsid 18 + .slice("com.atproto.".length) 19 + .replaceAll(".", "/"); 20 + return { 21 + type: "namespace", 22 + from: `@atcute/atproto/types/${specifier}`, 23 + }; 24 + }, 25 + }, 26 + ], 27 27 });
+10
lexicons/lib/lexicons/index.ts
··· 5 5 */ 6 6 7 7 export * as SocialClipprActorDefs from "./types/social/clippr/actor/defs.js"; 8 + export * as SocialClipprActorGetPreferences from "./types/social/clippr/actor/getPreferences.js"; 8 9 export * as SocialClipprActorGetProfile from "./types/social/clippr/actor/getProfile.js"; 9 10 export * as SocialClipprActorProfile from "./types/social/clippr/actor/profile.js"; 11 + export * as SocialClipprActorPutPreferences from "./types/social/clippr/actor/putPreferences.js"; 12 + export * as SocialClipprActorSearchClips from "./types/social/clippr/actor/searchClips.js"; 13 + export * as SocialClipprActorSearchProfiles from "./types/social/clippr/actor/searchProfiles.js"; 14 + export * as SocialClipprActorSearchTags from "./types/social/clippr/actor/searchTags.js"; 10 15 export * as SocialClipprFeedClip from "./types/social/clippr/feed/clip.js"; 16 + export * as SocialClipprFeedDefs from "./types/social/clippr/feed/defs.js"; 17 + export * as SocialClipprFeedGetClips from "./types/social/clippr/feed/getClips.js"; 18 + export * as SocialClipprFeedGetProfileClips from "./types/social/clippr/feed/getProfileClips.js"; 19 + export * as SocialClipprFeedGetProfileTags from "./types/social/clippr/feed/getProfileTags.js"; 20 + export * as SocialClipprFeedGetTagList from "./types/social/clippr/feed/getTagList.js"; 11 21 export * as SocialClipprFeedTag from "./types/social/clippr/feed/tag.js";
+20
lexicons/lib/lexicons/types/social/clippr/actor/defs.ts
··· 7 7 import type {} from "@atcute/lexicons"; 8 8 import * as v from "@atcute/lexicons/validations"; 9 9 10 + const _preferencesSchema = /*#__PURE__*/ v.array(() => { 11 + return /*#__PURE__*/ v.variant([publishingScopesPrefSchema]); 12 + }); 10 13 const _profileViewSchema = /*#__PURE__*/ v.object({ 11 14 $type: /*#__PURE__*/ v.optional( 12 15 /*#__PURE__*/ v.literal("social.clippr.actor.defs#profileView"), ··· 28 31 ), 29 32 handle: /*#__PURE__*/ v.handleString(), 30 33 }); 34 + const _publishingScopesPrefSchema = /*#__PURE__*/ v.object({ 35 + $type: /*#__PURE__*/ v.optional( 36 + /*#__PURE__*/ v.literal("social.clippr.actor.defs#publishingScopesPref"), 37 + ), 38 + defaultScope: /*#__PURE__*/ v.string<"public" | "unlisted" | (string & {})>(), 39 + }); 31 40 41 + type preferences$schematype = typeof _preferencesSchema; 32 42 type profileView$schematype = typeof _profileViewSchema; 43 + type publishingScopesPref$schematype = typeof _publishingScopesPrefSchema; 33 44 45 + export interface preferencesSchema extends preferences$schematype {} 34 46 export interface profileViewSchema extends profileView$schematype {} 47 + export interface publishingScopesPrefSchema 48 + extends publishingScopesPref$schematype {} 35 49 50 + export const preferencesSchema = _preferencesSchema as preferencesSchema; 36 51 export const profileViewSchema = _profileViewSchema as profileViewSchema; 52 + export const publishingScopesPrefSchema = 53 + _publishingScopesPrefSchema as publishingScopesPrefSchema; 37 54 55 + export interface Preferences extends v.InferInput<typeof preferencesSchema> {} 38 56 export interface ProfileView extends v.InferInput<typeof profileViewSchema> {} 57 + export interface PublishingScopesPref 58 + extends v.InferInput<typeof publishingScopesPrefSchema> {}
+40
lexicons/lib/lexicons/types/social/clippr/actor/getPreferences.ts
··· 1 + /* 2 + * clippr: a social bookmarking service for the AT Protocol 3 + * Copyright (c) 2025 clippr contributors. 4 + * SPDX-License-Identifier: AGPL-3.0-only 5 + */ 6 + 7 + import type {} from "@atcute/lexicons"; 8 + import * as v from "@atcute/lexicons/validations"; 9 + import type {} from "@atcute/lexicons/ambient"; 10 + import * as SocialClipprActorDefs from "./defs.js"; 11 + 12 + const _mainSchema = /*#__PURE__*/ v.query( 13 + "social.clippr.actor.getPreferences", 14 + { 15 + params: /*#__PURE__*/ v.object({}), 16 + output: { 17 + type: "lex", 18 + schema: /*#__PURE__*/ v.object({ 19 + get preferences() { 20 + return SocialClipprActorDefs.preferencesSchema; 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 + "social.clippr.actor.getPreferences": mainSchema; 39 + } 40 + }
+41
lexicons/lib/lexicons/types/social/clippr/actor/putPreferences.ts
··· 1 + /* 2 + * clippr: a social bookmarking service for the AT Protocol 3 + * Copyright (c) 2025 clippr contributors. 4 + * SPDX-License-Identifier: AGPL-3.0-only 5 + */ 6 + 7 + import type {} from "@atcute/lexicons"; 8 + import * as v from "@atcute/lexicons/validations"; 9 + import type {} from "@atcute/lexicons/ambient"; 10 + import * as SocialClipprActorDefs from "./defs.js"; 11 + 12 + const _mainSchema = /*#__PURE__*/ v.procedure( 13 + "social.clippr.actor.putPreferences", 14 + { 15 + params: null, 16 + input: { 17 + type: "lex", 18 + schema: /*#__PURE__*/ v.object({ 19 + get preferences() { 20 + return SocialClipprActorDefs.preferencesSchema; 21 + }, 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 + "social.clippr.actor.putPreferences": mainSchema; 40 + } 41 + }
+48
lexicons/lib/lexicons/types/social/clippr/actor/searchClips.ts
··· 1 + /* 2 + * clippr: a social bookmarking service for the AT Protocol 3 + * Copyright (c) 2025 clippr contributors. 4 + * SPDX-License-Identifier: AGPL-3.0-only 5 + */ 6 + 7 + import type {} from "@atcute/lexicons"; 8 + import * as v from "@atcute/lexicons/validations"; 9 + import type {} from "@atcute/lexicons/ambient"; 10 + import * as SocialClipprFeedDefs from "../feed/defs.js"; 11 + 12 + const _mainSchema = /*#__PURE__*/ v.query("social.clippr.actor.searchClips", { 13 + params: /*#__PURE__*/ v.object({ 14 + actor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.actorIdentifierString()), 15 + cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 16 + limit: /*#__PURE__*/ v.optional( 17 + /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [ 18 + /*#__PURE__*/ v.integerRange(1, 100), 19 + ]), 20 + 25, 21 + ), 22 + q: /*#__PURE__*/ v.string(), 23 + }), 24 + output: { 25 + type: "lex", 26 + schema: /*#__PURE__*/ v.object({ 27 + get clips() { 28 + return /*#__PURE__*/ v.array(SocialClipprFeedDefs.clipViewSchema); 29 + }, 30 + cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 31 + }), 32 + }, 33 + }); 34 + 35 + type main$schematype = typeof _mainSchema; 36 + 37 + export interface mainSchema extends main$schematype {} 38 + 39 + export const mainSchema = _mainSchema as mainSchema; 40 + 41 + export interface $params extends v.InferInput<mainSchema["params"]> {} 42 + export interface $output extends v.InferXRPCBodyInput<mainSchema["output"]> {} 43 + 44 + declare module "@atcute/lexicons/ambient" { 45 + interface XRPCQueries { 46 + "social.clippr.actor.searchClips": mainSchema; 47 + } 48 + }
+50
lexicons/lib/lexicons/types/social/clippr/actor/searchProfiles.ts
··· 1 + /* 2 + * clippr: a social bookmarking service for the AT Protocol 3 + * Copyright (c) 2025 clippr contributors. 4 + * SPDX-License-Identifier: AGPL-3.0-only 5 + */ 6 + 7 + import type {} from "@atcute/lexicons"; 8 + import * as v from "@atcute/lexicons/validations"; 9 + import type {} from "@atcute/lexicons/ambient"; 10 + import * as SocialClipprActorDefs from "./defs.js"; 11 + 12 + const _mainSchema = /*#__PURE__*/ v.query( 13 + "social.clippr.actor.searchProfiles", 14 + { 15 + params: /*#__PURE__*/ v.object({ 16 + cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 17 + limit: /*#__PURE__*/ v.optional( 18 + /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [ 19 + /*#__PURE__*/ v.integerRange(1, 100), 20 + ]), 21 + 25, 22 + ), 23 + q: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 24 + }), 25 + output: { 26 + type: "lex", 27 + schema: /*#__PURE__*/ v.object({ 28 + get actors() { 29 + return /*#__PURE__*/ v.array(SocialClipprActorDefs.profileViewSchema); 30 + }, 31 + cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 32 + }), 33 + }, 34 + }, 35 + ); 36 + 37 + type main$schematype = typeof _mainSchema; 38 + 39 + export interface mainSchema extends main$schematype {} 40 + 41 + export const mainSchema = _mainSchema as mainSchema; 42 + 43 + export interface $params extends v.InferInput<mainSchema["params"]> {} 44 + export interface $output extends v.InferXRPCBodyInput<mainSchema["output"]> {} 45 + 46 + declare module "@atcute/lexicons/ambient" { 47 + interface XRPCQueries { 48 + "social.clippr.actor.searchProfiles": mainSchema; 49 + } 50 + }
+48
lexicons/lib/lexicons/types/social/clippr/actor/searchTags.ts
··· 1 + /* 2 + * clippr: a social bookmarking service for the AT Protocol 3 + * Copyright (c) 2025 clippr contributors. 4 + * SPDX-License-Identifier: AGPL-3.0-only 5 + */ 6 + 7 + import type {} from "@atcute/lexicons"; 8 + import * as v from "@atcute/lexicons/validations"; 9 + import type {} from "@atcute/lexicons/ambient"; 10 + import * as SocialClipprFeedDefs from "../feed/defs.js"; 11 + 12 + const _mainSchema = /*#__PURE__*/ v.query("social.clippr.actor.searchTags", { 13 + params: /*#__PURE__*/ v.object({ 14 + actor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.actorIdentifierString()), 15 + cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 16 + limit: /*#__PURE__*/ v.optional( 17 + /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [ 18 + /*#__PURE__*/ v.integerRange(1, 100), 19 + ]), 20 + 25, 21 + ), 22 + q: /*#__PURE__*/ v.string(), 23 + }), 24 + output: { 25 + type: "lex", 26 + schema: /*#__PURE__*/ v.object({ 27 + cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 28 + get tags() { 29 + return /*#__PURE__*/ v.array(SocialClipprFeedDefs.tagViewSchema); 30 + }, 31 + }), 32 + }, 33 + }); 34 + 35 + type main$schematype = typeof _mainSchema; 36 + 37 + export interface mainSchema extends main$schematype {} 38 + 39 + export const mainSchema = _mainSchema as mainSchema; 40 + 41 + export interface $params extends v.InferInput<mainSchema["params"]> {} 42 + export interface $output extends v.InferXRPCBodyInput<mainSchema["output"]> {} 43 + 44 + declare module "@atcute/lexicons/ambient" { 45 + interface XRPCQueries { 46 + "social.clippr.actor.searchTags": mainSchema; 47 + } 48 + }
+46
lexicons/lib/lexicons/types/social/clippr/feed/defs.ts
··· 1 + /* 2 + * clippr: a social bookmarking service for the AT Protocol 3 + * Copyright (c) 2025 clippr contributors. 4 + * SPDX-License-Identifier: AGPL-3.0-only 5 + */ 6 + 7 + import type {} from "@atcute/lexicons"; 8 + import * as v from "@atcute/lexicons/validations"; 9 + import * as SocialClipprActorDefs from "../actor/defs.js"; 10 + 11 + const _clipViewSchema = /*#__PURE__*/ v.object({ 12 + $type: /*#__PURE__*/ v.optional( 13 + /*#__PURE__*/ v.literal("social.clippr.feed.defs#clipView"), 14 + ), 15 + get author() { 16 + return SocialClipprActorDefs.profileViewSchema; 17 + }, 18 + cid: /*#__PURE__*/ v.cidString(), 19 + indexedAt: /*#__PURE__*/ v.datetimeString(), 20 + record: /*#__PURE__*/ v.unknown(), 21 + uri: /*#__PURE__*/ v.resourceUriString(), 22 + }); 23 + const _tagViewSchema = /*#__PURE__*/ v.object({ 24 + $type: /*#__PURE__*/ v.optional( 25 + /*#__PURE__*/ v.literal("social.clippr.feed.defs#tagView"), 26 + ), 27 + get author() { 28 + return SocialClipprActorDefs.profileViewSchema; 29 + }, 30 + cid: /*#__PURE__*/ v.cidString(), 31 + indexedAt: /*#__PURE__*/ v.datetimeString(), 32 + record: /*#__PURE__*/ v.unknown(), 33 + uri: /*#__PURE__*/ v.resourceUriString(), 34 + }); 35 + 36 + type clipView$schematype = typeof _clipViewSchema; 37 + type tagView$schematype = typeof _tagViewSchema; 38 + 39 + export interface clipViewSchema extends clipView$schematype {} 40 + export interface tagViewSchema extends tagView$schematype {} 41 + 42 + export const clipViewSchema = _clipViewSchema as clipViewSchema; 43 + export const tagViewSchema = _tagViewSchema as tagViewSchema; 44 + 45 + export interface ClipView extends v.InferInput<typeof clipViewSchema> {} 46 + export interface TagView extends v.InferInput<typeof tagViewSchema> {}
+42
lexicons/lib/lexicons/types/social/clippr/feed/getClips.ts
··· 1 + /* 2 + * clippr: a social bookmarking service for the AT Protocol 3 + * Copyright (c) 2025 clippr contributors. 4 + * SPDX-License-Identifier: AGPL-3.0-only 5 + */ 6 + 7 + import type {} from "@atcute/lexicons"; 8 + import * as v from "@atcute/lexicons/validations"; 9 + import type {} from "@atcute/lexicons/ambient"; 10 + import * as SocialClipprFeedDefs from "./defs.js"; 11 + 12 + const _mainSchema = /*#__PURE__*/ v.query("social.clippr.feed.getClips", { 13 + params: /*#__PURE__*/ v.object({ 14 + uris: /*#__PURE__*/ v.constrain( 15 + /*#__PURE__*/ v.array(/*#__PURE__*/ v.resourceUriString()), 16 + [/*#__PURE__*/ v.arrayLength(1, 25)], 17 + ), 18 + }), 19 + output: { 20 + type: "lex", 21 + schema: /*#__PURE__*/ v.object({ 22 + get tags() { 23 + return /*#__PURE__*/ v.array(SocialClipprFeedDefs.tagViewSchema); 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 extends v.InferInput<mainSchema["params"]> {} 36 + export interface $output extends v.InferXRPCBodyInput<mainSchema["output"]> {} 37 + 38 + declare module "@atcute/lexicons/ambient" { 39 + interface XRPCQueries { 40 + "social.clippr.feed.getClips": mainSchema; 41 + } 42 + }
+56
lexicons/lib/lexicons/types/social/clippr/feed/getProfileClips.ts
··· 1 + /* 2 + * clippr: a social bookmarking service for the AT Protocol 3 + * Copyright (c) 2025 clippr contributors. 4 + * SPDX-License-Identifier: AGPL-3.0-only 5 + */ 6 + 7 + import type {} from "@atcute/lexicons"; 8 + import * as v from "@atcute/lexicons/validations"; 9 + import type {} from "@atcute/lexicons/ambient"; 10 + import * as SocialClipprFeedDefs from "./defs.js"; 11 + 12 + const _mainSchema = /*#__PURE__*/ v.query( 13 + "social.clippr.feed.getProfileClips", 14 + { 15 + params: /*#__PURE__*/ v.object({ 16 + actor: /*#__PURE__*/ v.actorIdentifierString(), 17 + cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 18 + filter: /*#__PURE__*/ v.optional( 19 + /*#__PURE__*/ v.string< 20 + "all_clips" | "tagged_clips" | "untagged_clips" | (string & {}) 21 + >(), 22 + "all_clips", 23 + ), 24 + limit: /*#__PURE__*/ v.optional( 25 + /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [ 26 + /*#__PURE__*/ v.integerRange(1, 100), 27 + ]), 28 + 50, 29 + ), 30 + }), 31 + output: { 32 + type: "lex", 33 + schema: /*#__PURE__*/ v.object({ 34 + cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 35 + get feed() { 36 + return /*#__PURE__*/ v.array(SocialClipprFeedDefs.clipViewSchema); 37 + }, 38 + }), 39 + }, 40 + }, 41 + ); 42 + 43 + type main$schematype = typeof _mainSchema; 44 + 45 + export interface mainSchema extends main$schematype {} 46 + 47 + export const mainSchema = _mainSchema as mainSchema; 48 + 49 + export interface $params extends v.InferInput<mainSchema["params"]> {} 50 + export interface $output extends v.InferXRPCBodyInput<mainSchema["output"]> {} 51 + 52 + declare module "@atcute/lexicons/ambient" { 53 + interface XRPCQueries { 54 + "social.clippr.feed.getProfileClips": mainSchema; 55 + } 56 + }
+47
lexicons/lib/lexicons/types/social/clippr/feed/getProfileTags.ts
··· 1 + /* 2 + * clippr: a social bookmarking service for the AT Protocol 3 + * Copyright (c) 2025 clippr contributors. 4 + * SPDX-License-Identifier: AGPL-3.0-only 5 + */ 6 + 7 + import type {} from "@atcute/lexicons"; 8 + import * as v from "@atcute/lexicons/validations"; 9 + import type {} from "@atcute/lexicons/ambient"; 10 + import * as SocialClipprFeedDefs from "./defs.js"; 11 + 12 + const _mainSchema = /*#__PURE__*/ v.query("social.clippr.feed.getProfileTags", { 13 + params: /*#__PURE__*/ v.object({ 14 + actor: /*#__PURE__*/ v.actorIdentifierString(), 15 + cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 16 + limit: /*#__PURE__*/ v.optional( 17 + /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [ 18 + /*#__PURE__*/ v.integerRange(1, 100), 19 + ]), 20 + 50, 21 + ), 22 + }), 23 + output: { 24 + type: "lex", 25 + schema: /*#__PURE__*/ v.object({ 26 + cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()), 27 + get feed() { 28 + return /*#__PURE__*/ v.array(SocialClipprFeedDefs.tagViewSchema); 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 extends v.InferInput<mainSchema["params"]> {} 41 + export interface $output extends v.InferXRPCBodyInput<mainSchema["output"]> {} 42 + 43 + declare module "@atcute/lexicons/ambient" { 44 + interface XRPCQueries { 45 + "social.clippr.feed.getProfileTags": mainSchema; 46 + } 47 + }
+39
lexicons/lib/lexicons/types/social/clippr/feed/getTagList.ts
··· 1 + /* 2 + * clippr: a social bookmarking service for the AT Protocol 3 + * Copyright (c) 2025 clippr contributors. 4 + * SPDX-License-Identifier: AGPL-3.0-only 5 + */ 6 + 7 + import type {} from "@atcute/lexicons"; 8 + import * as v from "@atcute/lexicons/validations"; 9 + import type {} from "@atcute/lexicons/ambient"; 10 + import * as SocialClipprFeedDefs from "./defs.js"; 11 + 12 + const _mainSchema = /*#__PURE__*/ v.query("social.clippr.feed.getTagList", { 13 + params: /*#__PURE__*/ v.object({ 14 + actor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.actorIdentifierString()), 15 + }), 16 + output: { 17 + type: "lex", 18 + schema: /*#__PURE__*/ v.object({ 19 + get tags() { 20 + return /*#__PURE__*/ v.array(SocialClipprFeedDefs.tagViewSchema); 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 extends v.InferInput<mainSchema["params"]> {} 33 + export interface $output extends v.InferXRPCBodyInput<mainSchema["output"]> {} 34 + 35 + declare module "@atcute/lexicons/ambient" { 36 + interface XRPCQueries { 37 + "social.clippr.feed.getTagList": mainSchema; 38 + } 39 + }
+6
lexicons/lib/lexicons/types/social/clippr/feed/tag.ts
··· 19 19 ]), 20 20 ), 21 21 createdAt: /*#__PURE__*/ v.datetimeString(), 22 + description: /*#__PURE__*/ v.optional( 23 + /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [ 24 + /*#__PURE__*/ v.stringLength(10, 50000), 25 + /*#__PURE__*/ v.stringGraphemes(1, 5000), 26 + ]), 27 + ), 22 28 name: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [ 23 29 /*#__PURE__*/ v.stringLength(10, 640), 24 30 /*#__PURE__*/ v.stringGraphemes(1, 64),
+1 -1
lexicons/package.json
··· 1 1 { 2 2 "type": "module", 3 3 "name": "@clipprjs/lexicons", 4 - "version": "0.1.4", 4 + "version": "1.0.0", 5 5 "description": "Clippr schema definitions", 6 6 "license": "AGPL-3.0-only", 7 7 "private": false,