tailwind package

This commit is contained in:
Max Peintner
2023-04-14 13:35:27 +02:00
parent b275a0de62
commit 2c04b79f1b
27 changed files with 264 additions and 221 deletions

View File

@@ -29,6 +29,7 @@
},
"dependencies": {
"jose": "^4.13.1",
"long": "^5.2.1",
"nice-grpc": "2.0.1",
"protobufjs": "^7.2.3"
}

View File

@@ -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 };