@atcute/lexicon-community 1.1.2 → 1.1.4
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/index.d.ts +1 -0
- package/dist/lexicons/index.d.ts.map +1 -1
- package/dist/lexicons/index.js +1 -0
- package/dist/lexicons/index.js.map +1 -1
- package/dist/lexicons/types/community/lexicon/payments/webMonetization.d.ts +25 -0
- package/dist/lexicons/types/community/lexicon/payments/webMonetization.d.ts.map +1 -0
- package/dist/lexicons/types/community/lexicon/payments/webMonetization.js +16 -0
- package/dist/lexicons/types/community/lexicon/payments/webMonetization.js.map +1 -0
- package/lib/lexicons/index.ts +1 -0
- package/lib/lexicons/types/community/lexicon/payments/webMonetization.ts +32 -0
- package/package.json +11 -3
package/dist/lexicons/index.d.ts
CHANGED
|
@@ -7,4 +7,5 @@ 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
|
+
export * as CommunityLexiconPaymentsWebMonetization from './types/community/lexicon/payments/webMonetization.js';
|
|
10
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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"}
|
|
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;AAC/F,OAAO,KAAK,uCAAuC,MAAM,uDAAuD,CAAC"}
|
package/dist/lexicons/index.js
CHANGED
|
@@ -7,4 +7,5 @@ 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
|
+
export * as CommunityLexiconPaymentsWebMonetization from './types/community/lexicon/payments/webMonetization.js';
|
|
10
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","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"}
|
|
1
|
+
{"version":3,"file":"index.js","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;AAC/F,OAAO,KAAK,uCAAuC,MAAM,uDAAuD,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
declare const _mainSchema: v.RecordSchema<v.ObjectSchema<{
|
|
3
|
+
$type: v.LiteralSchema<"community.lexicon.payments.webMonetization">;
|
|
4
|
+
/**
|
|
5
|
+
* Wallet address.
|
|
6
|
+
*/
|
|
7
|
+
address: v.FormattedStringSchema<"uri">;
|
|
8
|
+
/**
|
|
9
|
+
* Short, human-readable description of how this wallet is related to this account.
|
|
10
|
+
*/
|
|
11
|
+
note: v.OptionalSchema<v.StringSchema<string>, undefined>;
|
|
12
|
+
}>, v.StringSchema<string>>;
|
|
13
|
+
type main$schematype = typeof _mainSchema;
|
|
14
|
+
export interface mainSchema extends main$schematype {
|
|
15
|
+
}
|
|
16
|
+
export declare const mainSchema: mainSchema;
|
|
17
|
+
export interface Main extends v.InferInput<typeof mainSchema> {
|
|
18
|
+
}
|
|
19
|
+
declare module '@atcute/lexicons/ambient' {
|
|
20
|
+
interface Records {
|
|
21
|
+
'community.lexicon.payments.webMonetization': mainSchema;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=webMonetization.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webMonetization.d.ts","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/community/lexicon/payments/webMonetization.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,QAAA,MAAM,WAAW;;IAIf;;OAEG;;IAEH;;OAEG;;2BAGJ,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,4CAA4C,EAAE,UAAU,CAAC;KACzD;CACD"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as v from '@atcute/lexicons/validations';
|
|
2
|
+
const _mainSchema = /*#__PURE__*/ v.record(
|
|
3
|
+
/*#__PURE__*/ v.string(),
|
|
4
|
+
/*#__PURE__*/ v.object({
|
|
5
|
+
$type: /*#__PURE__*/ v.literal('community.lexicon.payments.webMonetization'),
|
|
6
|
+
/**
|
|
7
|
+
* Wallet address.
|
|
8
|
+
*/
|
|
9
|
+
address: /*#__PURE__*/ v.genericUriString(),
|
|
10
|
+
/**
|
|
11
|
+
* Short, human-readable description of how this wallet is related to this account.
|
|
12
|
+
*/
|
|
13
|
+
note: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
14
|
+
}));
|
|
15
|
+
export const mainSchema = _mainSchema;
|
|
16
|
+
//# sourceMappingURL=webMonetization.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webMonetization.js","sourceRoot":"","sources":["../../../../../../lib/lexicons/types/community/lexicon/payments/webMonetization.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,8BAA8B,CAAC;AAGlD,MAAM,WAAW,GAAG,aAAa,CAAC,CAAC,CAAC,MAAM;AACzC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE;AACxB,aAAa,CAAC,CAAC,CAAC,MAAM,CAAC;IACtB,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,4CAA4C,CAAC;IAC5E;;OAEG;IACH,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,gBAAgB,EAAE;IAC3C;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CACxD,CAAC,CACF,CAAC;AAMF,MAAM,CAAC,MAAM,UAAU,GAAG,WAAyB,CAAC"}
|
package/lib/lexicons/index.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
|
+
export * as CommunityLexiconPaymentsWebMonetization from './types/community/lexicon/payments/webMonetization.js';
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type {} from '@atcute/lexicons';
|
|
2
|
+
import * as v from '@atcute/lexicons/validations';
|
|
3
|
+
import type {} from '@atcute/lexicons/ambient';
|
|
4
|
+
|
|
5
|
+
const _mainSchema = /*#__PURE__*/ v.record(
|
|
6
|
+
/*#__PURE__*/ v.string(),
|
|
7
|
+
/*#__PURE__*/ v.object({
|
|
8
|
+
$type: /*#__PURE__*/ v.literal('community.lexicon.payments.webMonetization'),
|
|
9
|
+
/**
|
|
10
|
+
* Wallet address.
|
|
11
|
+
*/
|
|
12
|
+
address: /*#__PURE__*/ v.genericUriString(),
|
|
13
|
+
/**
|
|
14
|
+
* Short, human-readable description of how this wallet is related to this account.
|
|
15
|
+
*/
|
|
16
|
+
note: /*#__PURE__*/ v.optional(/*#__PURE__*/ v.string()),
|
|
17
|
+
}),
|
|
18
|
+
);
|
|
19
|
+
|
|
20
|
+
type main$schematype = typeof _mainSchema;
|
|
21
|
+
|
|
22
|
+
export interface mainSchema extends main$schematype {}
|
|
23
|
+
|
|
24
|
+
export const mainSchema = _mainSchema as mainSchema;
|
|
25
|
+
|
|
26
|
+
export interface Main extends v.InferInput<typeof mainSchema> {}
|
|
27
|
+
|
|
28
|
+
declare module '@atcute/lexicons/ambient' {
|
|
29
|
+
interface Records {
|
|
30
|
+
'community.lexicon.payments.webMonetization': mainSchema;
|
|
31
|
+
}
|
|
32
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@atcute/lexicon-community",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.4",
|
|
5
5
|
"description": "Lexicon Community (community.lexicon.*) schema definitions",
|
|
6
6
|
"license": "0BSD",
|
|
7
7
|
"repository": {
|
|
@@ -19,12 +19,20 @@
|
|
|
19
19
|
"./types/": "./dist/lexicons/types/community/lexicon/*.js"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@atcute/atproto": "^3.1.
|
|
22
|
+
"@atcute/atproto": "^3.1.8",
|
|
23
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.3.0"
|
|
28
|
+
},
|
|
29
|
+
"atcute:lexicons": {
|
|
30
|
+
"mappings": {
|
|
31
|
+
"community.lexicon.*": {
|
|
32
|
+
"type": "namespace",
|
|
33
|
+
"path": "./types/{{nsid_remainder}}"
|
|
34
|
+
}
|
|
35
|
+
}
|
|
28
36
|
},
|
|
29
37
|
"scripts": {
|
|
30
38
|
"build": "tsc",
|