@estopia/shared 1.0.36 → 1.0.37
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/types/oauth.d.ts +47 -3
- package/dist/types/oauth.d.ts.map +1 -1
- package/dist/types/oauth.js +12 -1
- package/dist/types/oauth.js.map +1 -1
- package/package.json +1 -1
package/dist/types/oauth.d.ts
CHANGED
|
@@ -23,18 +23,62 @@ export declare const OAUTH_SCOPES: readonly [{
|
|
|
23
23
|
readonly label: "Read Phone";
|
|
24
24
|
readonly desc: "Access to your registered phone numbers.";
|
|
25
25
|
}, {
|
|
26
|
-
readonly id: "profile:read:
|
|
27
|
-
readonly label: "Read
|
|
26
|
+
readonly id: "profile:read:admin";
|
|
27
|
+
readonly label: "Read Admin";
|
|
28
28
|
readonly desc: "Access to your admin status.";
|
|
29
|
+
}, {
|
|
30
|
+
readonly id: "profile:read:icon";
|
|
31
|
+
readonly label: "Read Icon";
|
|
32
|
+
readonly desc: "Access to your profile icon URL.";
|
|
33
|
+
}, {
|
|
34
|
+
readonly id: "profile:read:preferences";
|
|
35
|
+
readonly label: "Read Preferences";
|
|
36
|
+
readonly desc: "Access to your profile preferences.";
|
|
37
|
+
}, {
|
|
38
|
+
readonly id: "profile:read:passkeys";
|
|
39
|
+
readonly label: "Read Passkeys";
|
|
40
|
+
readonly desc: "Access to your registered passkeys.";
|
|
41
|
+
}, {
|
|
42
|
+
readonly id: "profile:read:authapps";
|
|
43
|
+
readonly label: "Read Auth Apps";
|
|
44
|
+
readonly desc: "Access to your registered authentication apps.";
|
|
29
45
|
}, {
|
|
30
46
|
readonly id: "profile:read:username";
|
|
31
47
|
readonly label: "Read Username";
|
|
32
48
|
readonly desc: "Access to your unique username.";
|
|
49
|
+
}, {
|
|
50
|
+
readonly id: "profile:write:email";
|
|
51
|
+
readonly label: "Write Email";
|
|
52
|
+
readonly desc: "Permission to update your email address. Will still need verified. This includes resending verfication emails.";
|
|
53
|
+
}, {
|
|
54
|
+
readonly id: "profile:write:password";
|
|
55
|
+
readonly label: "Write Password";
|
|
56
|
+
readonly desc: "Permission to update your password.";
|
|
57
|
+
}, {
|
|
58
|
+
readonly id: "profile:write:icon";
|
|
59
|
+
readonly label: "Write Icon";
|
|
60
|
+
readonly desc: "Permission to update your profile icon.";
|
|
61
|
+
}, {
|
|
62
|
+
readonly id: "profile:write:preferences";
|
|
63
|
+
readonly label: "Write Preferences";
|
|
64
|
+
readonly desc: "Permission to update your profile preferences.";
|
|
65
|
+
}, {
|
|
66
|
+
readonly id: "profile:write:passkeys";
|
|
67
|
+
readonly label: "Write Passkeys";
|
|
68
|
+
readonly desc: "Permission to update your registered passkeys.";
|
|
69
|
+
}, {
|
|
70
|
+
readonly id: "profile:write:authapps";
|
|
71
|
+
readonly label: "Write Auth Apps";
|
|
72
|
+
readonly desc: "Permission to update your registered authentication apps.";
|
|
73
|
+
}, {
|
|
74
|
+
readonly id: "profile:delete:email";
|
|
75
|
+
readonly label: "Delete Email";
|
|
76
|
+
readonly desc: "Permission to delete your email address.";
|
|
33
77
|
}, {
|
|
34
78
|
readonly id: "openid";
|
|
35
79
|
readonly label: "OpenID";
|
|
36
80
|
readonly desc: "Standard OpenID Connect scope.";
|
|
37
81
|
}];
|
|
38
82
|
export type OAuthScope = typeof OAUTH_SCOPES[number]['id'];
|
|
39
|
-
export declare const SCOPE_IDS: ("profile" | "profile:read" | "profile:write" | "profile:write:username" | "profile:read:email" | "profile:read:phone" | "profile:read:
|
|
83
|
+
export declare const SCOPE_IDS: ("profile" | "profile:read" | "profile:write" | "profile:write:username" | "profile:read:email" | "profile:read:phone" | "profile:read:admin" | "profile:read:icon" | "profile:read:preferences" | "profile:read:passkeys" | "profile:read:authapps" | "profile:read:username" | "profile:write:email" | "profile:write:password" | "profile:write:icon" | "profile:write:preferences" | "profile:write:passkeys" | "profile:write:authapps" | "profile:delete:email" | "openid")[];
|
|
40
84
|
//# sourceMappingURL=oauth.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth.d.ts","sourceRoot":"","sources":["../../src/types/oauth.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"oauth.d.ts","sourceRoot":"","sources":["../../src/types/oauth.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBf,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,OAAO,YAAY,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC;AAE3D,eAAO,MAAM,SAAS,qdAA8B,CAAC"}
|
package/dist/types/oauth.js
CHANGED
|
@@ -8,8 +8,19 @@ exports.OAUTH_SCOPES = [
|
|
|
8
8
|
{ id: 'profile:write:username', label: 'Write Username', desc: 'Permission to update your username.' },
|
|
9
9
|
{ id: 'profile:read:email', label: 'Read Emails', desc: 'Access to your registered email addresses.' },
|
|
10
10
|
{ id: 'profile:read:phone', label: 'Read Phone', desc: 'Access to your registered phone numbers.' },
|
|
11
|
-
{ id: 'profile:read:
|
|
11
|
+
{ id: 'profile:read:admin', label: 'Read Admin', desc: 'Access to your admin status.' },
|
|
12
|
+
{ id: 'profile:read:icon', label: 'Read Icon', desc: 'Access to your profile icon URL.' },
|
|
13
|
+
{ id: 'profile:read:preferences', label: 'Read Preferences', desc: 'Access to your profile preferences.' },
|
|
14
|
+
{ id: 'profile:read:passkeys', label: 'Read Passkeys', desc: 'Access to your registered passkeys.' },
|
|
15
|
+
{ id: 'profile:read:authapps', label: 'Read Auth Apps', desc: 'Access to your registered authentication apps.' },
|
|
12
16
|
{ id: 'profile:read:username', label: 'Read Username', desc: 'Access to your unique username.' },
|
|
17
|
+
{ id: 'profile:write:email', label: 'Write Email', desc: 'Permission to update your email address. Will still need verified. This includes resending verfication emails.' },
|
|
18
|
+
{ id: 'profile:write:password', label: 'Write Password', desc: 'Permission to update your password.' },
|
|
19
|
+
{ id: 'profile:write:icon', label: 'Write Icon', desc: 'Permission to update your profile icon.' },
|
|
20
|
+
{ id: 'profile:write:preferences', label: 'Write Preferences', desc: 'Permission to update your profile preferences.' },
|
|
21
|
+
{ id: 'profile:write:passkeys', label: 'Write Passkeys', desc: 'Permission to update your registered passkeys.' },
|
|
22
|
+
{ id: 'profile:write:authapps', label: 'Write Auth Apps', desc: 'Permission to update your registered authentication apps.' },
|
|
23
|
+
{ id: 'profile:delete:email', label: 'Delete Email', desc: 'Permission to delete your email address.' },
|
|
13
24
|
{ id: 'openid', label: 'OpenID', desc: 'Standard OpenID Connect scope.' }
|
|
14
25
|
];
|
|
15
26
|
exports.SCOPE_IDS = exports.OAUTH_SCOPES.map(s => s.id);
|
package/dist/types/oauth.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth.js","sourceRoot":"","sources":["../../src/types/oauth.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG;IAC1B,EAAE,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,eAAe,EAAE,IAAI,EAAE,4CAA4C,EAAE;IAC7F,EAAE,EAAE,EAAE,cAAc,EAAE,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,qDAAqD,EAAE;IAC1G,EAAE,EAAE,EAAE,eAAe,EAAE,KAAK,EAAE,eAAe,EAAE,IAAI,EAAE,4CAA4C,EAAE;IACnG,EAAE,EAAE,EAAE,wBAAwB,EAAE,KAAK,EAAE,gBAAgB,EAAE,IAAI,EAAE,qCAAqC,EAAE;IACtG,EAAE,EAAE,EAAE,oBAAoB,EAAE,KAAK,EAAE,aAAa,EAAE,IAAI,EAAE,4CAA4C,EAAE;IACtG,EAAE,EAAE,EAAE,oBAAoB,EAAE,KAAK,EAAE,YAAY,EAAE,IAAI,EAAE,0CAA0C,EAAE;IACnG,EAAE,EAAE,EAAE,mBAAmB,EAAE,KAAK,EAAE,WAAW,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