mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-25 06:47:41 +00:00
v2 path
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import { createClientFor } from "./helpers";
|
||||
|
||||
import { AdminService } from "@zitadel/proto/gen/zitadel/admin_connect";
|
||||
import { AuthService } from "@zitadel/proto/gen/zitadel/auth_connect";
|
||||
import { ManagementService } from "@zitadel/proto/gen/zitadel/management_connect";
|
||||
import { SystemService } from "@zitadel/proto/gen/zitadel/system_connect";
|
||||
import { AdminService } from "@zitadel/proto/zitadel/admin_connect";
|
||||
import { AuthService } from "@zitadel/proto/zitadel/auth_connect";
|
||||
import { ManagementService } from "@zitadel/proto/zitadel/management_connect";
|
||||
import { SystemService } from "@zitadel/proto/zitadel/system_connect";
|
||||
|
||||
export const createAdminServiceClient = createClientFor(AdminService);
|
||||
export const createAuthServiceClient = createClientFor(AuthService);
|
||||
|
@@ -1,10 +1,10 @@
|
||||
import { FeatureService } from "@zitadel/proto/gen/zitadel/feature/v2/feature_service_connect";
|
||||
import { RequestContext } from "@zitadel/proto/gen/zitadel/object/v2/object_pb";
|
||||
import { OIDCService } from "@zitadel/proto/gen/zitadel/oidc/v2/oidc_service_connect";
|
||||
import { OrganizationService } from "@zitadel/proto/gen/zitadel/org/v2/org_service_connect";
|
||||
import { SessionService } from "@zitadel/proto/gen/zitadel/session/v2/session_service_connect";
|
||||
import { SettingsService } from "@zitadel/proto/gen/zitadel/settings/v2/settings_service_connect";
|
||||
import { UserService } from "@zitadel/proto/gen/zitadel/user/v2/user_service_connect";
|
||||
import { FeatureService } from "@zitadel/proto/zitadel/feature/v2/feature_service_connect";
|
||||
import { RequestContext } from "@zitadel/proto/zitadel/object/v2/object_pb";
|
||||
import { OIDCService } from "@zitadel/proto/zitadel/oidc/v2/oidc_service_connect";
|
||||
import { OrganizationService } from "@zitadel/proto/zitadel/org/v2/org_service_connect";
|
||||
import { SessionService } from "@zitadel/proto/zitadel/session/v2/session_service_connect";
|
||||
import { SettingsService } from "@zitadel/proto/zitadel/settings/v2/settings_service_connect";
|
||||
import { UserService } from "@zitadel/proto/zitadel/user/v2/user_service_connect";
|
||||
import { createClientFor } from "./helpers";
|
||||
|
||||
export const createUserServiceClient = createClientFor(UserService);
|
||||
|
@@ -1,5 +1,5 @@
|
||||
import { UserSchemaService } from "@zitadel/proto/gen/zitadel/user/schema/v3alpha/user_schema_service_connect";
|
||||
import { UserService } from "@zitadel/proto/gen/zitadel/user/v3alpha/user_service_connect";
|
||||
import { UserSchemaService } from "@zitadel/proto/zitadel/user/schema/v3alpha/user_schema_service_connect";
|
||||
import { UserService } from "@zitadel/proto/zitadel/user/v3alpha/user_service_connect";
|
||||
import { createClientFor } from "./helpers";
|
||||
|
||||
export const createUserSchemaServiceClient = createClientFor(UserSchemaService);
|
||||
|
2
packages/zitadel-proto/.gitignore
vendored
2
packages/zitadel-proto/.gitignore
vendored
@@ -1 +1 @@
|
||||
gen
|
||||
zitadel
|
@@ -3,6 +3,6 @@ managed:
|
||||
enabled: true
|
||||
plugins:
|
||||
- remote: buf.build/connectrpc/es:v1.4.0
|
||||
out: gen
|
||||
- remote: buf.build/bufbuild/es
|
||||
out: gen
|
||||
out: .
|
||||
- remote: buf.build/bufbuild/es:v1.7.2
|
||||
out: .
|
||||
|
@@ -12,7 +12,7 @@
|
||||
"sideEffects": false,
|
||||
"scripts": {
|
||||
"generate": "buf generate https://github.com/zitadel/zitadel.git --path ./proto/zitadel",
|
||||
"clean": "rm -rf gen && rm -rf .turbo && rm -rf node_modules"
|
||||
"clean": "rm -rf zitadel && rm -rf .turbo && rm -rf node_modules"
|
||||
},
|
||||
"dependencies": {
|
||||
"@bufbuild/protobuf": "^1.10.0"
|
||||
|
@@ -1,13 +1,9 @@
|
||||
{
|
||||
"extends": [
|
||||
"//"
|
||||
],
|
||||
"extends": ["//"],
|
||||
"tasks": {
|
||||
"generate": {
|
||||
"outputs": [
|
||||
"zitadel/**"
|
||||
],
|
||||
"cache": true
|
||||
"outputs": ["zitadel/**"],
|
||||
"cache": false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user