@atcute/lexicon-community 1.1.0 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +12 -15
- package/README.md +24 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/lexicons/index.d.ts +1 -0
- package/dist/lexicons/index.d.ts.map +1 -0
- package/dist/lexicons/types/community/lexicon/bookmarks/bookmark.d.ts +4 -0
- package/dist/lexicons/types/community/lexicon/bookmarks/bookmark.d.ts.map +1 -0
- package/dist/lexicons/types/community/lexicon/bookmarks/bookmark.js +3 -0
- package/dist/lexicons/types/community/lexicon/bookmarks/bookmark.js.map +1 -1
- package/dist/lexicons/types/community/lexicon/bookmarks/getActorBookmarks.d.ts +6 -0
- package/dist/lexicons/types/community/lexicon/bookmarks/getActorBookmarks.d.ts.map +1 -0
- package/dist/lexicons/types/community/lexicon/bookmarks/getActorBookmarks.js +5 -0
- package/dist/lexicons/types/community/lexicon/bookmarks/getActorBookmarks.js.map +1 -1
- package/dist/lexicons/types/community/lexicon/calendar/event.d.ts +31 -0
- package/dist/lexicons/types/community/lexicon/calendar/event.d.ts.map +1 -0
- package/dist/lexicons/types/community/lexicon/calendar/event.js +30 -0
- package/dist/lexicons/types/community/lexicon/calendar/event.js.map +1 -1
- package/dist/lexicons/types/community/lexicon/calendar/rsvp.d.ts +4 -0
- package/dist/lexicons/types/community/lexicon/calendar/rsvp.d.ts.map +1 -0
- package/dist/lexicons/types/community/lexicon/calendar/rsvp.js +3 -0
- package/dist/lexicons/types/community/lexicon/calendar/rsvp.js.map +1 -1
- package/dist/lexicons/types/community/lexicon/interaction/like.d.ts +1 -0
- package/dist/lexicons/types/community/lexicon/interaction/like.d.ts.map +1 -0
- package/dist/lexicons/types/community/lexicon/location/address.d.ts +21 -0
- package/dist/lexicons/types/community/lexicon/location/address.d.ts.map +1 -0
- package/dist/lexicons/types/community/lexicon/location/address.js +20 -0
- package/dist/lexicons/types/community/lexicon/location/address.js.map +1 -1
- package/dist/lexicons/types/community/lexicon/location/fsq.d.ts +7 -0
- package/dist/lexicons/types/community/lexicon/location/fsq.d.ts.map +1 -0
- package/dist/lexicons/types/community/lexicon/location/fsq.js +6 -0
- package/dist/lexicons/types/community/lexicon/location/fsq.js.map +1 -1
- package/dist/lexicons/types/community/lexicon/location/geo.d.ts +4 -0
- package/dist/lexicons/types/community/lexicon/location/geo.d.ts.map +1 -0
- package/dist/lexicons/types/community/lexicon/location/geo.js +3 -0
- package/dist/lexicons/types/community/lexicon/location/geo.js.map +1 -1
- package/dist/lexicons/types/community/lexicon/location/hthree.d.ts +7 -0
- package/dist/lexicons/types/community/lexicon/location/hthree.d.ts.map +1 -0
- package/dist/lexicons/types/community/lexicon/location/hthree.js +6 -0
- package/dist/lexicons/types/community/lexicon/location/hthree.js.map +1 -1
- package/lib/lexicons/types/community/lexicon/bookmarks/bookmark.ts +3 -0
- package/lib/lexicons/types/community/lexicon/bookmarks/getActorBookmarks.ts +5 -0
- package/lib/lexicons/types/community/lexicon/calendar/event.ts +30 -0
- package/lib/lexicons/types/community/lexicon/calendar/rsvp.ts +3 -0
- package/lib/lexicons/types/community/lexicon/location/address.ts +20 -0
- package/lib/lexicons/types/community/lexicon/location/fsq.ts +6 -0
- package/lib/lexicons/types/community/lexicon/location/geo.ts +3 -0
- package/lib/lexicons/types/community/lexicon/location/hthree.ts +6 -0
- package/package.json +5 -5
package/LICENSE
CHANGED
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
3
|
-
in the Software without restriction, including without limitation the rights
|
|
4
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
5
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
6
|
-
furnished to do so, subject to the following conditions:
|
|
1
|
+
BSD Zero Clause License
|
|
7
2
|
|
|
8
|
-
|
|
9
|
-
copies or substantial portions of the Software.
|
|
3
|
+
Copyright (c) 2025 Mary
|
|
10
4
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
5
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
|
+
purpose with or without fee is hereby granted.
|
|
7
|
+
|
|
8
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
9
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
10
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
11
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
12
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
13
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
14
|
+
PERFORMANCE OF THIS SOFTWARE.
|
package/README.md
CHANGED
|
@@ -58,3 +58,27 @@ import type {} from '@atcute/lexicon-community';
|
|
|
58
58
|
```
|
|
59
59
|
|
|
60
60
|
now all the XRPC operations should be visible in the client
|
|
61
|
+
|
|
62
|
+
## with `@atcute/lex-cli`
|
|
63
|
+
|
|
64
|
+
when building your own lexicons that reference Lexicon Community types, configure lex-cli to import
|
|
65
|
+
from this package:
|
|
66
|
+
|
|
67
|
+
```ts
|
|
68
|
+
// file: lex.config.js
|
|
69
|
+
import { defineLexiconConfig } from '@atcute/lex-cli';
|
|
70
|
+
|
|
71
|
+
export default defineLexiconConfig({
|
|
72
|
+
files: ['lexicons/**/*.json'],
|
|
73
|
+
outdir: 'src/lexicons/',
|
|
74
|
+
mappings: [
|
|
75
|
+
{
|
|
76
|
+
nsid: ['community.lexicon.*'],
|
|
77
|
+
imports: (nsid) => {
|
|
78
|
+
const specifier = nsid.slice('community.lexicon.'.length).replaceAll('.', '/');
|
|
79
|
+
return { type: 'namespace', from: `@atcute/lexicon-community/types/${specifier}` };
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
],
|
|
83
|
+
});
|
|
84
|
+
```
|
package/dist/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
|
package/dist/lexicons/index.d.ts
CHANGED
|
@@ -7,3 +7,4 @@ export * as CommunityLexiconLocationAddress from './types/community/lexicon/loca
|
|
|
7
7
|
export * as CommunityLexiconLocationFsq from './types/community/lexicon/location/fsq.js';
|
|
8
8
|
export * as CommunityLexiconLocationGeo from './types/community/lexicon/location/geo.js';
|
|
9
9
|
export * as CommunityLexiconLocationHthree from './types/community/lexicon/location/hthree.js';
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/lexicons/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,iCAAiC,MAAM,iDAAiD,CAAC;AACrG,OAAO,KAAK,0CAA0C,MAAM,0DAA0D,CAAC;AACvH,OAAO,KAAK,6BAA6B,MAAM,6CAA6C,CAAC;AAC7F,OAAO,KAAK,4BAA4B,MAAM,4CAA4C,CAAC;AAC3F,OAAO,KAAK,+BAA+B,MAAM,+CAA+C,CAAC;AACjG,OAAO,KAAK,+BAA+B,MAAM,+CAA+C,CAAC;AACjG,OAAO,KAAK,2BAA2B,MAAM,2CAA2C,CAAC;AACzF,OAAO,KAAK,2BAA2B,MAAM,2CAA2C,CAAC;AACzF,OAAO,KAAK,8BAA8B,MAAM,8CAA8C,CAAC"}
|
|
@@ -3,6 +3,9 @@ declare const _mainSchema: v.RecordSchema<v.ObjectSchema<{
|
|
|
3
3
|
$type: v.LiteralSchema<"community.lexicon.bookmarks.bookmark">;
|
|
4
4
|
createdAt: v.FormattedStringSchema<"datetime">;
|
|
5
5
|
subject: v.FormattedStringSchema<"uri">;
|
|
6
|
+
/**
|
|
7
|
+
* Tags for content the bookmark may be related to, for example 'news' or 'funny videos'
|
|
8
|
+
*/
|
|
6
9
|
tags: v.OptionalSchema<v.ArraySchema<v.StringSchema<string>>, undefined>;
|
|
7
10
|
}>, v.FormattedStringSchema<"tid">>;
|
|
8
11
|
type main$schematype = typeof _mainSchema;
|
|
@@ -17,3 +20,4 @@ declare module '@atcute/lexicons/ambient' {
|
|
|
17
20
|
}
|
|
18
21
|
}
|
|
19
22
|
export {};
|
|
23
|
+
//# sourceMappingURL=bookmark.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bookmark.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/community/lexicon/bookmarks/bookmark.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,QAAA,MAAM,WAAW;;;;IAMf;;OAEG;;mCAGJ,CAAC;AAEF,KAAK,eAAe,GAAG,OAAO,WAAW,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,eAAO,MAAM,UAAU,EAAkB,UAAU,CAAC;AAEpD,MAAM,WAAW,IAAK,SAAQ,CAAC,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC;CAAG;AAEhE,OAAO,QAAQ,0BAA0B,CAAC;IACzC,UAAU,OAAO;QAChB,sCAAsC,EAAE,UAAU,CAAC;KACnD;CACD"}
|
|
@@ -5,6 +5,9 @@ const _mainSchema = /*#__PURE__*/ v.record(
|
|
|
5
5
|
$type: /*#__PURE__*/ v.literal('community.lexicon.bookmarks.bookmark'),
|
|
6
6
|
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
7
7
|
subject: /*#__PURE__*/ v.genericUriString(),
|
|
8
|
+
/**
|
|
9
|
+
* Tags for content the bookmark may be related to, for example 'news' or 'funny videos'
|
|
10
|
+
*/
|
|
8
11
|
tags: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(/*#__PURE__*/ v.string())),
|
|
9
12
|
}));
|
|
10
13
|
export const mainSchema = _mainSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookmark.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/community/lexicon/bookmarks/bookmark.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM;AACzC,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;AAC3B,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACtB,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,sCAAsC,CAAC;IACtE,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;IAC3C,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,gBAAgB,EAAE;IAC3C,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;CAC/E,CAAC,CACF,CAAC;AAMF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"bookmark.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/community/lexicon/bookmarks/bookmark.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM;AACzC,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;AAC3B,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACtB,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,sCAAsC,CAAC;IACtE,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;IAC3C,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,gBAAgB,EAAE;IAC3C;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;CAC/E,CAAC,CACF,CAAC;AAMF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -2,6 +2,11 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
2
2
|
import * as CommunityLexiconBookmarksBookmark from './bookmark.js';
|
|
3
3
|
declare const _mainSchema: v.XRPCQueryMetadata<v.ObjectSchema<{
|
|
4
4
|
cursor: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
5
|
+
/**
|
|
6
|
+
* @minimum 1
|
|
7
|
+
* @maximum 100
|
|
8
|
+
* @default 50
|
|
9
|
+
*/
|
|
5
10
|
limit: v.OptionalSchema<v.SchemaWithConstraint<v.IntegerSchema, readonly [v.IntegerRangeConstraint<1, 100>]>, 50>;
|
|
6
11
|
tags: v.OptionalSchema<v.ArraySchema<v.StringSchema<string>>, undefined>;
|
|
7
12
|
}>, {
|
|
@@ -25,3 +30,4 @@ declare module '@atcute/lexicons/ambient' {
|
|
|
25
30
|
}
|
|
26
31
|
}
|
|
27
32
|
export {};
|
|
33
|
+
//# sourceMappingURL=getActorBookmarks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getActorBookmarks.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/community/lexicon/bookmarks/getActorBookmarks.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,iCAAiC,MAAM,eAAe,CAAC;AAEnE,QAAA,MAAM,WAAW;;IAGf;;;;OAIG;;;;;;;;;mDAgBH,CAAC;AAEH,KAAK,eAAe,GAAG,OAAO,WAAW,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,eAAO,MAAM,UAAU,EAAkB,UAAU,CAAC;AAEpD,MAAM,WAAW,OAAQ,SAAQ,CAAC,CAAC,UAAU,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;CAAG;AACtE,MAAM,WAAW,OAAQ,SAAQ,CAAC,CAAC,kBAAkB,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;CAAG;AAE9E,OAAO,QAAQ,0BAA0B,CAAC;IACzC,UAAU,WAAW;QACpB,+CAA+C,EAAE,UAAU,CAAC;KAC5D;CACD"}
|
|
@@ -3,6 +3,11 @@ import * as CommunityLexiconBookmarksBookmark from './bookmark.js';
|
|
|
3
3
|
const _mainSchema = /*#__PURE__*/ v.query('community.lexicon.bookmarks.getActorBookmarks', {
|
|
4
4
|
params: /*#__PURE__*/ v.object({
|
|
5
5
|
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
6
|
+
/**
|
|
7
|
+
* @minimum 1
|
|
8
|
+
* @maximum 100
|
|
9
|
+
* @default 50
|
|
10
|
+
*/
|
|
6
11
|
limit: /*#__PURE__*/ v.optional(
|
|
7
12
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 100)]), 50),
|
|
8
13
|
tags: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(/*#__PURE__*/ v.string())),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getActorBookmarks.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/community/lexicon/bookmarks/getActorBookmarks.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,iCAAiC,MAAM,eAAe,CAAC;AAEnE,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,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E;IAC1F,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;QAC9B,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;QAC1D;;;;WAIG;QACH,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ;QAC9B,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,EAC5F,EAAE,CACF;QACD,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;KAC/E,CAAC;IACF,MAAM,EAAE;QACP,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;YAC9B,IAAI,SAAS;gBACZ,OAAO,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,iCAAiC,CAAC,UAAU,CAAC,CAAC;YAC5E,CAAC;YACD,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SAC1D,CAAC;KACF;CACD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -8,14 +8,41 @@ declare const _hybridSchema: v.LiteralSchema<"community.lexicon.calendar.event#h
|
|
|
8
8
|
declare const _inpersonSchema: v.LiteralSchema<"community.lexicon.calendar.event#inperson">;
|
|
9
9
|
declare const _mainSchema: v.RecordSchema<v.ObjectSchema<{
|
|
10
10
|
$type: v.LiteralSchema<"community.lexicon.calendar.event">;
|
|
11
|
+
/**
|
|
12
|
+
* Client-declared timestamp when the event was created.
|
|
13
|
+
*/
|
|
11
14
|
createdAt: v.FormattedStringSchema<"datetime">;
|
|
15
|
+
/**
|
|
16
|
+
* The description of the event.
|
|
17
|
+
*/
|
|
12
18
|
description: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
19
|
+
/**
|
|
20
|
+
* Client-declared timestamp when the event ends.
|
|
21
|
+
*/
|
|
13
22
|
endsAt: v.OptionalSchema<v.FormattedStringSchema<"datetime">, undefined>;
|
|
23
|
+
/**
|
|
24
|
+
* The locations where the event takes place.
|
|
25
|
+
*/
|
|
14
26
|
readonly locations: v.OptionalSchema<v.ArraySchema<v.VariantSchema<readonly [uriSchema, CommunityLexiconLocationAddress.mainSchema, CommunityLexiconLocationFsq.mainSchema, CommunityLexiconLocationGeo.mainSchema, CommunityLexiconLocationHthree.mainSchema], boolean>>, undefined>;
|
|
27
|
+
/**
|
|
28
|
+
* The attendance mode of the event.
|
|
29
|
+
*/
|
|
15
30
|
readonly mode: v.OptionalSchema<modeSchema, undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* The name of the event.
|
|
33
|
+
*/
|
|
16
34
|
name: v.StringSchema<string>;
|
|
35
|
+
/**
|
|
36
|
+
* Client-declared timestamp when the event starts.
|
|
37
|
+
*/
|
|
17
38
|
startsAt: v.OptionalSchema<v.FormattedStringSchema<"datetime">, undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* The status of the event.
|
|
41
|
+
*/
|
|
18
42
|
readonly status: v.OptionalSchema<statusSchema, undefined>;
|
|
43
|
+
/**
|
|
44
|
+
* URIs associated with the event.
|
|
45
|
+
*/
|
|
19
46
|
readonly uris: v.OptionalSchema<v.ArraySchema<uriSchema>, undefined>;
|
|
20
47
|
}>, v.FormattedStringSchema<"tid">>;
|
|
21
48
|
declare const _modeSchema: v.OptionalSchema<v.StringSchema<"community.lexicon.calendar.event#hybrid" | "community.lexicon.calendar.event#inperson" | (string & {}) | "community.lexicon.calendar.event#virtual">, "community.lexicon.calendar.event#inperson">;
|
|
@@ -26,6 +53,9 @@ declare const _scheduledSchema: v.LiteralSchema<"community.lexicon.calendar.even
|
|
|
26
53
|
declare const _statusSchema: v.OptionalSchema<v.StringSchema<"community.lexicon.calendar.event#cancelled" | (string & {}) | "community.lexicon.calendar.event#planned" | "community.lexicon.calendar.event#postponed" | "community.lexicon.calendar.event#rescheduled" | "community.lexicon.calendar.event#scheduled">, "community.lexicon.calendar.event#scheduled">;
|
|
27
54
|
declare const _uriSchema: v.ObjectSchema<{
|
|
28
55
|
$type: v.OptionalSchema<v.LiteralSchema<"community.lexicon.calendar.event#uri">, undefined>;
|
|
56
|
+
/**
|
|
57
|
+
* The display name of the URI.
|
|
58
|
+
*/
|
|
29
59
|
name: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
30
60
|
uri: v.FormattedStringSchema<"uri">;
|
|
31
61
|
}>;
|
|
@@ -98,3 +128,4 @@ declare module '@atcute/lexicons/ambient' {
|
|
|
98
128
|
}
|
|
99
129
|
}
|
|
100
130
|
export {};
|
|
131
|
+
//# sourceMappingURL=event.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/community/lexicon/calendar/event.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,+BAA+B,MAAM,wBAAwB,CAAC;AAC1E,OAAO,KAAK,2BAA2B,MAAM,oBAAoB,CAAC;AAClE,OAAO,KAAK,2BAA2B,MAAM,oBAAoB,CAAC;AAClE,OAAO,KAAK,8BAA8B,MAAM,uBAAuB,CAAC;AAExE,QAAA,MAAM,gBAAgB,+DAAwE,CAAC;AAC/F,QAAA,MAAM,aAAa,4DAAqE,CAAC;AACzF,QAAA,MAAM,eAAe,8DAAuE,CAAC;AAC7F,QAAA,MAAM,WAAW;;IAIf;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAcH;;OAEG;;IAIH;;OAEG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,OAAO,aAAa,CAAC,CAAC;AACzD,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAC7D,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,UAAU,CAAC,OAAO,iBAAiB,CAAC,CAAC;AACjE,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,UAAU,CAAC,OAAO,eAAe,CAAC,CAAC;AAC7D,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;AACvD,MAAM,WAAW,GAAI,SAAQ,CAAC,CAAC,UAAU,CAAC,OAAO,SAAS,CAAC;CAAG;AAC9D,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;AAEzD,OAAO,QAAQ,0BAA0B,CAAC;IACzC,UAAU,OAAO;QAChB,kCAAkC,EAAE,UAAU,CAAC;KAC/C;CACD"}
|
|
@@ -10,9 +10,21 @@ const _mainSchema = /*#__PURE__*/ v.record(
|
|
|
10
10
|
/*#__PURE__*/ v.tidString(),
|
|
11
11
|
/*#__PURE__*/ v.object({
|
|
12
12
|
$type: /*#__PURE__*/ v.literal('community.lexicon.calendar.event'),
|
|
13
|
+
/**
|
|
14
|
+
* Client-declared timestamp when the event was created.
|
|
15
|
+
*/
|
|
13
16
|
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
17
|
+
/**
|
|
18
|
+
* The description of the event.
|
|
19
|
+
*/
|
|
14
20
|
description: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
21
|
+
/**
|
|
22
|
+
* Client-declared timestamp when the event ends.
|
|
23
|
+
*/
|
|
15
24
|
endsAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
25
|
+
/**
|
|
26
|
+
* The locations where the event takes place.
|
|
27
|
+
*/
|
|
16
28
|
get locations() {
|
|
17
29
|
return /*#__PURE__*/ v.optional(
|
|
18
30
|
/*#__PURE__*/ v.array(
|
|
@@ -24,14 +36,29 @@ const _mainSchema = /*#__PURE__*/ v.record(
|
|
|
24
36
|
CommunityLexiconLocationHthree.mainSchema,
|
|
25
37
|
])));
|
|
26
38
|
},
|
|
39
|
+
/**
|
|
40
|
+
* The attendance mode of the event.
|
|
41
|
+
*/
|
|
27
42
|
get mode() {
|
|
28
43
|
return /*#__PURE__*/ v.optional(modeSchema);
|
|
29
44
|
},
|
|
45
|
+
/**
|
|
46
|
+
* The name of the event.
|
|
47
|
+
*/
|
|
30
48
|
name: /*#__PURE__*/ v.string(),
|
|
49
|
+
/**
|
|
50
|
+
* Client-declared timestamp when the event starts.
|
|
51
|
+
*/
|
|
31
52
|
startsAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
53
|
+
/**
|
|
54
|
+
* The status of the event.
|
|
55
|
+
*/
|
|
32
56
|
get status() {
|
|
33
57
|
return /*#__PURE__*/ v.optional(statusSchema);
|
|
34
58
|
},
|
|
59
|
+
/**
|
|
60
|
+
* URIs associated with the event.
|
|
61
|
+
*/
|
|
35
62
|
get uris() {
|
|
36
63
|
return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(uriSchema));
|
|
37
64
|
},
|
|
@@ -46,6 +73,9 @@ const _statusSchema = /*#__PURE__*/ v.optional(
|
|
|
46
73
|
/*#__PURE__*/ v.string(), 'community.lexicon.calendar.event#scheduled');
|
|
47
74
|
const _uriSchema = /*#__PURE__*/ v.object({
|
|
48
75
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('community.lexicon.calendar.event#uri')),
|
|
76
|
+
/**
|
|
77
|
+
* The display name of the URI.
|
|
78
|
+
*/
|
|
49
79
|
name: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
50
80
|
uri: /*#__PURE__*/ v.genericUriString(),
|
|
51
81
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.js","sourceRoot":"","sources":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AC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACxD,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,gBAAgB,EAAE;CACvC,CAAC,CAAC;AACH,MAAM,cAAc,GAAG,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,0CAA0C,CAAC,CAAC;AA4B3F,MAAM,CAAC,MAAM,eAAe,GAAG,gBAAmC,CAAC;AACnE,MAAM,CAAC,MAAM,YAAY,GAAG,aAA6B,CAAC;AAC1D,MAAM,CAAC,MAAM,cAAc,GAAG,eAAiC,CAAC;AAChE,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC;AACpD,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC;AACpD,MAAM,CAAC,MAAM,aAAa,GAAG,cAA+B,CAAC;AAC7D,MAAM,CAAC,MAAM,eAAe,GAAG,gBAAmC,CAAC;AACnE,MAAM,CAAC,MAAM,iBAAiB,GAAG,kBAAuC,CAAC;AACzE,MAAM,CAAC,MAAM,eAAe,GAAG,gBAAmC,CAAC;AACnE,MAAM,CAAC,MAAM,YAAY,GAAG,aAA6B,CAAC;AAC1D,MAAM,CAAC,MAAM,SAAS,GAAG,UAAuB,CAAC;AACjD,MAAM,CAAC,MAAM,aAAa,GAAG,cAA+B,CAAC"}
|
|
@@ -4,6 +4,9 @@ declare const _goingSchema: v.LiteralSchema<"community.lexicon.calendar.rsvp#goi
|
|
|
4
4
|
declare const _interestedSchema: v.LiteralSchema<"community.lexicon.calendar.rsvp#interested">;
|
|
5
5
|
declare const _mainSchema: v.RecordSchema<v.ObjectSchema<{
|
|
6
6
|
$type: v.LiteralSchema<"community.lexicon.calendar.rsvp">;
|
|
7
|
+
/**
|
|
8
|
+
* @default "community.lexicon.calendar.rsvp#going"
|
|
9
|
+
*/
|
|
7
10
|
status: v.OptionalSchema<v.StringSchema<(string & {}) | "community.lexicon.calendar.rsvp#going" | "community.lexicon.calendar.rsvp#interested" | "community.lexicon.calendar.rsvp#notgoing">, "community.lexicon.calendar.rsvp#going">;
|
|
8
11
|
readonly subject: ComAtprotoRepoStrongRef.mainSchema;
|
|
9
12
|
}>, v.FormattedStringSchema<"tid">>;
|
|
@@ -35,3 +38,4 @@ declare module '@atcute/lexicons/ambient' {
|
|
|
35
38
|
}
|
|
36
39
|
}
|
|
37
40
|
export {};
|
|
41
|
+
//# sourceMappingURL=rsvp.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rsvp.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/community/lexicon/calendar/rsvp.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,uBAAuB,MAAM,sCAAsC,CAAC;AAEhF,QAAA,MAAM,YAAY,0DAAmE,CAAC;AACtF,QAAA,MAAM,iBAAiB,+DAAwE,CAAC;AAChG,QAAA,MAAM,WAAW;;IAIf;;OAEG;;;mCAcJ,CAAC;AACF,QAAA,MAAM,eAAe,6DAAsE,CAAC;AAE5F,KAAK,gBAAgB,GAAG,OAAO,YAAY,CAAC;AAC5C,KAAK,qBAAqB,GAAG,OAAO,iBAAiB,CAAC;AACtD,KAAK,eAAe,GAAG,OAAO,WAAW,CAAC;AAC1C,KAAK,mBAAmB,GAAG,OAAO,eAAe,CAAC;AAElD,MAAM,WAAW,WAAY,SAAQ,gBAAgB;CAAG;AACxD,MAAM,WAAW,gBAAiB,SAAQ,qBAAqB;CAAG;AAClE,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AACtD,MAAM,WAAW,cAAe,SAAQ,mBAAmB;CAAG;AAE9D,eAAO,MAAM,WAAW,EAAmB,WAAW,CAAC;AACvD,eAAO,MAAM,gBAAgB,EAAwB,gBAAgB,CAAC;AACtE,eAAO,MAAM,UAAU,EAAkB,UAAU,CAAC;AACpD,eAAO,MAAM,cAAc,EAAsB,cAAc,CAAC;AAEhE,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AACrD,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC/D,MAAM,WAAW,IAAK,SAAQ,CAAC,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC;CAAG;AAChE,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAE3D,OAAO,QAAQ,0BAA0B,CAAC;IACzC,UAAU,OAAO;QAChB,iCAAiC,EAAE,UAAU,CAAC;KAC9C;CACD"}
|
|
@@ -6,6 +6,9 @@ const _mainSchema = /*#__PURE__*/ v.record(
|
|
|
6
6
|
/*#__PURE__*/ v.tidString(),
|
|
7
7
|
/*#__PURE__*/ v.object({
|
|
8
8
|
$type: /*#__PURE__*/ v.literal('community.lexicon.calendar.rsvp'),
|
|
9
|
+
/**
|
|
10
|
+
* @default "community.lexicon.calendar.rsvp#going"
|
|
11
|
+
*/
|
|
9
12
|
status: /*#__PURE__*/ v.optional(
|
|
10
13
|
/*#__PURE__*/ v.string(), 'community.lexicon.calendar.rsvp#going'),
|
|
11
14
|
get subject() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rsvp.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/community/lexicon/calendar/rsvp.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,uBAAuB,MAAM,sCAAsC,CAAC;AAEhF,MAAM,YAAY,GAAG,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,uCAAuC,CAAC,CAAC;AACtF,MAAM,iBAAiB,GAAG,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,4CAA4C,CAAC,CAAC;AAChG,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM;AACzC,aAAa,CAAC,CAAC,CAAC,SAAS,EAAE;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B,aAAa,CAAC,CAAC,CAAC,MAAM,EAKnB,EACH,uCAAuC,CACvC;IACD,IAAI,OAAO;QACV,OAAO,uBAAuB,CAAC,UAAU,CAAC;IAC3C,CAAC;CACD,CAAC,CACF,CAAC;AACF,MAAM,eAAe,GAAG,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,0CAA0C,CAAC,CAAC;AAY5F,MAAM,CAAC,MAAM,WAAW,GAAG,YAA2B,CAAC;AACvD,MAAM,CAAC,MAAM,gBAAgB,GAAG,iBAAqC,CAAC;AACtE,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC;AACpD,MAAM,CAAC,MAAM,cAAc,GAAG,eAAiC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"like.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/community/lexicon/interaction/like.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,uBAAuB,MAAM,sCAAsC,CAAC;AAEhF,QAAA,MAAM,WAAW;;;;mCAShB,CAAC;AAEF,KAAK,eAAe,GAAG,OAAO,WAAW,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,eAAO,MAAM,UAAU,EAAkB,UAAU,CAAC;AAEpD,MAAM,WAAW,IAAK,SAAQ,CAAC,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC;CAAG;AAEhE,OAAO,QAAQ,0BAA0B,CAAC;IACzC,UAAU,OAAO;QAChB,oCAAoC,EAAE,UAAU,CAAC;KACjD;CACD"}
|
|
@@ -1,11 +1,31 @@
|
|
|
1
1
|
import * as v from '@atcute/lexicons/validations';
|
|
2
2
|
declare const _mainSchema: v.ObjectSchema<{
|
|
3
3
|
$type: v.OptionalSchema<v.LiteralSchema<"community.lexicon.location.address">, undefined>;
|
|
4
|
+
/**
|
|
5
|
+
* The ISO 3166 country code. Preferably the 2-letter code.
|
|
6
|
+
* @minLength 2
|
|
7
|
+
* @maxLength 10
|
|
8
|
+
*/
|
|
4
9
|
country: v.SchemaWithConstraint<v.StringSchema<string>, readonly [v.StringLengthConstraint<2, 10>]>;
|
|
10
|
+
/**
|
|
11
|
+
* The locality of the region. For example, a city in the USA.
|
|
12
|
+
*/
|
|
5
13
|
locality: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
14
|
+
/**
|
|
15
|
+
* The name of the location.
|
|
16
|
+
*/
|
|
6
17
|
name: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* The postal code of the location.
|
|
20
|
+
*/
|
|
7
21
|
postalCode: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
22
|
+
/**
|
|
23
|
+
* The administrative region of the country. For example, a state in the USA.
|
|
24
|
+
*/
|
|
8
25
|
region: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* The street address.
|
|
28
|
+
*/
|
|
9
29
|
street: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
10
30
|
}>;
|
|
11
31
|
type main$schematype = typeof _mainSchema;
|
|
@@ -15,3 +35,4 @@ export declare const mainSchema: mainSchema;
|
|
|
15
35
|
export interface Main extends v.InferInput<typeof mainSchema> {
|
|
16
36
|
}
|
|
17
37
|
export {};
|
|
38
|
+
//# sourceMappingURL=address.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"address.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/community/lexicon/location/address.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,QAAA,MAAM,WAAW;;IAEhB;;;;OAIG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;EAEF,CAAC;AAEH,KAAK,eAAe,GAAG,OAAO,WAAW,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,eAAO,MAAM,UAAU,EAAkB,UAAU,CAAC;AAEpD,MAAM,WAAW,IAAK,SAAQ,CAAC,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC;CAAG"}
|
|
@@ -1,11 +1,31 @@
|
|
|
1
1
|
import * as v from '@atcute/lexicons/validations';
|
|
2
2
|
const _mainSchema = /*#__PURE__*/ v.object({
|
|
3
3
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('community.lexicon.location.address')),
|
|
4
|
+
/**
|
|
5
|
+
* The ISO 3166 country code. Preferably the 2-letter code.
|
|
6
|
+
* @minLength 2
|
|
7
|
+
* @maxLength 10
|
|
8
|
+
*/
|
|
4
9
|
country: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(2, 10)]),
|
|
10
|
+
/**
|
|
11
|
+
* The locality of the region. For example, a city in the USA.
|
|
12
|
+
*/
|
|
5
13
|
locality: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
14
|
+
/**
|
|
15
|
+
* The name of the location.
|
|
16
|
+
*/
|
|
6
17
|
name: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
18
|
+
/**
|
|
19
|
+
* The postal code of the location.
|
|
20
|
+
*/
|
|
7
21
|
postalCode: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
22
|
+
/**
|
|
23
|
+
* The administrative region of the country. For example, a state in the USA.
|
|
24
|
+
*/
|
|
8
25
|
region: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
26
|
+
/**
|
|
27
|
+
* The street address.
|
|
28
|
+
*/
|
|
9
29
|
street: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
10
30
|
});
|
|
11
31
|
export const mainSchema = _mainSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"address.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/community/lexicon/location/address.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC1C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,oCAAoC,CAAC,CAAC;IAC9F,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;IACnG,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC5D,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACxD,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC9D,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC1D,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC1D,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"address.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/community/lexicon/location/address.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC1C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,oCAAoC,CAAC,CAAC;IAC9F;;;;OAIG;IACH,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;IACnG;;OAEG;IACH,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC5D;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACxD;;OAEG;IACH,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC9D;;OAEG;IACH,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC1D;;OAEG;IACH,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CAC1D,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import * as v from '@atcute/lexicons/validations';
|
|
2
2
|
declare const _mainSchema: v.ObjectSchema<{
|
|
3
3
|
$type: v.OptionalSchema<v.LiteralSchema<"community.lexicon.location.fsq">, undefined>;
|
|
4
|
+
/**
|
|
5
|
+
* The unique identifier of a Foursquare POI.
|
|
6
|
+
*/
|
|
4
7
|
fsq_place_id: v.StringSchema<string>;
|
|
5
8
|
latitude: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
6
9
|
longitude: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
10
|
+
/**
|
|
11
|
+
* The name of the location.
|
|
12
|
+
*/
|
|
7
13
|
name: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
8
14
|
}>;
|
|
9
15
|
type main$schematype = typeof _mainSchema;
|
|
@@ -13,3 +19,4 @@ export declare const mainSchema: mainSchema;
|
|
|
13
19
|
export interface Main extends v.InferInput<typeof mainSchema> {
|
|
14
20
|
}
|
|
15
21
|
export {};
|
|
22
|
+
//# sourceMappingURL=fsq.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fsq.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/community/lexicon/location/fsq.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,QAAA,MAAM,WAAW;;IAEhB;;OAEG;;;;IAIH;;OAEG;;EAEF,CAAC;AAEH,KAAK,eAAe,GAAG,OAAO,WAAW,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,eAAO,MAAM,UAAU,EAAkB,UAAU,CAAC;AAEpD,MAAM,WAAW,IAAK,SAAQ,CAAC,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC;CAAG"}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import * as v from '@atcute/lexicons/validations';
|
|
2
2
|
const _mainSchema = /*#__PURE__*/ v.object({
|
|
3
3
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('community.lexicon.location.fsq')),
|
|
4
|
+
/**
|
|
5
|
+
* The unique identifier of a Foursquare POI.
|
|
6
|
+
*/
|
|
4
7
|
fsq_place_id: /*#__PURE__*/ v.string(),
|
|
5
8
|
latitude: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
6
9
|
longitude: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
10
|
+
/**
|
|
11
|
+
* The name of the location.
|
|
12
|
+
*/
|
|
7
13
|
name: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
8
14
|
});
|
|
9
15
|
export const mainSchema = _mainSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fsq.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/community/lexicon/location/fsq.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC1C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,gCAAgC,CAAC,CAAC;IAC1F,YAAY,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IACtC,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC5D,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC7D,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CACxD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"fsq.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/community/lexicon/location/fsq.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC1C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,gCAAgC,CAAC,CAAC;IAC1F;;OAEG;IACH,YAAY,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IACtC,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC5D,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC7D;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CACxD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -4,6 +4,9 @@ declare const _mainSchema: v.ObjectSchema<{
|
|
|
4
4
|
altitude: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
5
5
|
latitude: v.StringSchema<string>;
|
|
6
6
|
longitude: v.StringSchema<string>;
|
|
7
|
+
/**
|
|
8
|
+
* The name of the location.
|
|
9
|
+
*/
|
|
7
10
|
name: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
8
11
|
}>;
|
|
9
12
|
type main$schematype = typeof _mainSchema;
|
|
@@ -13,3 +16,4 @@ export declare const mainSchema: mainSchema;
|
|
|
13
16
|
export interface Main extends v.InferInput<typeof mainSchema> {
|
|
14
17
|
}
|
|
15
18
|
export {};
|
|
19
|
+
//# sourceMappingURL=geo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"geo.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/community/lexicon/location/geo.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,QAAA,MAAM,WAAW;;;;;IAKhB;;OAEG;;EAEF,CAAC;AAEH,KAAK,eAAe,GAAG,OAAO,WAAW,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,eAAO,MAAM,UAAU,EAAkB,UAAU,CAAC;AAEpD,MAAM,WAAW,IAAK,SAAQ,CAAC,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC;CAAG"}
|
|
@@ -4,6 +4,9 @@ const _mainSchema = /*#__PURE__*/ v.object({
|
|
|
4
4
|
altitude: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
5
5
|
latitude: /*#__PURE__*/ v.string(),
|
|
6
6
|
longitude: /*#__PURE__*/ v.string(),
|
|
7
|
+
/**
|
|
8
|
+
* The name of the location.
|
|
9
|
+
*/
|
|
7
10
|
name: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
8
11
|
});
|
|
9
12
|
export const mainSchema = _mainSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geo.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/community/lexicon/location/geo.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC1C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,gCAAgC,CAAC,CAAC;IAC1F,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC5D,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAClC,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IACnC,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CACxD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"geo.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/community/lexicon/location/geo.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC1C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,gCAAgC,CAAC,CAAC;IAC1F,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAC5D,QAAQ,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IAClC,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;IACnC;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CACxD,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import * as v from '@atcute/lexicons/validations';
|
|
2
2
|
declare const _mainSchema: v.ObjectSchema<{
|
|
3
3
|
$type: v.OptionalSchema<v.LiteralSchema<"community.lexicon.location.hthree">, undefined>;
|
|
4
|
+
/**
|
|
5
|
+
* The name of the location.
|
|
6
|
+
*/
|
|
4
7
|
name: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
8
|
+
/**
|
|
9
|
+
* The h3 encoded location.
|
|
10
|
+
*/
|
|
5
11
|
value: v.StringSchema<string>;
|
|
6
12
|
}>;
|
|
7
13
|
type main$schematype = typeof _mainSchema;
|
|
@@ -11,3 +17,4 @@ export declare const mainSchema: mainSchema;
|
|
|
11
17
|
export interface Main extends v.InferInput<typeof mainSchema> {
|
|
12
18
|
}
|
|
13
19
|
export {};
|
|
20
|
+
//# sourceMappingURL=hthree.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hthree.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/community/lexicon/location/hthree.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,QAAA,MAAM,WAAW;;IAEhB;;OAEG;;IAEH;;OAEG;;EAEF,CAAC;AAEH,KAAK,eAAe,GAAG,OAAO,WAAW,CAAC;AAE1C,MAAM,WAAW,UAAW,SAAQ,eAAe;CAAG;AAEtD,eAAO,MAAM,UAAU,EAAkB,UAAU,CAAC;AAEpD,MAAM,WAAW,IAAK,SAAQ,CAAC,CAAC,UAAU,CAAC,OAAO,UAAU,CAAC;CAAG"}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import * as v from '@atcute/lexicons/validations';
|
|
2
2
|
const _mainSchema = /*#__PURE__*/ v.object({
|
|
3
3
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('community.lexicon.location.hthree')),
|
|
4
|
+
/**
|
|
5
|
+
* The name of the location.
|
|
6
|
+
*/
|
|
4
7
|
name: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
8
|
+
/**
|
|
9
|
+
* The h3 encoded location.
|
|
10
|
+
*/
|
|
5
11
|
value: /*#__PURE__*/ v.string(),
|
|
6
12
|
});
|
|
7
13
|
export const mainSchema = _mainSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hthree.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/community/lexicon/location/hthree.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC1C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,mCAAmC,CAAC,CAAC;IAC7F,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACxD,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;CAC/B,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"hthree.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/community/lexicon/location/hthree.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IAC1C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,mCAAmC,CAAC,CAAC;IAC7F;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACxD;;OAEG;IACH,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;CAC/B,CAAC,CAAC;AAMH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -8,6 +8,9 @@ const _mainSchema = /*#__PURE__*/ v.record(
|
|
|
8
8
|
$type: /*#__PURE__*/ v.literal('community.lexicon.bookmarks.bookmark'),
|
|
9
9
|
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
10
10
|
subject: /*#__PURE__*/ v.genericUriString(),
|
|
11
|
+
/**
|
|
12
|
+
* Tags for content the bookmark may be related to, for example 'news' or 'funny videos'
|
|
13
|
+
*/
|
|
11
14
|
tags: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(/*#__PURE__*/ v.string())),
|
|
12
15
|
}),
|
|
13
16
|
);
|
|
@@ -6,6 +6,11 @@ import * as CommunityLexiconBookmarksBookmark from './bookmark.js';
|
|
|
6
6
|
const _mainSchema = /*#__PURE__*/ v.query('community.lexicon.bookmarks.getActorBookmarks', {
|
|
7
7
|
params: /*#__PURE__*/ v.object({
|
|
8
8
|
cursor: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
9
|
+
/**
|
|
10
|
+
* @minimum 1
|
|
11
|
+
* @maximum 100
|
|
12
|
+
* @default 50
|
|
13
|
+
*/
|
|
9
14
|
limit: /*#__PURE__*/ v.optional(
|
|
10
15
|
/*#__PURE__*/ v.constrain(/*#__PURE__*/ v.integer(), [/*#__PURE__*/ v.integerRange(1, 100)]),
|
|
11
16
|
50,
|
|
@@ -13,9 +13,21 @@ const _mainSchema = /*#__PURE__*/ v.record(
|
|
|
13
13
|
/*#__PURE__*/ v.tidString(),
|
|
14
14
|
/*#__PURE__*/ v.object({
|
|
15
15
|
$type: /*#__PURE__*/ v.literal('community.lexicon.calendar.event'),
|
|
16
|
+
/**
|
|
17
|
+
* Client-declared timestamp when the event was created.
|
|
18
|
+
*/
|
|
16
19
|
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
20
|
+
/**
|
|
21
|
+
* The description of the event.
|
|
22
|
+
*/
|
|
17
23
|
description: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
24
|
+
/**
|
|
25
|
+
* Client-declared timestamp when the event ends.
|
|
26
|
+
*/
|
|
18
27
|
endsAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
28
|
+
/**
|
|
29
|
+
* The locations where the event takes place.
|
|
30
|
+
*/
|
|
19
31
|
get locations() {
|
|
20
32
|
return /*#__PURE__*/ v.optional(
|
|
21
33
|
/*#__PURE__*/ v.array(
|
|
@@ -29,14 +41,29 @@ const _mainSchema = /*#__PURE__*/ v.record(
|
|
|
29
41
|
),
|
|
30
42
|
);
|
|
31
43
|
},
|
|
44
|
+
/**
|
|
45
|
+
* The attendance mode of the event.
|
|
46
|
+
*/
|
|
32
47
|
get mode() {
|
|
33
48
|
return /*#__PURE__*/ v.optional(modeSchema);
|
|
34
49
|
},
|
|
50
|
+
/**
|
|
51
|
+
* The name of the event.
|
|
52
|
+
*/
|
|
35
53
|
name: /*#__PURE__*/ v.string(),
|
|
54
|
+
/**
|
|
55
|
+
* Client-declared timestamp when the event starts.
|
|
56
|
+
*/
|
|
36
57
|
startsAt: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.datetimeString()),
|
|
58
|
+
/**
|
|
59
|
+
* The status of the event.
|
|
60
|
+
*/
|
|
37
61
|
get status() {
|
|
38
62
|
return /*#__PURE__*/ v.optional(statusSchema);
|
|
39
63
|
},
|
|
64
|
+
/**
|
|
65
|
+
* URIs associated with the event.
|
|
66
|
+
*/
|
|
40
67
|
get uris() {
|
|
41
68
|
return /*#__PURE__*/ v.optional(/*#__PURE__*/ v.array(uriSchema));
|
|
42
69
|
},
|
|
@@ -68,6 +95,9 @@ const _statusSchema = /*#__PURE__*/ v.optional(
|
|
|
68
95
|
);
|
|
69
96
|
const _uriSchema = /*#__PURE__*/ v.object({
|
|
70
97
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('community.lexicon.calendar.event#uri')),
|
|
98
|
+
/**
|
|
99
|
+
* The display name of the URI.
|
|
100
|
+
*/
|
|
71
101
|
name: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
72
102
|
uri: /*#__PURE__*/ v.genericUriString(),
|
|
73
103
|
});
|
|
@@ -9,6 +9,9 @@ const _mainSchema = /*#__PURE__*/ v.record(
|
|
|
9
9
|
/*#__PURE__*/ v.tidString(),
|
|
10
10
|
/*#__PURE__*/ v.object({
|
|
11
11
|
$type: /*#__PURE__*/ v.literal('community.lexicon.calendar.rsvp'),
|
|
12
|
+
/**
|
|
13
|
+
* @default "community.lexicon.calendar.rsvp#going"
|
|
14
|
+
*/
|
|
12
15
|
status: /*#__PURE__*/ v.optional(
|
|
13
16
|
/*#__PURE__*/ v.string<
|
|
14
17
|
| 'community.lexicon.calendar.rsvp#going'
|
|
@@ -3,11 +3,31 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
3
3
|
|
|
4
4
|
const _mainSchema = /*#__PURE__*/ v.object({
|
|
5
5
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('community.lexicon.location.address')),
|
|
6
|
+
/**
|
|
7
|
+
* The ISO 3166 country code. Preferably the 2-letter code.
|
|
8
|
+
* @minLength 2
|
|
9
|
+
* @maxLength 10
|
|
10
|
+
*/
|
|
6
11
|
country: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [/*#__PURE__*/ v.stringLength(2, 10)]),
|
|
12
|
+
/**
|
|
13
|
+
* The locality of the region. For example, a city in the USA.
|
|
14
|
+
*/
|
|
7
15
|
locality: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
16
|
+
/**
|
|
17
|
+
* The name of the location.
|
|
18
|
+
*/
|
|
8
19
|
name: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
20
|
+
/**
|
|
21
|
+
* The postal code of the location.
|
|
22
|
+
*/
|
|
9
23
|
postalCode: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
24
|
+
/**
|
|
25
|
+
* The administrative region of the country. For example, a state in the USA.
|
|
26
|
+
*/
|
|
10
27
|
region: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
28
|
+
/**
|
|
29
|
+
* The street address.
|
|
30
|
+
*/
|
|
11
31
|
street: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
12
32
|
});
|
|
13
33
|
|
|
@@ -3,9 +3,15 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
3
3
|
|
|
4
4
|
const _mainSchema = /*#__PURE__*/ v.object({
|
|
5
5
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('community.lexicon.location.fsq')),
|
|
6
|
+
/**
|
|
7
|
+
* The unique identifier of a Foursquare POI.
|
|
8
|
+
*/
|
|
6
9
|
fsq_place_id: /*#__PURE__*/ v.string(),
|
|
7
10
|
latitude: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
8
11
|
longitude: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
12
|
+
/**
|
|
13
|
+
* The name of the location.
|
|
14
|
+
*/
|
|
9
15
|
name: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
10
16
|
});
|
|
11
17
|
|
|
@@ -6,6 +6,9 @@ const _mainSchema = /*#__PURE__*/ v.object({
|
|
|
6
6
|
altitude: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
7
7
|
latitude: /*#__PURE__*/ v.string(),
|
|
8
8
|
longitude: /*#__PURE__*/ v.string(),
|
|
9
|
+
/**
|
|
10
|
+
* The name of the location.
|
|
11
|
+
*/
|
|
9
12
|
name: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
10
13
|
});
|
|
11
14
|
|
|
@@ -3,7 +3,13 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
3
3
|
|
|
4
4
|
const _mainSchema = /*#__PURE__*/ v.object({
|
|
5
5
|
$type: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.literal('community.lexicon.location.hthree')),
|
|
6
|
+
/**
|
|
7
|
+
* The name of the location.
|
|
8
|
+
*/
|
|
6
9
|
name: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
10
|
+
/**
|
|
11
|
+
* The h3 encoded location.
|
|
12
|
+
*/
|
|
7
13
|
value: /*#__PURE__*/ v.string(),
|
|
8
14
|
});
|
|
9
15
|
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@atcute/lexicon-community",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.2",
|
|
5
5
|
"description": "Lexicon Community (community.lexicon.*) schema definitions",
|
|
6
|
-
"license": "
|
|
6
|
+
"license": "0BSD",
|
|
7
7
|
"repository": {
|
|
8
8
|
"url": "https://github.com/mary-ext/atcute",
|
|
9
9
|
"directory": "packages/definitions/lexicon-community"
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"./types/": "./dist/lexicons/types/community/lexicon/*.js"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@atcute/atproto": "^3.1.
|
|
23
|
-
"@atcute/lexicons": "^1.
|
|
22
|
+
"@atcute/atproto": "^3.1.7",
|
|
23
|
+
"@atcute/lexicons": "^1.2.2"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@atcute/lexicon-community": "file:",
|
|
27
|
-
"@atcute/lex-cli": "^2.
|
|
27
|
+
"@atcute/lex-cli": "^2.2.2"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
30
|
"build": "tsc",
|