@atcute/frontpage 1.0.0 → 1.0.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/dist/lexicons/types/fyi/unravel/frontpage/post.d.ts +1 -1
- package/dist/lexicons/types/fyi/unravel/frontpage/post.js +1 -1
- package/dist/lexicons/types/fyi/unravel/frontpage/post.js.map +1 -1
- package/dist/lexicons/types/fyi/unravel/frontpage/vote.d.ts +1 -1
- package/dist/lexicons/types/fyi/unravel/frontpage/vote.js +1 -1
- package/dist/lexicons/types/fyi/unravel/frontpage/vote.js.map +1 -1
- package/lib/lexicons/types/fyi/unravel/frontpage/post.ts +1 -1
- package/lib/lexicons/types/fyi/unravel/frontpage/vote.ts +1 -1
- package/package.json +4 -4
|
@@ -1,9 +1,9 @@
|
|
|
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
|
+
createdAt: v.FormattedStringSchema<"datetime">;
|
|
4
5
|
title: v.SchemaWithConstraint<v.StringSchema<string>, readonly [v.StringLengthConstraint<0, 3000>, v.StringGraphemesConstraint<0, 300>]>;
|
|
5
6
|
url: v.FormattedStringSchema<"uri">;
|
|
6
|
-
createdAt: v.FormattedStringSchema<"datetime">;
|
|
7
7
|
}>, v.FormattedStringSchema<"tid">>;
|
|
8
8
|
type main$schematype = typeof _mainSchema;
|
|
9
9
|
export interface mainSchema extends main$schematype {
|
|
@@ -3,12 +3,12 @@ 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
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
6
7
|
title: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
7
8
|
/*#__PURE__*/ v.stringLength(0, 3000),
|
|
8
9
|
/*#__PURE__*/ v.stringGraphemes(0, 300),
|
|
9
10
|
]),
|
|
10
11
|
url: /*#__PURE__*/ v.genericUriString(),
|
|
11
|
-
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
12
12
|
}));
|
|
13
13
|
export const mainSchema = _mainSchema;
|
|
14
14
|
//# sourceMappingURL=post.js.map
|
|
@@ -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,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;
|
|
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"}
|
|
@@ -2,8 +2,8 @@ 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
|
-
readonly subject: ComAtprotoRepoStrongRef.mainSchema;
|
|
6
5
|
createdAt: v.FormattedStringSchema<"datetime">;
|
|
6
|
+
readonly subject: ComAtprotoRepoStrongRef.mainSchema;
|
|
7
7
|
}>, v.FormattedStringSchema<"tid">>;
|
|
8
8
|
type main$schematype = typeof _mainSchema;
|
|
9
9
|
export interface mainSchema extends main$schematype {
|
|
@@ -4,10 +4,10 @@ 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
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
7
8
|
get subject() {
|
|
8
9
|
return ComAtprotoRepoStrongRef.mainSchema;
|
|
9
10
|
},
|
|
10
|
-
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
11
11
|
}));
|
|
12
12
|
export const mainSchema = _mainSchema;
|
|
13
13
|
//# sourceMappingURL=vote.js.map
|
|
@@ -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,IAAI,OAAO;QACV,OAAO,uBAAuB,CAAC,UAAU,CAAC;IAC3C,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,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"}
|
|
@@ -6,12 +6,12 @@ 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
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
9
10
|
title: /*#__PURE__*/ v.constrain(/*#__PURE__*/ v.string(), [
|
|
10
11
|
/*#__PURE__*/ v.stringLength(0, 3000),
|
|
11
12
|
/*#__PURE__*/ v.stringGraphemes(0, 300),
|
|
12
13
|
]),
|
|
13
14
|
url: /*#__PURE__*/ v.genericUriString(),
|
|
14
|
-
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
15
15
|
}),
|
|
16
16
|
);
|
|
17
17
|
|
|
@@ -7,10 +7,10 @@ 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
|
+
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
10
11
|
get subject() {
|
|
11
12
|
return ComAtprotoRepoStrongRef.mainSchema;
|
|
12
13
|
},
|
|
13
|
-
createdAt: /*#__PURE__*/ v.datetimeString(),
|
|
14
14
|
}),
|
|
15
15
|
);
|
|
16
16
|
|
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.2",
|
|
5
5
|
"description": "Frontpage (fyi.unravel.frontpage.*) schema definitions",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"atcute",
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
"./types/*": "./dist/lexicons/types/fyi/unravel/frontpage/*.js"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@atcute/atproto": "^3.0.
|
|
28
|
-
"@atcute/lexicons": "^1.0.
|
|
27
|
+
"@atcute/atproto": "^3.0.2",
|
|
28
|
+
"@atcute/lexicons": "^1.0.2"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@atcute/frontpage": "file:",
|
|
32
32
|
"vitest": "^3.1.3",
|
|
33
|
-
"@atcute/lex-cli": "^2.0.
|
|
33
|
+
"@atcute/lex-cli": "^2.0.2"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build": "tsc",
|