@workos-inc/widgets 1.19.0-next.1790711846478 → 1.19.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 +3 -5
- package/dist/cjs/lib/i18n/translation.cjs +27 -14
- package/dist/cjs/lib/i18n/translation.cjs.map +1 -1
- package/dist/esm/lib/i18n/translation.js +17 -14
- package/dist/esm/lib/i18n/translation.js.map +1 -1
- package/dist/esm/lib/identity-providers.d.ts +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 1.19.0
|
|
3
|
+
## 1.19.0
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
7
|
-
- Widgets now use the new [GraphQL Widgets API](https://workos.com/docs/widgets-api) for all requests.
|
|
7
|
+
- Widgets now use the new [GraphQL Widgets API](https://workos.com/docs/widgets-api) for all requests. You do not need to change anything in your code to use the new API.
|
|
8
8
|
|
|
9
9
|
### Patch Changes
|
|
10
10
|
|
|
11
|
-
-
|
|
12
|
-
|
|
13
|
-
- Sync generated API from upstream schema.
|
|
11
|
+
- Fix a React missing `key` warning when a translated message interpolates elements.
|
|
14
12
|
|
|
15
13
|
## 1.18.0
|
|
16
14
|
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
"use client";
|
|
3
|
+
var __create = Object.create;
|
|
3
4
|
var __defProp = Object.defineProperty;
|
|
4
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
8
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
9
|
var __export = (target, all) => {
|
|
8
10
|
for (var name in all)
|
|
@@ -16,29 +18,34 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
18
|
}
|
|
17
19
|
return to;
|
|
18
20
|
};
|
|
21
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
22
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
23
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
24
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
25
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
26
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
27
|
+
mod
|
|
28
|
+
));
|
|
19
29
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
30
|
var translation_exports = {};
|
|
21
31
|
__export(translation_exports, {
|
|
22
32
|
Translation: () => Translation
|
|
23
33
|
});
|
|
24
34
|
module.exports = __toCommonJS(translation_exports);
|
|
25
|
-
var
|
|
35
|
+
var React = __toESM(require("react"), 1);
|
|
26
36
|
var import_intl_context = require("./intl-context.js");
|
|
27
37
|
const Translation = (props) => {
|
|
28
38
|
const { defaultMessage, id, description, trailingSpace, values } = props;
|
|
29
39
|
const i18n = (0, import_intl_context.useIntl)();
|
|
30
40
|
if (i18n) {
|
|
31
|
-
const
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
41
|
+
const message = i18n.formatMessage(
|
|
42
|
+
{ id, defaultMessage, description },
|
|
43
|
+
values
|
|
44
|
+
);
|
|
45
|
+
return renderMessage(message, trailingSpace);
|
|
36
46
|
}
|
|
37
47
|
if (!values) {
|
|
38
|
-
return
|
|
39
|
-
defaultMessage,
|
|
40
|
-
" "
|
|
41
|
-
] }) : defaultMessage;
|
|
48
|
+
return renderMessage(defaultMessage, trailingSpace);
|
|
42
49
|
}
|
|
43
50
|
const parts = [];
|
|
44
51
|
let lastIndex = 0;
|
|
@@ -55,11 +62,17 @@ const Translation = (props) => {
|
|
|
55
62
|
if (lastIndex < defaultMessage.length) {
|
|
56
63
|
parts.push(defaultMessage.substring(lastIndex));
|
|
57
64
|
}
|
|
58
|
-
return
|
|
59
|
-
parts,
|
|
60
|
-
" "
|
|
61
|
-
] }) : parts;
|
|
65
|
+
return renderMessage(parts, trailingSpace);
|
|
62
66
|
};
|
|
67
|
+
function renderMessage(message, trailingSpace) {
|
|
68
|
+
const parts = Array.isArray(message) ? message : [message];
|
|
69
|
+
return React.createElement(
|
|
70
|
+
React.Fragment,
|
|
71
|
+
null,
|
|
72
|
+
...parts,
|
|
73
|
+
trailingSpace ? " " : null
|
|
74
|
+
);
|
|
75
|
+
}
|
|
63
76
|
// Annotate the CommonJS export names for ESM import in node:
|
|
64
77
|
0 && (module.exports = {
|
|
65
78
|
Translation
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/lib/i18n/translation.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport {\n useIntl,\n type MessageDescriptor,\n type MessageValues,\n} from \"./intl-context.js\";\n\ntype TranslationProps = MessageDescriptor & {\n trailingSpace?: boolean;\n values?: MessageValues;\n};\n\n/**\n * Translation component that gracefully degrades when no I18nProvider is present.\n *\n * - With I18nProvider: Uses react-intl for full i18n support (react-intl will be bundled)\n * - Without I18nProvider: Renders the defaultMessage with simple value interpolation (no react-intl bundled)\n */\nexport const Translation: React.FC<TranslationProps> = (props) => {\n const { defaultMessage, id, description, trailingSpace, values } = props;\n const i18n = useIntl();\n\n // If I18nProvider is present, use react-intl's formatting\n if (i18n) {\n const
|
|
1
|
+
{"version":3,"sources":["../../../../src/lib/i18n/translation.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport {\n useIntl,\n type MessageDescriptor,\n type MessageValues,\n} from \"./intl-context.js\";\n\ntype TranslationProps = MessageDescriptor & {\n trailingSpace?: boolean;\n values?: MessageValues;\n};\n\n/**\n * Translation component that gracefully degrades when no I18nProvider is present.\n *\n * - With I18nProvider: Uses react-intl for full i18n support (react-intl will be bundled)\n * - Without I18nProvider: Renders the defaultMessage with simple value interpolation (no react-intl bundled)\n */\nexport const Translation: React.FC<TranslationProps> = (props) => {\n const { defaultMessage, id, description, trailingSpace, values } = props;\n const i18n = useIntl();\n\n // If I18nProvider is present, use react-intl's formatting\n if (i18n) {\n const message = i18n.formatMessage(\n { id, defaultMessage, description },\n values,\n );\n return renderMessage(message, trailingSpace);\n }\n\n // If no I18nProvider is present, render the defaultMessage with simple interpolation\n if (!values) {\n return renderMessage(defaultMessage, trailingSpace);\n }\n\n // Simple interpolation: split by placeholders and interleave with values\n const parts: React.ReactNode[] = [];\n let lastIndex = 0;\n const regex = /\\{(\\w+)\\}/g;\n let match;\n\n while ((match = regex.exec(defaultMessage)) !== null) {\n const [placeholder, key] = match;\n\n // Add text before the placeholder\n if (match.index > lastIndex) {\n parts.push(defaultMessage.substring(lastIndex, match.index));\n }\n\n // Add the interpolated value or placeholder if not found\n parts.push(values[key] ?? placeholder);\n lastIndex = match.index + placeholder.length;\n }\n\n // Add remaining text\n if (lastIndex < defaultMessage.length) {\n parts.push(defaultMessage.substring(lastIndex));\n }\n\n return renderMessage(parts, trailingSpace);\n};\n\nfunction renderMessage(\n message: string | React.ReactNode[],\n trailingSpace: boolean | undefined,\n) {\n const parts = Array.isArray(message) ? message : [message];\n return React.createElement(\n React.Fragment,\n null,\n ...parts,\n trailingSpace ? \" \" : null,\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,YAAuB;AACvB,0BAIO;AAaA,MAAM,cAA0C,CAAC,UAAU;AAChE,QAAM,EAAE,gBAAgB,IAAI,aAAa,eAAe,OAAO,IAAI;AACnE,QAAM,WAAO,6BAAQ;AAGrB,MAAI,MAAM;AACR,UAAM,UAAU,KAAK;AAAA,MACnB,EAAE,IAAI,gBAAgB,YAAY;AAAA,MAClC;AAAA,IACF;AACA,WAAO,cAAc,SAAS,aAAa;AAAA,EAC7C;AAGA,MAAI,CAAC,QAAQ;AACX,WAAO,cAAc,gBAAgB,aAAa;AAAA,EACpD;AAGA,QAAM,QAA2B,CAAC;AAClC,MAAI,YAAY;AAChB,QAAM,QAAQ;AACd,MAAI;AAEJ,UAAQ,QAAQ,MAAM,KAAK,cAAc,OAAO,MAAM;AACpD,UAAM,CAAC,aAAa,GAAG,IAAI;AAG3B,QAAI,MAAM,QAAQ,WAAW;AAC3B,YAAM,KAAK,eAAe,UAAU,WAAW,MAAM,KAAK,CAAC;AAAA,IAC7D;AAGA,UAAM,KAAK,OAAO,GAAG,KAAK,WAAW;AACrC,gBAAY,MAAM,QAAQ,YAAY;AAAA,EACxC;AAGA,MAAI,YAAY,eAAe,QAAQ;AACrC,UAAM,KAAK,eAAe,UAAU,SAAS,CAAC;AAAA,EAChD;AAEA,SAAO,cAAc,OAAO,aAAa;AAC3C;AAEA,SAAS,cACP,SACA,eACA;AACA,QAAM,QAAQ,MAAM,QAAQ,OAAO,IAAI,UAAU,CAAC,OAAO;AACzD,SAAO,MAAM;AAAA,IACX,MAAM;AAAA,IACN;AAAA,IACA,GAAG;AAAA,IACH,gBAAgB,MAAM;AAAA,EACxB;AACF;","names":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import
|
|
2
|
+
import * as React from "react";
|
|
3
3
|
import {
|
|
4
4
|
useIntl
|
|
5
5
|
} from "./intl-context.js";
|
|
@@ -7,17 +7,14 @@ const Translation = (props) => {
|
|
|
7
7
|
const { defaultMessage, id, description, trailingSpace, values } = props;
|
|
8
8
|
const i18n = useIntl();
|
|
9
9
|
if (i18n) {
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
const message = i18n.formatMessage(
|
|
11
|
+
{ id, defaultMessage, description },
|
|
12
|
+
values
|
|
13
|
+
);
|
|
14
|
+
return renderMessage(message, trailingSpace);
|
|
15
15
|
}
|
|
16
16
|
if (!values) {
|
|
17
|
-
return
|
|
18
|
-
defaultMessage,
|
|
19
|
-
" "
|
|
20
|
-
] }) : defaultMessage;
|
|
17
|
+
return renderMessage(defaultMessage, trailingSpace);
|
|
21
18
|
}
|
|
22
19
|
const parts = [];
|
|
23
20
|
let lastIndex = 0;
|
|
@@ -34,11 +31,17 @@ const Translation = (props) => {
|
|
|
34
31
|
if (lastIndex < defaultMessage.length) {
|
|
35
32
|
parts.push(defaultMessage.substring(lastIndex));
|
|
36
33
|
}
|
|
37
|
-
return
|
|
38
|
-
parts,
|
|
39
|
-
" "
|
|
40
|
-
] }) : parts;
|
|
34
|
+
return renderMessage(parts, trailingSpace);
|
|
41
35
|
};
|
|
36
|
+
function renderMessage(message, trailingSpace) {
|
|
37
|
+
const parts = Array.isArray(message) ? message : [message];
|
|
38
|
+
return React.createElement(
|
|
39
|
+
React.Fragment,
|
|
40
|
+
null,
|
|
41
|
+
...parts,
|
|
42
|
+
trailingSpace ? " " : null
|
|
43
|
+
);
|
|
44
|
+
}
|
|
42
45
|
export {
|
|
43
46
|
Translation
|
|
44
47
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/lib/i18n/translation.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport {\n useIntl,\n type MessageDescriptor,\n type MessageValues,\n} from \"./intl-context.js\";\n\ntype TranslationProps = MessageDescriptor & {\n trailingSpace?: boolean;\n values?: MessageValues;\n};\n\n/**\n * Translation component that gracefully degrades when no I18nProvider is present.\n *\n * - With I18nProvider: Uses react-intl for full i18n support (react-intl will be bundled)\n * - Without I18nProvider: Renders the defaultMessage with simple value interpolation (no react-intl bundled)\n */\nexport const Translation: React.FC<TranslationProps> = (props) => {\n const { defaultMessage, id, description, trailingSpace, values } = props;\n const i18n = useIntl();\n\n // If I18nProvider is present, use react-intl's formatting\n if (i18n) {\n const
|
|
1
|
+
{"version":3,"sources":["../../../../src/lib/i18n/translation.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport {\n useIntl,\n type MessageDescriptor,\n type MessageValues,\n} from \"./intl-context.js\";\n\ntype TranslationProps = MessageDescriptor & {\n trailingSpace?: boolean;\n values?: MessageValues;\n};\n\n/**\n * Translation component that gracefully degrades when no I18nProvider is present.\n *\n * - With I18nProvider: Uses react-intl for full i18n support (react-intl will be bundled)\n * - Without I18nProvider: Renders the defaultMessage with simple value interpolation (no react-intl bundled)\n */\nexport const Translation: React.FC<TranslationProps> = (props) => {\n const { defaultMessage, id, description, trailingSpace, values } = props;\n const i18n = useIntl();\n\n // If I18nProvider is present, use react-intl's formatting\n if (i18n) {\n const message = i18n.formatMessage(\n { id, defaultMessage, description },\n values,\n );\n return renderMessage(message, trailingSpace);\n }\n\n // If no I18nProvider is present, render the defaultMessage with simple interpolation\n if (!values) {\n return renderMessage(defaultMessage, trailingSpace);\n }\n\n // Simple interpolation: split by placeholders and interleave with values\n const parts: React.ReactNode[] = [];\n let lastIndex = 0;\n const regex = /\\{(\\w+)\\}/g;\n let match;\n\n while ((match = regex.exec(defaultMessage)) !== null) {\n const [placeholder, key] = match;\n\n // Add text before the placeholder\n if (match.index > lastIndex) {\n parts.push(defaultMessage.substring(lastIndex, match.index));\n }\n\n // Add the interpolated value or placeholder if not found\n parts.push(values[key] ?? placeholder);\n lastIndex = match.index + placeholder.length;\n }\n\n // Add remaining text\n if (lastIndex < defaultMessage.length) {\n parts.push(defaultMessage.substring(lastIndex));\n }\n\n return renderMessage(parts, trailingSpace);\n};\n\nfunction renderMessage(\n message: string | React.ReactNode[],\n trailingSpace: boolean | undefined,\n) {\n const parts = Array.isArray(message) ? message : [message];\n return React.createElement(\n React.Fragment,\n null,\n ...parts,\n trailingSpace ? \" \" : null,\n );\n}\n"],"mappings":";AAEA,YAAY,WAAW;AACvB;AAAA,EACE;AAAA,OAGK;AAaA,MAAM,cAA0C,CAAC,UAAU;AAChE,QAAM,EAAE,gBAAgB,IAAI,aAAa,eAAe,OAAO,IAAI;AACnE,QAAM,OAAO,QAAQ;AAGrB,MAAI,MAAM;AACR,UAAM,UAAU,KAAK;AAAA,MACnB,EAAE,IAAI,gBAAgB,YAAY;AAAA,MAClC;AAAA,IACF;AACA,WAAO,cAAc,SAAS,aAAa;AAAA,EAC7C;AAGA,MAAI,CAAC,QAAQ;AACX,WAAO,cAAc,gBAAgB,aAAa;AAAA,EACpD;AAGA,QAAM,QAA2B,CAAC;AAClC,MAAI,YAAY;AAChB,QAAM,QAAQ;AACd,MAAI;AAEJ,UAAQ,QAAQ,MAAM,KAAK,cAAc,OAAO,MAAM;AACpD,UAAM,CAAC,aAAa,GAAG,IAAI;AAG3B,QAAI,MAAM,QAAQ,WAAW;AAC3B,YAAM,KAAK,eAAe,UAAU,WAAW,MAAM,KAAK,CAAC;AAAA,IAC7D;AAGA,UAAM,KAAK,OAAO,GAAG,KAAK,WAAW;AACrC,gBAAY,MAAM,QAAQ,YAAY;AAAA,EACxC;AAGA,MAAI,YAAY,eAAe,QAAQ;AACrC,UAAM,KAAK,eAAe,UAAU,SAAS,CAAC;AAAA,EAChD;AAEA,SAAO,cAAc,OAAO,aAAa;AAC3C;AAEA,SAAS,cACP,SACA,eACA;AACA,QAAM,QAAQ,MAAM,QAAQ,OAAO,IAAI,UAAU,CAAC,OAAO;AACzD,SAAO,MAAM;AAAA,IACX,MAAM;AAAA,IACN;AAAA,IACA,GAAG;AAAA,IACH,gBAAgB,MAAM;AAAA,EACxB;AACF;","names":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
declare const IDENTITY_PROVIDER_DICT: Map<"asana" | "box" | "datadog" | "dropbox" | "github" | "gitlab" | "google" | "google-calendar" | "google-drive" | "hubspot" | "intercom" | "linear" | "microsoft" | "notion" | "salesforce" | "slack" | "stripe" | "xero" | "zendesk" | "azure" | "access-people-hr" | "adp" | "apple" | "auth0" | "aws" | "bamboohr" | "bamboo-hr" | "bitbucket" | "breathe-hr" | "bubble" | "cas" | "cezanne-hr" | "classlink" | "clerk" | "cloudflare" | "cyberark" | "duo" | "firebase" | "fourth" | "generic-saml" | "generic-oidc" | "godaddy" | "google-analytics" | "google-mail" | "google-cloud" | "hibob" | "intuit" | "jumpcloud" | "keycloak" | "lastpass" | "linkedin" | "login-gov" | "miniorange" | "net-iq" | "next-auth" | "okta" | "onelogin" | "oracle" | "personio" | "ping-identity" | "react-native-expo" | "rippling" | "segment" | "shibboleth" | "simple-saml-php" | "splunk" | "supabase" | "vercel" | "vmware" | "workday" | "workos" | "test-idp" | "discord" | "clever", "
|
|
1
|
+
declare const IDENTITY_PROVIDER_DICT: Map<"asana" | "box" | "datadog" | "dropbox" | "github" | "gitlab" | "google" | "google-calendar" | "google-drive" | "hubspot" | "intercom" | "linear" | "microsoft" | "notion" | "salesforce" | "slack" | "stripe" | "xero" | "zendesk" | "azure" | "access-people-hr" | "adp" | "apple" | "auth0" | "aws" | "bamboohr" | "bamboo-hr" | "bitbucket" | "breathe-hr" | "bubble" | "cas" | "cezanne-hr" | "classlink" | "clerk" | "cloudflare" | "cyberark" | "duo" | "firebase" | "fourth" | "generic-saml" | "generic-oidc" | "godaddy" | "google-analytics" | "google-mail" | "google-cloud" | "hibob" | "intuit" | "jumpcloud" | "keycloak" | "lastpass" | "linkedin" | "login-gov" | "miniorange" | "net-iq" | "next-auth" | "okta" | "onelogin" | "oracle" | "personio" | "ping-identity" | "react-native-expo" | "rippling" | "segment" | "shibboleth" | "simple-saml-php" | "splunk" | "supabase" | "vercel" | "vmware" | "workday" | "workos" | "test-idp" | "discord" | "clever", "Access People HR" | "ADP" | "Apple" | "Asana" | "Auth0" | "Azure" | "AWS" | "BambooHR" | "Bitbucket" | "Box" | "BreatheHR" | "Bubble" | "CAS" | "Cezanne HR" | "Classlink" | "Clerk" | "Cloudflare" | "CyberArk" | "Datadog" | "Dropbox" | "Duo" | "Firebase" | "Fourth" | "Generic SAML" | "Generic OIDC" | "GitHub" | "GitLab" | "GoDaddy" | "Google" | "Google Analytics" | "Google Calendar" | "Google Drive" | "Google Mail" | "Google Cloud" | "HiBob" | "Hubspot" | "Intercom" | "Intuit" | "JumpCloud" | "Keycloak" | "LastPass" | "Linear" | "LinkedIn" | "Login.gov" | "Microsoft" | "Miniorange" | "NetIQ" | "NextAuth" | "Notion" | "Okta" | "OneLogin" | "Oracle" | "Personio" | "Ping Identity" | "React Native Expo" | "Rippling" | "Salesforce" | "Segment" | "Shibboleth" | "Simple SAML PHP" | "Slack" | "Splunk" | "Stripe" | "Supabase" | "Vercel" | "VMware" | "Workday" | "WorkOS" | "Xero" | "Zendesk" | "Test IDP" | "Discord" | "Clever">;
|
|
2
2
|
type MapKey<T extends Map<unknown, unknown>> = T extends Map<infer K, unknown> ? K : never;
|
|
3
3
|
type IdentityProvider = MapKey<typeof IDENTITY_PROVIDER_DICT>;
|
|
4
|
-
declare function getIdentityProviderName(provider: IdentityProvider): "
|
|
4
|
+
declare function getIdentityProviderName(provider: IdentityProvider): "Access People HR" | "ADP" | "Apple" | "Asana" | "Auth0" | "Azure" | "AWS" | "BambooHR" | "Bitbucket" | "Box" | "BreatheHR" | "Bubble" | "CAS" | "Cezanne HR" | "Classlink" | "Clerk" | "Cloudflare" | "CyberArk" | "Datadog" | "Dropbox" | "Duo" | "Firebase" | "Fourth" | "Generic SAML" | "Generic OIDC" | "GitHub" | "GitLab" | "GoDaddy" | "Google" | "Google Analytics" | "Google Calendar" | "Google Drive" | "Google Mail" | "Google Cloud" | "HiBob" | "Hubspot" | "Intercom" | "Intuit" | "JumpCloud" | "Keycloak" | "LastPass" | "Linear" | "LinkedIn" | "Login.gov" | "Microsoft" | "Miniorange" | "NetIQ" | "NextAuth" | "Notion" | "Okta" | "OneLogin" | "Oracle" | "Personio" | "Ping Identity" | "React Native Expo" | "Rippling" | "Salesforce" | "Segment" | "Shibboleth" | "Simple SAML PHP" | "Slack" | "Splunk" | "Stripe" | "Supabase" | "Vercel" | "VMware" | "Workday" | "WorkOS" | "Xero" | "Zendesk" | "Test IDP" | "Discord" | "Clever" | undefined;
|
|
5
5
|
declare function getDirectoryTypeIcon(directoryType: string): IdentityProvider | null;
|
|
6
6
|
declare function getDirectoryTypeName(directoryType: string): string;
|
|
7
7
|
declare function isIdentityProvider(provider: unknown): boolean;
|