mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 12:29:04 +00:00
tailwind package
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"jose": "^4.13.1",
|
||||
"long": "^5.2.1",
|
||||
"nice-grpc": "2.0.1",
|
||||
"protobufjs": "^7.2.3"
|
||||
}
|
||||
|
||||
@@ -1,13 +1,6 @@
|
||||
/**
|
||||
* Return a slugified copy of a string.
|
||||
*
|
||||
* @param {CoreProps} str The ZITADEL client configuration
|
||||
* @return {Core} The client implementation.
|
||||
*/
|
||||
|
||||
let apps: ZitadelApp[] = [];
|
||||
|
||||
export interface ZitadelCoreProps {
|
||||
export interface ZitadelClientProps {
|
||||
clientId: string;
|
||||
apiUrl: string; // process.env.ZITADEL_API_URL
|
||||
token: string;
|
||||
@@ -15,17 +8,17 @@ export interface ZitadelCoreProps {
|
||||
managementToken?: string;
|
||||
}
|
||||
|
||||
export interface ZitadelOptions extends ZitadelCoreProps {
|
||||
export interface ZitadelOptions extends ZitadelClientProps {
|
||||
name?: string;
|
||||
}
|
||||
|
||||
export interface ZitadelApp {
|
||||
name: string | undefined;
|
||||
config: ZitadelCoreProps;
|
||||
config: ZitadelClientProps;
|
||||
}
|
||||
|
||||
export async function initializeApp(
|
||||
config: ZitadelCoreProps,
|
||||
config: ZitadelClientProps,
|
||||
name?: string
|
||||
): Promise<ZitadelApp> {
|
||||
const app = { config, name };
|
||||
|
||||
Reference in New Issue
Block a user