@atcute/frontpage 1.0.3 → 1.0.5
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/dist/lexicons/types/fyi/unravel/frontpage/comment.d.ts +8 -0
- package/dist/lexicons/types/fyi/unravel/frontpage/comment.d.ts.map +1 -1
- package/dist/lexicons/types/fyi/unravel/frontpage/comment.js +8 -0
- package/dist/lexicons/types/fyi/unravel/frontpage/comment.js.map +1 -1
- package/dist/lexicons/types/fyi/unravel/frontpage/post.d.ts +11 -0
- package/dist/lexicons/types/fyi/unravel/frontpage/post.d.ts.map +1 -1
- package/dist/lexicons/types/fyi/unravel/frontpage/post.js +11 -0
- package/dist/lexicons/types/fyi/unravel/frontpage/post.js.map +1 -1
- package/dist/lexicons/types/fyi/unravel/frontpage/vote.d.ts +3 -0
- package/dist/lexicons/types/fyi/unravel/frontpage/vote.d.ts.map +1 -1
- package/dist/lexicons/types/fyi/unravel/frontpage/vote.js +3 -0
- package/dist/lexicons/types/fyi/unravel/frontpage/vote.js.map +1 -1
- package/lib/lexicons/types/fyi/unravel/frontpage/comment.ts +8 -0
- package/lib/lexicons/types/fyi/unravel/frontpage/post.ts +11 -0
- package/lib/lexicons/types/fyi/unravel/frontpage/vote.ts +3 -0
- package/package.json +11 -3
|
@@ -2,7 +2,15 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
2
2
|
import * as ComAtprotoRepoStrongRef from '@atcute/atproto/types/repo/strongRef';
|
|
3
3
|
declare const _mainSchema: v.RecordSchema<v.ObjectSchema<{
|
|
4
4
|
$type: v.LiteralSchema<"fyi.unravel.frontpage.comment">;
|
|
5
|
+
/**
|
|
6
|
+
* The content of the comment.
|
|
7
|
+
* @maxLength 100000
|
|
8
|
+
* @maxGraphemes 10000
|
|
9
|
+
*/
|
|
5
10
|
content: v.SchemaWithConstraint<v.StringSchema<string>, readonly [v.StringLengthConstraint<0, 100000>, v.StringGraphemesConstraint<0, 10000>]>;
|
|
11
|
+
/**
|
|
12
|
+
* Client-declared timestamp when this comment was originally created.
|
|
13
|
+
*/
|
|
6
14
|
createdAt: v.FormattedStringSchema<"datetime">;
|
|
7
15
|
readonly parent: v.OptionalSchema<ComAtprotoRepoStrongRef.mainSchema, undefined>;
|
|
8
16
|
readonly post: ComAtprotoRepoStrongRef.mainSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comment.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/fyi/unravel/frontpage/comment.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,uBAAuB,MAAM,sCAAsC,CAAC;AAEhF,QAAA,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"comment.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/fyi/unravel/frontpage/comment.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,uBAAuB,MAAM,sCAAsC,CAAC;AAEhF,QAAA,MAAM,WAAW;;IAIf;;;;OAIG;;IAKH;;OAEG;;;;mCASJ,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,+BAA+B,EAAE,UAAU,CAAC;KAC5C;CACD"}
|
|
@@ -4,10 +4,18 @@ const _mainSchema = /*#__PURE__*/ v.record(
|
|
|
4
4
|
/*#__PURE__*/ v.tidString(),
|
|
5
5
|
/*#__PURE__*/ v.object({
|
|
6
6
|
$type: /*#__PURE__*/ v.literal('fyi.unravel.frontpage.comment'),
|
|
7
|
+
/**
|
|
8
|
+
* The content of the comment.
|
|
9
|
+
* @maxLength 100000
|
|
10
|
+
* @maxGraphemes 10000
|
|
11
|
+
*/
|
|
7
12
|
content: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
8
13
|
/*#__PURE__*/ v.stringLength(0, 100000),
|
|
9
14
|
/*#__PURE__*/ v.stringGraphemes(0, 10000),
|
|
10
15
|
]),
|
|
16
|
+
/**
|
|
17
|
+
* Client-declared timestamp when this comment was originally created.
|
|
18
|
+
*/
|
|
11
19
|
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
12
20
|
get parent() {
|
|
13
21
|
return /*#__PURE__*/ v.optional(ComAtprotoRepoStrongRef.mainSchema);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comment.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/fyi/unravel/frontpage/comment.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,uBAAuB,MAAM,sCAAsC,CAAC;AAEhF,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,+BAA+B,CAAC;IAC/D,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE;QAC5D,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,EAAE,MAAM,CAAC;QACvC,aAAa,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,EAAE,KAAK,CAAC;KACzC,CAAC;IACF,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;IAC3C,IAAI,MAAM;QACT,OAAO,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,uBAAuB,CAAC,UAAU,CAAC,CAAC;IACrE,CAAC;IACD,IAAI,IAAI;QACP,OAAO,uBAAuB,CAAC,UAAU,CAAC;IAC3C,CAAC;CACD,CAAC,CACF,CAAC;AAMF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"comment.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/fyi/unravel/frontpage/comment.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,uBAAuB,MAAM,sCAAsC,CAAC;AAEhF,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,+BAA+B,CAAC;IAC/D;;;;OAIG;IACH,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE;QAC5D,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,EAAE,MAAM,CAAC;QACvC,aAAa,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,EAAE,KAAK,CAAC;KACzC,CAAC;IACF;;OAEG;IACH,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;IAC3C,IAAI,MAAM;QACT,OAAO,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,uBAAuB,CAAC,UAAU,CAAC,CAAC;IACrE,CAAC;IACD,IAAI,IAAI;QACP,OAAO,uBAAuB,CAAC,UAAU,CAAC;IAC3C,CAAC;CACD,CAAC,CACF,CAAC;AAMF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -1,8 +1,19 @@
|
|
|
1
1
|
import * as v from '@atcute/lexicons/validations';
|
|
2
2
|
declare const _mainSchema: v.RecordSchema<v.ObjectSchema<{
|
|
3
3
|
$type: v.LiteralSchema<"fyi.unravel.frontpage.post">;
|
|
4
|
+
/**
|
|
5
|
+
* Client-declared timestamp when this post was originally created.
|
|
6
|
+
*/
|
|
4
7
|
createdAt: v.FormattedStringSchema<"datetime">;
|
|
8
|
+
/**
|
|
9
|
+
* The title of the post.
|
|
10
|
+
* @maxLength 3000
|
|
11
|
+
* @maxGraphemes 300
|
|
12
|
+
*/
|
|
5
13
|
title: v.SchemaWithConstraint<v.StringSchema<string>, readonly [v.StringLengthConstraint<0, 3000>, v.StringGraphemesConstraint<0, 300>]>;
|
|
14
|
+
/**
|
|
15
|
+
* The URL of the post.
|
|
16
|
+
*/
|
|
6
17
|
url: v.FormattedStringSchema<"uri">;
|
|
7
18
|
}>, v.FormattedStringSchema<"tid">>;
|
|
8
19
|
type main$schematype = typeof _mainSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/fyi/unravel/frontpage/post.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,QAAA,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"post.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/fyi/unravel/frontpage/post.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,QAAA,MAAM,WAAW;;IAIf;;OAEG;;IAEH;;;;OAIG;;IAKH;;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,4BAA4B,EAAE,UAAU,CAAC;KACzC;CACD"}
|
|
@@ -3,11 +3,22 @@ const _mainSchema = /*#__PURE__*/ v.record(
|
|
|
3
3
|
/*#__PURE__*/ v.tidString(),
|
|
4
4
|
/*#__PURE__*/ v.object({
|
|
5
5
|
$type: /*#__PURE__*/ v.literal('fyi.unravel.frontpage.post'),
|
|
6
|
+
/**
|
|
7
|
+
* Client-declared timestamp when this post was originally created.
|
|
8
|
+
*/
|
|
6
9
|
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
10
|
+
/**
|
|
11
|
+
* The title of the post.
|
|
12
|
+
* @maxLength 3000
|
|
13
|
+
* @maxGraphemes 300
|
|
14
|
+
*/
|
|
7
15
|
title: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
8
16
|
/*#__PURE__*/ v.stringLength(0, 3000),
|
|
9
17
|
/*#__PURE__*/ v.stringGraphemes(0, 300),
|
|
10
18
|
]),
|
|
19
|
+
/**
|
|
20
|
+
* The URL of the post.
|
|
21
|
+
*/
|
|
11
22
|
url: /*#__PURE__*/ v.genericUriString(),
|
|
12
23
|
}));
|
|
13
24
|
export const mainSchema = _mainSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/fyi/unravel/frontpage/post.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,4BAA4B,CAAC;IAC5D,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;IAC3C,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE;QAC1D,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC;QACrC,aAAa,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,EAAE,GAAG,CAAC;KACvC,CAAC;IACF,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,gBAAgB,EAAE;CACvC,CAAC,CACF,CAAC;AAMF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"post.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/fyi/unravel/frontpage/post.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,4BAA4B,CAAC;IAC5D;;OAEG;IACH,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;IAC3C;;;;OAIG;IACH,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE;QAC1D,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC;QACrC,aAAa,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,EAAE,GAAG,CAAC;KACvC,CAAC;IACF;;OAEG;IACH,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,gBAAgB,EAAE;CACvC,CAAC,CACF,CAAC;AAMF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -2,6 +2,9 @@ import * as v from '@atcute/lexicons/validations';
|
|
|
2
2
|
import * as ComAtprotoRepoStrongRef from '@atcute/atproto/types/repo/strongRef';
|
|
3
3
|
declare const _mainSchema: v.RecordSchema<v.ObjectSchema<{
|
|
4
4
|
$type: v.LiteralSchema<"fyi.unravel.frontpage.vote">;
|
|
5
|
+
/**
|
|
6
|
+
* Client-declared timestamp when this vote was originally created.
|
|
7
|
+
*/
|
|
5
8
|
createdAt: v.FormattedStringSchema<"datetime">;
|
|
6
9
|
readonly subject: ComAtprotoRepoStrongRef.mainSchema;
|
|
7
10
|
}>, v.FormattedStringSchema<"tid">>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vote.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/fyi/unravel/frontpage/vote.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,uBAAuB,MAAM,sCAAsC,CAAC;AAEhF,QAAA,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"vote.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/fyi/unravel/frontpage/vote.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,uBAAuB,MAAM,sCAAsC,CAAC;AAEhF,QAAA,MAAM,WAAW;;IAIf;;OAEG;;;mCAMJ,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,4BAA4B,EAAE,UAAU,CAAC;KACzC;CACD"}
|
|
@@ -4,6 +4,9 @@ const _mainSchema = /*#__PURE__*/ v.record(
|
|
|
4
4
|
/*#__PURE__*/ v.tidString(),
|
|
5
5
|
/*#__PURE__*/ v.object({
|
|
6
6
|
$type: /*#__PURE__*/ v.literal('fyi.unravel.frontpage.vote'),
|
|
7
|
+
/**
|
|
8
|
+
* Client-declared timestamp when this vote was originally created.
|
|
9
|
+
*/
|
|
7
10
|
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
8
11
|
get subject() {
|
|
9
12
|
return ComAtprotoRepoStrongRef.mainSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vote.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/fyi/unravel/frontpage/vote.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,uBAAuB,MAAM,sCAAsC,CAAC;AAEhF,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,4BAA4B,CAAC;IAC5D,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;IAC3C,IAAI,OAAO;QACV,OAAO,uBAAuB,CAAC,UAAU,CAAC;IAC3C,CAAC;CACD,CAAC,CACF,CAAC;AAMF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"vote.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/fyi/unravel/frontpage/vote.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAElD,OAAO,KAAK,uBAAuB,MAAM,sCAAsC,CAAC;AAEhF,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,4BAA4B,CAAC;IAC5D;;OAEG;IACH,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,cAAc,EAAE;IAC3C,IAAI,OAAO;QACV,OAAO,uBAAuB,CAAC,UAAU,CAAC;IAC3C,CAAC;CACD,CAAC,CACF,CAAC;AAMF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
|
@@ -7,10 +7,18 @@ const _mainSchema = /*#__PURE__*/ v.record(
|
|
|
7
7
|
/*#__PURE__*/ v.tidString(),
|
|
8
8
|
/*#__PURE__*/ v.object({
|
|
9
9
|
$type: /*#__PURE__*/ v.literal('fyi.unravel.frontpage.comment'),
|
|
10
|
+
/**
|
|
11
|
+
* The content of the comment.
|
|
12
|
+
* @maxLength 100000
|
|
13
|
+
* @maxGraphemes 10000
|
|
14
|
+
*/
|
|
10
15
|
content: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
11
16
|
/*#__PURE__*/ v.stringLength(0, 100000),
|
|
12
17
|
/*#__PURE__*/ v.stringGraphemes(0, 10000),
|
|
13
18
|
]),
|
|
19
|
+
/**
|
|
20
|
+
* Client-declared timestamp when this comment was originally created.
|
|
21
|
+
*/
|
|
14
22
|
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
15
23
|
get parent() {
|
|
16
24
|
return /*#__PURE__*/ v.optional(ComAtprotoRepoStrongRef.mainSchema);
|
|
@@ -6,11 +6,22 @@ const _mainSchema = /*#__PURE__*/ v.record(
|
|
|
6
6
|
/*#__PURE__*/ v.tidString(),
|
|
7
7
|
/*#__PURE__*/ v.object({
|
|
8
8
|
$type: /*#__PURE__*/ v.literal('fyi.unravel.frontpage.post'),
|
|
9
|
+
/**
|
|
10
|
+
* Client-declared timestamp when this post was originally created.
|
|
11
|
+
*/
|
|
9
12
|
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
13
|
+
/**
|
|
14
|
+
* The title of the post.
|
|
15
|
+
* @maxLength 3000
|
|
16
|
+
* @maxGraphemes 300
|
|
17
|
+
*/
|
|
10
18
|
title: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
11
19
|
/*#__PURE__*/ v.stringLength(0, 3000),
|
|
12
20
|
/*#__PURE__*/ v.stringGraphemes(0, 300),
|
|
13
21
|
]),
|
|
22
|
+
/**
|
|
23
|
+
* The URL of the post.
|
|
24
|
+
*/
|
|
14
25
|
url: /*#__PURE__*/ v.genericUriString(),
|
|
15
26
|
}),
|
|
16
27
|
);
|
|
@@ -7,6 +7,9 @@ const _mainSchema = /*#__PURE__*/ v.record(
|
|
|
7
7
|
/*#__PURE__*/ v.tidString(),
|
|
8
8
|
/*#__PURE__*/ v.object({
|
|
9
9
|
$type: /*#__PURE__*/ v.literal('fyi.unravel.frontpage.vote'),
|
|
10
|
+
/**
|
|
11
|
+
* Client-declared timestamp when this vote was originally created.
|
|
12
|
+
*/
|
|
10
13
|
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
11
14
|
get subject() {
|
|
12
15
|
return ComAtprotoRepoStrongRef.mainSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@atcute/frontpage",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.5",
|
|
5
5
|
"description": "Frontpage (fyi.unravel.frontpage.*) schema definitions",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"atcute",
|
|
@@ -24,13 +24,21 @@
|
|
|
24
24
|
"./types/*": "./dist/lexicons/types/fyi/unravel/frontpage/*.js"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@atcute/atproto": "^3.1.
|
|
27
|
+
"@atcute/atproto": "^3.1.8",
|
|
28
28
|
"@atcute/lexicons": "^1.2.2"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@atcute/frontpage": "file:",
|
|
32
32
|
"vitest": "^3.2.4",
|
|
33
|
-
"@atcute/lex-cli": "^2.
|
|
33
|
+
"@atcute/lex-cli": "^2.3.0"
|
|
34
|
+
},
|
|
35
|
+
"atcute:lexicons": {
|
|
36
|
+
"mappings": {
|
|
37
|
+
"fyi.unravel.frontpage.*": {
|
|
38
|
+
"type": "namespace",
|
|
39
|
+
"path": "./types/{{nsid_remainder}}"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
34
42
|
},
|
|
35
43
|
"scripts": {
|
|
36
44
|
"build": "tsc",
|