···11import "@typelex/emitter";
2233namespace community.lexicon.bookmarks.getActorBookmarks {
44- /** Get a list of bookmarks by actor. Optionally add a list of tags to include, default will be all bookmarks. Requires auth, actor must be the requesting account. */
55- @query
66- op main(
77- tags?: string[],
44+ /** Get a list of bookmarks by actor. Optionally add a list of tags to include, default will be all bookmarks. Requires auth, actor must be the requesting account. */
55+ @query
66+ op main(
77+ tags?: string[],
8899- @minValue(1)
1010- @maxValue(100)
1111- limit?: int32 = 50,
99+ @minValue(1)
1010+ @maxValue(100)
1111+ limit?: int32 = 50,
12121313- cursor?: string
1414- ): {
1515- @required
1616- bookmarks: community.lexicon.bookmarks.bookmark.Main[];
1313+ cursor?: string,
1414+ ): {
1515+ @required
1616+ bookmarks: community.lexicon.bookmarks.bookmark.Main[];
17171818- cursor?: string;
1919- };
1818+ cursor?: string;
1919+ };
2020}
21212222// --- Externals ---
23232424@external
2525namespace community.lexicon.bookmarks.bookmark {
2626- model Main { }
2727-}2626+ model Main {}
2727+}
···11import "@typelex/emitter";
2233namespace community.lexicon.location.address {
44- /** A physical location in the form of a street address. */
55- model Main {
66- /** The ISO 3166 country code. Preferably the 2-letter code. */
77- @required
88- @minLength(2)
99- @maxLength(10)
1010- country: string;
44+ /** A physical location in the form of a street address. */
55+ model Main {
66+ /** The ISO 3166 country code. Preferably the 2-letter code. */
77+ @required
88+ @minLength(2)
99+ @maxLength(10)
1010+ country: string;
11111212- /** The postal code of the location. */
1313- postalCode?: string;
1212+ /** The postal code of the location. */
1313+ postalCode?: string;
14141515- /** The administrative region of the country. For example, a state in the USA. */
1616- region?: string;
1515+ /** The administrative region of the country. For example, a state in the USA. */
1616+ region?: string;
17171818- /** The locality of the region. For example, a city in the USA. */
1919- locality?: string;
1818+ /** The locality of the region. For example, a city in the USA. */
1919+ locality?: string;
20202121- /** The street address. */
2222- street?: string;
2121+ /** The street address. */
2222+ street?: string;
23232424- /** The name of the location. */
2525- name?: string;
2626- }
2424+ /** The name of the location. */
2525+ name?: string;
2626+ }
2727}
···11import "@typelex/emitter";
2233namespace community.lexicon.location.fsq {
44- /** A physical location contained in the Foursquare Open Source Places dataset. */
55- model Main {
66- /** The unique identifier of a Foursquare POI. */
77- @required fsq_place_id: string;
44+ /** A physical location contained in the Foursquare Open Source Places dataset. */
55+ model Main {
66+ /** The unique identifier of a Foursquare POI. */
77+ @required fsq_place_id: string;
8899- latitude?: string;
1010- longitude?: string;
99+ latitude?: string;
1010+ longitude?: string;
11111212- /** The name of the location. */
1313- name?: string;
1414- }
1212+ /** The name of the location. */
1313+ name?: string;
1414+ }
1515}
···11import "@typelex/emitter";
2233namespace community.lexicon.location.geo {
44- /** A physical location in the form of a WGS84 coordinate. */
55- model Main {
66- @required latitude: string;
77- @required longitude: string;
88- altitude?: string;
99- /** The name of the location. */
1010- name?: string;
1111- }
1212-}44+ /** A physical location in the form of a WGS84 coordinate. */
55+ model Main {
66+ @required latitude: string;
77+ @required longitude: string;
88+ altitude?: string;
99+1010+ /** The name of the location. */
1111+ name?: string;
1212+ }
1313+}
···11import "@typelex/emitter";
2233namespace community.lexicon.location.hthree {
44- /** A physical location in the form of a H3 encoded location. */
55- model Main {
66- /** The h3 encoded location. */
77- @required value: string;
44+ /** A physical location in the form of a H3 encoded location. */
55+ model Main {
66+ /** The h3 encoded location. */
77+ @required value: string;
8899- /** The name of the location. */
1010- name?: string;
1111- }
1212-}99+ /** The name of the location. */
1010+ name?: string;
1111+ }
1212+}
···2233/** Web Monetization integration: https://webmonetization.org/ */
44namespace community.lexicon.payments.webMonetization {
55- @rec("any")
66- /** Web Monetization wallet. */
77- model Main {
88- /** Wallet address. */
99- @required address: uri;
55+ /** Web Monetization wallet. */
66+ @rec("any")
77+ model Main {
88+ /** Wallet address. */
99+ @required address: uri;
10101111- /** Short, human-readable description of how this wallet is related to this account. */
1212- note?: string;
1313- }
1414-}1111+ /** Short, human-readable description of how this wallet is related to this account. */
1212+ note?: string;
1313+ }
1414+}