techne-sdk 0.1.0 → 0.3.0
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/CHANGELOG.md +139 -0
- package/README.md +48 -2
- package/dist/auth/app-key.d.ts +8 -0
- package/dist/auth/app-key.js +95 -0
- package/dist/auth/index.d.ts +192 -0
- package/dist/auth/index.js +230 -0
- package/dist/auth/placement.gen.d.ts +1 -0
- package/dist/auth/placement.gen.js +50 -0
- package/dist/catalog/catalog.gen.js +2161 -681
- package/dist/connect.js +2 -1
- package/dist/generated/index.d.ts +61 -0
- package/dist/generated/index.js +116 -0
- package/dist/generated/lexicons.d.ts +3689 -1449
- package/dist/generated/lexicons.js +1237 -42
- package/dist/generated/nsid.d.ts +23 -1
- package/dist/generated/nsid.js +23 -19
- package/dist/generated/nsid.json +23 -19
- package/dist/generated/records.d.ts +28 -26
- package/dist/generated/types/pub/techne/draft/commons/getVersions.d.ts +3 -3
- package/dist/generated/types/pub/techne/draft/commons/runChain.d.ts +1 -1
- package/dist/generated/types/pub/techne/draft/credential.d.ts +1 -1
- package/dist/generated/types/pub/techne/draft/credentialRevocation.d.ts +1 -1
- package/dist/generated/types/pub/techne/draft/permissioned/deleteRecord.d.ts +5 -0
- package/dist/generated/types/pub/techne/draft/permissioned/deleteRecord.js +7 -0
- package/dist/generated/types/pub/techne/draft/permissioned/getRecord.d.ts +2 -1
- package/dist/generated/types/pub/techne/draft/permissioned/listChanges.d.ts +1 -1
- package/dist/generated/types/pub/techne/draft/permissioned/putRecord.d.ts +2 -2
- package/dist/generated/types/pub/techne/draft/provenance.d.ts +1 -1
- package/dist/generated/types/pub/techne/draft/publisher.d.ts +1 -1
- package/dist/generated/types/pub/techne/draft/query/composeRecords.d.ts +152 -0
- package/dist/generated/types/pub/techne/draft/query/composeRecords.js +55 -0
- package/dist/generated/types/pub/techne/draft/query/getRecords.d.ts +1 -1
- package/dist/generated/types/pub/techne/draft/query/listRecords.d.ts +0 -4
- package/dist/generated/types/pub/techne/draft/query/listRejections.d.ts +2 -2
- package/dist/generated/types/pub/techne/draft/registry/blockIndex.d.ts +42 -0
- package/dist/generated/types/pub/techne/draft/registry/blockIndex.js +34 -0
- package/dist/generated/types/pub/techne/draft/registry/defs.d.ts +112 -0
- package/dist/generated/types/pub/techne/draft/registry/defs.js +32 -0
- package/dist/generated/types/pub/techne/draft/registry/getType.d.ts +23 -0
- package/dist/generated/types/pub/techne/draft/registry/getType.js +20 -0
- package/dist/generated/types/pub/techne/draft/registry/getTypeRequest.d.ts +23 -0
- package/dist/generated/types/pub/techne/draft/registry/getTypeRequest.js +20 -0
- package/dist/generated/types/pub/techne/draft/registry/listTypeRequests.d.ts +27 -0
- package/dist/generated/types/pub/techne/draft/registry/listTypeRequests.js +7 -0
- package/dist/generated/types/pub/techne/draft/registry/listTypes.d.ts +34 -0
- package/dist/generated/types/pub/techne/draft/registry/listTypes.js +7 -0
- package/dist/generated/types/pub/techne/draft/registry/publishType.d.ts +77 -0
- package/dist/generated/types/pub/techne/draft/registry/publishType.js +83 -0
- package/dist/generated/types/pub/techne/draft/registry/purgeType.d.ts +39 -0
- package/dist/generated/types/pub/techne/draft/registry/purgeType.js +34 -0
- package/dist/generated/types/pub/techne/draft/registry/requestType.d.ts +53 -0
- package/dist/generated/types/pub/techne/draft/registry/requestType.js +76 -0
- package/dist/generated/types/pub/techne/draft/registry/typeRequest.d.ts +22 -0
- package/dist/generated/types/pub/techne/draft/registry/typeRequest.js +12 -0
- package/dist/generated/types/pub/techne/draft/sync/indexRecord.d.ts +1 -1
- package/dist/generated/types/pub/techne/draft/verdict.d.ts +2 -2
- package/dist/platform.d.ts +14 -0
- package/dist/platform.js +16 -0
- package/dist/put/index.js +17 -7
- package/dist/query/index.d.ts +1 -10
- package/dist/query/index.js +1 -1
- package/dist/types-cli/emit.d.ts +20 -0
- package/dist/types-cli/emit.js +217 -0
- package/dist/types-cli/main.d.ts +5 -0
- package/dist/types-cli/main.js +63 -0
- package/dist/types-cli/resolve.d.ts +26 -0
- package/dist/types-cli/resolve.js +99 -0
- package/dist/wasm/index.d.ts +20 -3
- package/dist/wasm/index.js +6 -1
- package/dist/wasm/techne-wasm.gen.js +1 -1
- package/dist/wasm/techne-wasm2js.gen.js +26425 -25985
- package/package.json +23 -6
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
import { buildAtprotoLoopbackClientId, isLoopbackHost } from '@atproto/oauth-types';
|
|
2
|
+
import { isValidNsid } from '@atproto/syntax';
|
|
3
|
+
import { NSID } from '../generated/nsid.js';
|
|
4
|
+
import { appviewRef, TECHNE_PLATFORM_DID } from '../platform.js';
|
|
5
|
+
import { appKey } from './app-key.js';
|
|
6
|
+
import { PUBLIC_HOMES } from './placement.gen.js';
|
|
7
|
+
export { appKey, appSpace } from './app-key.js';
|
|
8
|
+
export { TECHNE_PLATFORM_DID };
|
|
9
|
+
/** The techne.town handle domain: a bare name signs in as `<name>.techne.town`. */
|
|
10
|
+
export const TECHNE_TOWN = 'techne.town';
|
|
11
|
+
/** The techne.town PDS: where a sign-in with no handle, and every sign-up, starts. */
|
|
12
|
+
export const TECHNE_TOWN_PDS = 'https://pds.techne.town';
|
|
13
|
+
/** The default: a BrowserOAuthClient, loaded on first use (so the module imports under node). For an https
|
|
14
|
+
* client id the library fetches the metadata the app serves; for a loopback id it builds it. */
|
|
15
|
+
const browserFactory = async (config) => {
|
|
16
|
+
const { BrowserOAuthClient } = await import('@atproto/oauth-client-browser');
|
|
17
|
+
return BrowserOAuthClient.load(config);
|
|
18
|
+
};
|
|
19
|
+
let factory = browserFactory;
|
|
20
|
+
const clients = new Map();
|
|
21
|
+
const restoring = new Map();
|
|
22
|
+
const deletedListeners = new Map();
|
|
23
|
+
/** Make every client with `make` instead of BrowserOAuthClient (tests, other runtimes); `undefined` goes
|
|
24
|
+
* back to the default. Forgets every client made so far. */
|
|
25
|
+
export function setOAuthClientFactory(make) {
|
|
26
|
+
factory = make ?? browserFactory;
|
|
27
|
+
clients.clear();
|
|
28
|
+
restoring.clear();
|
|
29
|
+
}
|
|
30
|
+
/** The `include:` scope for the permission set `nsid` with `platform`'s appview as its audience:
|
|
31
|
+
* `include:<nsid>?aud=<platform>%23atproto_appview`. {@link TECHNE_PLATFORM_DID} by default; another
|
|
32
|
+
* platform (a local stack, a test deployment) passes its own DID. */
|
|
33
|
+
export function includeScope(nsid, platform = TECHNE_PLATFORM_DID) {
|
|
34
|
+
return `include:${nsid}?aud=${audParam(platform)}`;
|
|
35
|
+
}
|
|
36
|
+
/** `platform`'s appview as a scope's `aud` value (its `#` encoded). */
|
|
37
|
+
const audParam = (platform) => appviewRef(platform).replace('#', '%23');
|
|
38
|
+
/** The platform's generic reads the SDK makes signed in (`techne-sdk/query`, `put`'s curation read through
|
|
39
|
+
* `getRecords`) and the registry reads: one `rpc:` scope each in the default {@link scopes}, so they work
|
|
40
|
+
* without `authRead`. The platform narrows them by the token's space scopes (public data and the app's
|
|
41
|
+
* own space). Not `composeRecords`: the SDK makes no such call (an app that does asks for `authRead`). */
|
|
42
|
+
const READ_METHODS = [
|
|
43
|
+
NSID.QUERY_LIST_RECORDS,
|
|
44
|
+
NSID.QUERY_COUNT_RECORDS,
|
|
45
|
+
NSID.QUERY_GET_RECORDS,
|
|
46
|
+
NSID.REGISTRY_GET_TYPE,
|
|
47
|
+
NSID.REGISTRY_LIST_TYPES,
|
|
48
|
+
];
|
|
49
|
+
/** The scopes signIn asks for by default (see the module doc): least privilege, the permissioned calls,
|
|
50
|
+
* the app's own private space, an `rpc` scope per read in `READ_METHODS` and a `repo` scope per type
|
|
51
|
+
* in `types`; `everything` widens it. A name in
|
|
52
|
+
* `types` that is not an NSID throws a TypeError. */
|
|
53
|
+
export function scopes(o) {
|
|
54
|
+
if (!o?.clientId)
|
|
55
|
+
throw new TypeError('techne-sdk/auth: scopes needs the client id (its private space is keyed by it)');
|
|
56
|
+
return scopeList(o, skey(o.clientId));
|
|
57
|
+
}
|
|
58
|
+
/** {@link scopes}, with `space` the private-space scope's query: the app's key, or nothing for the
|
|
59
|
+
* loopback client (whose id is built from its scope, so the scope cannot name the id's hash). */
|
|
60
|
+
function scopeList({ platform = TECHNE_PLATFORM_DID, types = [], everything }, space) {
|
|
61
|
+
if (everything !== undefined && everything !== 'read' && everything !== 'write') {
|
|
62
|
+
throw new TypeError(`techne-sdk/auth: everything is 'read' or 'write' (got ${JSON.stringify(everything)})`);
|
|
63
|
+
}
|
|
64
|
+
for (const t of types)
|
|
65
|
+
if (!isValidNsid(t))
|
|
66
|
+
throw new TypeError(`techne-sdk/auth: a type is an NSID (got ${JSON.stringify(t)})`);
|
|
67
|
+
const write = everything === 'write';
|
|
68
|
+
const community = write ? PUBLIC_HOMES.filter((c) => c.startsWith(`${NSID.COMMUNITY_AUTHORITY}.`)) : [];
|
|
69
|
+
// With authWrite (and the community repo scope) our public homes are covered already.
|
|
70
|
+
const own = [...new Set(types)].filter((t) => !(write && PUBLIC_HOMES.includes(t))).sort();
|
|
71
|
+
const aud = audParam(platform);
|
|
72
|
+
return [
|
|
73
|
+
'atproto',
|
|
74
|
+
includeScope(NSID.AUTH_PERMISSIONED, platform),
|
|
75
|
+
`space:${NSID.SPACE_PRIVATE}${space}`,
|
|
76
|
+
// Signed-in reads (query, put's curation read, the registry); kept with authRead, which lacks the registry.
|
|
77
|
+
...READ_METHODS.map((m) => `rpc:${m}?aud=${aud}`),
|
|
78
|
+
...(everything ? [includeScope(NSID.AUTH_READ, platform)] : []),
|
|
79
|
+
...(write ? [includeScope(NSID.AUTH_WRITE, platform)] : []),
|
|
80
|
+
...(community.length ? [repoScope(community)] : []),
|
|
81
|
+
...own.map((t) => repoScope([t])),
|
|
82
|
+
// `put` hints each public write to the platform (the only way a pending type's records are indexed);
|
|
83
|
+
// authWrite carries that call, so without it an app that writes public types asks for it alone.
|
|
84
|
+
...(own.length && !write ? [`rpc:${NSID.SYNC_INDEX_RECORD}?aud=${aud}`] : []),
|
|
85
|
+
];
|
|
86
|
+
}
|
|
87
|
+
/** A `repo` scope for `collections`, every action (regenOS `regenos_appview::nsid_rewrite::repo_scope`,
|
|
88
|
+
* crates/regenos-appview/src/nsid_rewrite.rs). */
|
|
89
|
+
function repoScope(collections) {
|
|
90
|
+
const actions = 'action=create&action=update&action=delete';
|
|
91
|
+
return collections.length === 1 ? `repo:${collections[0]}?${actions}` : `repo?${collections.map((c) => `collection=${c}`).join('&')}&${actions}`;
|
|
92
|
+
}
|
|
93
|
+
/** The scope string a client asks for: `scope` as given, else the default with `space` as the private-space
|
|
94
|
+
* scope's query: `?skey=<appKey(clientId)>`, or `''` for the loopback client (its id carries its scope, so
|
|
95
|
+
* it cannot carry the id's own hash; the platform still admits and serves the space only for the app its
|
|
96
|
+
* key names, the loopback id's hash). */
|
|
97
|
+
const scopeString = (o, space) => (typeof o.scope === 'string' ? o.scope : (o.scope ?? scopeList(o, space)).join(' '));
|
|
98
|
+
/** The private-space scope's query for the https client `clientId`: its key. */
|
|
99
|
+
const skey = (clientId) => `?skey=${appKey(clientId)}`;
|
|
100
|
+
/** The client-metadata document an app serves at its client id: a public browser client (no secret,
|
|
101
|
+
* DPoP-bound tokens), asking for {@link scopes} by default. */
|
|
102
|
+
export function clientMetadata(o) {
|
|
103
|
+
const url = new URL(o.clientId);
|
|
104
|
+
if (url.protocol !== 'https:')
|
|
105
|
+
throw new TypeError(`techne-sdk/auth: a client id is an https URL (got ${o.clientId}); in development leave it out for the loopback client`);
|
|
106
|
+
return {
|
|
107
|
+
client_id: o.clientId,
|
|
108
|
+
...(o.clientName !== undefined && { client_name: o.clientName }),
|
|
109
|
+
...(o.clientUri !== undefined && { client_uri: o.clientUri }),
|
|
110
|
+
...(o.logoUri !== undefined && { logo_uri: o.logoUri }),
|
|
111
|
+
application_type: 'web',
|
|
112
|
+
token_endpoint_auth_method: 'none',
|
|
113
|
+
dpop_bound_access_tokens: true,
|
|
114
|
+
grant_types: ['authorization_code', 'refresh_token'],
|
|
115
|
+
response_types: ['code'],
|
|
116
|
+
scope: scopeString(o, skey(o.clientId)),
|
|
117
|
+
redirect_uris: o.redirectUris ?? [`${url.origin}/`],
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
/** The client a call signs in as and the scope it asks for: the loopback client on a loopback page or
|
|
121
|
+
* with no client id, else `clientId`. */
|
|
122
|
+
function resolveClient(o) {
|
|
123
|
+
const location = o.location ?? globalThis.location;
|
|
124
|
+
if (location && isLoopbackHost(location.hostname)) {
|
|
125
|
+
const host = location.hostname === 'localhost' ? '127.0.0.1' : location.hostname;
|
|
126
|
+
const redirect = `http://${host}${location.port ? `:${location.port}` : ''}/`;
|
|
127
|
+
const scope = scopeString(o, '');
|
|
128
|
+
return { clientId: buildAtprotoLoopbackClientId({ scope, redirect_uris: [redirect] }), scope };
|
|
129
|
+
}
|
|
130
|
+
if (!o.clientId)
|
|
131
|
+
throw new Error('techne-sdk/auth: no clientId (the https URL of the client metadata the app serves); only a localhost page may leave it out');
|
|
132
|
+
return { clientId: o.clientId, scope: scopeString(o, skey(o.clientId)) };
|
|
133
|
+
}
|
|
134
|
+
/** The client id a call signs in as: the loopback client on a loopback page or with no client id, else
|
|
135
|
+
* `clientId`. Its {@link appSpace} is the app's private space. */
|
|
136
|
+
export function resolveClientId(o) {
|
|
137
|
+
return resolveClient(o).clientId;
|
|
138
|
+
}
|
|
139
|
+
const homePds = (o) => o.pds ?? TECHNE_TOWN_PDS;
|
|
140
|
+
/** The OAuth client for these options: one per client id (made with the first call's `pds` and `plcUrl`;
|
|
141
|
+
* a later call naming others for the same client id gets that client). */
|
|
142
|
+
async function oauthClient(o) {
|
|
143
|
+
const clientId = resolveClientId(o);
|
|
144
|
+
let client = clients.get(clientId);
|
|
145
|
+
if (!client) {
|
|
146
|
+
const onSessionDeleted = (sub, cause) => {
|
|
147
|
+
restoring.delete(clientId);
|
|
148
|
+
for (const fn of deletedListeners.get(clientId) ?? [])
|
|
149
|
+
fn(sub, cause);
|
|
150
|
+
};
|
|
151
|
+
const config = { clientId, handleResolver: homePds(o), onSessionDeleted, ...(o.plcUrl && { plcDirectoryUrl: o.plcUrl }) };
|
|
152
|
+
client = Promise.resolve(factory(config));
|
|
153
|
+
client.catch(() => clients.delete(clientId));
|
|
154
|
+
clients.set(clientId, client);
|
|
155
|
+
}
|
|
156
|
+
return client;
|
|
157
|
+
}
|
|
158
|
+
/** Listen for the library deleting a session of this client (a refresh that failed, a revocation
|
|
159
|
+
* elsewhere). Answers the unsubscribe. */
|
|
160
|
+
export function onSessionDeleted(o, listener) {
|
|
161
|
+
const clientId = resolveClientId(o);
|
|
162
|
+
const set = deletedListeners.get(clientId) ?? new Set();
|
|
163
|
+
deletedListeners.set(clientId, set);
|
|
164
|
+
set.add(listener);
|
|
165
|
+
return () => {
|
|
166
|
+
set.delete(listener);
|
|
167
|
+
if (!set.size && deletedListeners.get(clientId) === set)
|
|
168
|
+
deletedListeners.delete(clientId);
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
/** Where a sign-in for `handle` starts: see the module doc. */
|
|
172
|
+
function signInTarget(handle, o = {}) {
|
|
173
|
+
const h = handle?.trim().replace(/^@/, '');
|
|
174
|
+
if (!h)
|
|
175
|
+
return homePds(o);
|
|
176
|
+
if (h.startsWith('did:') || /^https?:\/\//.test(h) || h.includes('.'))
|
|
177
|
+
return h;
|
|
178
|
+
return `${h}.${o.handleDomain ?? TECHNE_TOWN}`;
|
|
179
|
+
}
|
|
180
|
+
/** Sign in: redirects to the person's PDS, and comes back to the app's redirect URI (then {@link restore}). */
|
|
181
|
+
export async function signIn(o = {}) {
|
|
182
|
+
const { scope } = resolveClient(o);
|
|
183
|
+
const client = await oauthClient(o);
|
|
184
|
+
// A sign-up is at the home PDS unless the app names another PDS by its URL.
|
|
185
|
+
const input = o.signUp ? (o.handle && /^https:\/\//.test(o.handle) ? o.handle : homePds(o)) : signInTarget(o.handle, o);
|
|
186
|
+
const options = { scope };
|
|
187
|
+
if (o.signUp)
|
|
188
|
+
options.prompt = 'create';
|
|
189
|
+
if (o.state !== undefined)
|
|
190
|
+
options.state = o.state;
|
|
191
|
+
await client.signInRedirect(input, options);
|
|
192
|
+
}
|
|
193
|
+
/** {@link signIn} with `signUp: true`. */
|
|
194
|
+
export function signUp(o = {}) {
|
|
195
|
+
return signIn({ ...o, signUp: true });
|
|
196
|
+
}
|
|
197
|
+
/** The one `init()` per client id that {@link restore} and {@link redirectState} share. */
|
|
198
|
+
function restored(o) {
|
|
199
|
+
let clientId;
|
|
200
|
+
try {
|
|
201
|
+
clientId = resolveClientId(o);
|
|
202
|
+
}
|
|
203
|
+
catch (e) {
|
|
204
|
+
return Promise.reject(e);
|
|
205
|
+
}
|
|
206
|
+
let pending = restoring.get(clientId);
|
|
207
|
+
if (!pending) {
|
|
208
|
+
pending = oauthClient(o)
|
|
209
|
+
.then((c) => c.init())
|
|
210
|
+
.then((r) => (r ? { session: r.session, state: r.state ?? null } : null));
|
|
211
|
+
pending.catch(() => restoring.delete(clientId));
|
|
212
|
+
restoring.set(clientId, pending);
|
|
213
|
+
}
|
|
214
|
+
return pending;
|
|
215
|
+
}
|
|
216
|
+
/** The signed-in session, or `null` (see the module doc for the redirect, refresh and errors). */
|
|
217
|
+
export function restore(o = {}) {
|
|
218
|
+
return restored(o).then((r) => r?.session ?? null);
|
|
219
|
+
}
|
|
220
|
+
/** The `state` the {@link signIn} that led here sent, on the page its redirect lands on; `null` when the
|
|
221
|
+
* page is not that redirect (a session restored from storage, or nobody signed in). */
|
|
222
|
+
export function redirectState(o = {}) {
|
|
223
|
+
return restored(o).then((r) => r?.state ?? null);
|
|
224
|
+
}
|
|
225
|
+
/** Sign out: revokes `session` at its PDS and forgets it here. */
|
|
226
|
+
export async function signOut(o) {
|
|
227
|
+
const client = await oauthClient(o);
|
|
228
|
+
restoring.delete(resolveClientId(o));
|
|
229
|
+
await client.revoke(o.session.did);
|
|
230
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PUBLIC_HOMES: readonly ["pub.techne.draft.appConfig", "pub.techne.draft.approval", "pub.techne.draft.connection", "pub.techne.draft.contactChannel", "pub.techne.draft.channelVerification", "pub.techne.draft.containedIn", "pub.techne.draft.derivation", "pub.techne.draft.distinctFrom", "pub.techne.draft.geo", "pub.techne.draft.heldAt", "pub.techne.draft.operator", "pub.techne.draft.org", "pub.techne.draft.profile", "pub.techne.draft.assessment", "pub.techne.draft.provenance", "pub.techne.draft.questionSet", "pub.techne.draft.receipt", "pub.techne.draft.registry.typeRequest", "pub.techne.draft.verdict", "pub.techne.draft.verification", "pub.techne.draft.retirement", "pub.techne.draft.credential", "pub.techne.draft.credentialRevocation", "pub.techne.draft.publisher", "pub.techne.draft.sameAs", "pub.techne.draft.source", "pub.techne.draft.sourceAttribution", "pub.techne.draft.sourceRef", "pub.techne.draft.evaluation", "pub.techne.draft.event.config", "pub.techne.draft.event.listing", "pub.techne.draft.feed.recipe", "pub.techne.draft.query", "pub.techne.draft.invite", "pub.techne.draft.market.ask", "pub.techne.draft.market.offer", "pub.techne.draft.membership", "pub.techne.draft.place", "pub.techne.draft.presence", "pub.techne.draft.actor.profile", "pub.techne.draft.collective", "community.lexicon.calendar.event", "community.lexicon.calendar.rsvp"];
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
// @generated by scripts/gen-placement.mjs from the placement manifest. DO NOT EDIT BY HAND.
|
|
2
|
+
// The record collections whose legal homes include the public firehose (the placement manifest's
|
|
3
|
+
// `public` list), in the manifest's order. Regenerate: npm run codegen:placement.
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import { NSID } from '../generated/nsid.js';
|
|
6
|
+
export const PUBLIC_HOMES = [
|
|
7
|
+
NSID.APP_CONFIG,
|
|
8
|
+
NSID.APPROVAL,
|
|
9
|
+
NSID.CONNECTION,
|
|
10
|
+
NSID.CONTACT_CHANNEL,
|
|
11
|
+
NSID.CHANNEL_VERIFICATION,
|
|
12
|
+
NSID.CONTAINED_IN,
|
|
13
|
+
NSID.DERIVATION,
|
|
14
|
+
NSID.DISTINCT_FROM,
|
|
15
|
+
NSID.GEO,
|
|
16
|
+
NSID.HELD_AT,
|
|
17
|
+
NSID.OPERATOR,
|
|
18
|
+
NSID.ORG,
|
|
19
|
+
NSID.PROFILE,
|
|
20
|
+
NSID.ASSESSMENT,
|
|
21
|
+
NSID.PROVENANCE,
|
|
22
|
+
NSID.QUESTION_SET,
|
|
23
|
+
NSID.RECEIPT,
|
|
24
|
+
NSID.REGISTRY_TYPE_REQUEST,
|
|
25
|
+
NSID.VERDICT,
|
|
26
|
+
NSID.VERIFICATION,
|
|
27
|
+
NSID.RETIREMENT,
|
|
28
|
+
NSID.CREDENTIAL,
|
|
29
|
+
NSID.CREDENTIAL_REVOCATION,
|
|
30
|
+
NSID.PUBLISHER,
|
|
31
|
+
NSID.SAME_AS,
|
|
32
|
+
NSID.SOURCE,
|
|
33
|
+
NSID.SOURCE_ATTRIBUTION,
|
|
34
|
+
NSID.SOURCE_REF,
|
|
35
|
+
NSID.EVALUATION,
|
|
36
|
+
NSID.EVENT_CONFIG,
|
|
37
|
+
NSID.EVENT_LISTING,
|
|
38
|
+
NSID.FEED_RECIPE,
|
|
39
|
+
NSID.QUERY,
|
|
40
|
+
NSID.INVITE,
|
|
41
|
+
NSID.MARKET_ASK,
|
|
42
|
+
NSID.MARKET_OFFER,
|
|
43
|
+
NSID.MEMBERSHIP,
|
|
44
|
+
NSID.PLACE,
|
|
45
|
+
NSID.PRESENCE,
|
|
46
|
+
NSID.ACTOR_PROFILE,
|
|
47
|
+
NSID.COLLECTIVE,
|
|
48
|
+
NSID.CALENDAR_EVENT,
|
|
49
|
+
NSID.CALENDAR_RSVP,
|
|
50
|
+
];
|