Files
IdP/project_map.md
2026-08-31 11:40:47 +03:00

609 lines
40 KiB
Markdown

????????? ????? ???? ARCHIVE
???????? ????? ????: 00000058 48BE:9CBA
F:.
? .cursorrules
? .dockerignore
? .env.example
? .npmrc
? docker-compose.yml
? install.sh
? package-lock.json
? package.json
? project_map.md
? tsconfig.base.json
?
+---apps
? +---api-gateway
? ? ? Dockerfile
? ? ? nest-cli.json
? ? ? package.json
? ? ? tsconfig.json
? ? ?
? ? L---src
? ? ? app.module.ts
? ? ? auth-token.ts
? ? ? client-request.util.ts
? ? ? core-grpc.service.ts
? ? ? document-access.ts
? ? ? grpc-exception.filter.ts
? ? ? main.ts
? ? ? media-content-disposition.ts
? ? ? session-auth.ts
? ? ?
? ? +---controllers
? ? ? addresses.controller.ts
? ? ? admin-app-release.controller.ts
? ? ? admin-bot.controller.ts
? ? ? admin.controller.ts
? ? ? advanced-auth.controller.ts
? ? ? app-release.controller.ts
? ? ? auth.controller.ts
? ? ? bot.controller.ts
? ? ? chat.controller.ts
? ? ? documents.controller.ts
? ? ? family.controller.ts
? ? ? fedcm.controller.ts
? ? ? health.controller.ts
? ? ? media.controller.ts
? ? ? notifications.controller.ts
? ? ? oauth.controller.ts
? ? ? otp.controller.ts
? ? ? profile.controller.ts
? ? ? public-settings.controller.ts
? ? ? rbac.controller.ts
? ? ? security.controller.ts
? ? ? settings.controller.ts
? ? ? telegram-bot-api.controller.ts
? ? ? well-known.controller.ts
? ? ?
? ? +---decorators
? ? ? current-admin.decorator.ts
? ? ?
? ? +---dto
? ? ? addresses.dto.ts
? ? ? admin.dto.ts
? ? ? app-release.dto.ts
? ? ? auth.dto.ts
? ? ? bot.dto.ts
? ? ? chat.dto.ts
? ? ? documents.dto.ts
? ? ? identity.dto.ts
? ? ? media.dto.ts
? ? ? notifications.dto.ts
? ? ? oauth.dto.ts
? ? ? profile.dto.ts
? ? ? rbac.dto.ts
? ? ? security.dto.ts
? ? ? settings.dto.ts
? ? ?
? ? +---guards
? ? ? admin.guard.ts
? ? ?
? ? +---interceptors
? ? ? fedcm-cookie.interceptor.ts
? ? ?
? ? L---lib
? ? fedcm-config.ts
? ? fedcm-cookie.ts
? ? fedcm-cors.ts
? ? fedcm-session.ts
? ? oauth-issuer.ts
? ? oauth-params.ts
? ? public-url.ts
? ?
? +---docs
? ? ? Dockerfile
? ? ? next-env.d.ts
? ? ? next.config.ts
? ? ? package.json
? ? ? postcss.config.mjs
? ? ? tsconfig.json
? ? ?
? ? +---app
? ? ? ? globals.css
? ? ? ? layout.tsx
? ? ? ? page.tsx
? ? ? ?
? ? ? +---api
? ? ? ? L---public-settings
? ? ? ? route.ts
? ? ? ?
? ? ? L---docs
? ? ? ? layout.tsx
? ? ? ? page.tsx
? ? ? ?
? ? ? L---[slug]
? ? ? page.tsx
? ? ?
? ? +---components
? ? ? ? api-endpoint-card.tsx
? ? ? ? auth-code-tabs.tsx
? ? ? ? auth-ldap-code-tabs.tsx
? ? ? ? bot-code-tabs.tsx
? ? ? ? code-block.tsx
? ? ? ? code-example-tabs.tsx
? ? ? ? doc-block-renderer.tsx
? ? ? ? docs-home-content.tsx
? ? ? ? docs-shell.tsx
? ? ? ? oauth-code-tabs.tsx
? ? ? ? one-tap-button-builder.tsx
? ? ? ? one-tap-code-tabs.tsx
? ? ? ?
? ? ? L---ui
? ? ? badge.tsx
? ? ? button.tsx
? ? ? card.tsx
? ? ? scroll-area.tsx
? ? ? tabs.tsx
? ? ?
? ? +---lib
? ? ? api-endpoints.ts
? ? ? api.ts
? ? ? auth-examples.ts
? ? ? bot-examples.ts
? ? ? code-example.ts
? ? ? docs-pages.ts
? ? ? navigation.ts
? ? ? oauth-examples.ts
? ? ? oauth-url.ts
? ? ? one-tap-builder.ts
? ? ? one-tap-examples.ts
? ? ? public-settings-cache.ts
? ? ? use-one-tap-urls.ts
? ? ? utils.ts
? ? ?
? ? L---providers
? ? public-settings-provider.tsx
? ? theme-provider.tsx
? ?
? +---frontend
? ? ? components.json
? ? ? Dockerfile
? ? ? next-env.d.ts
? ? ? next.config.ts
? ? ? package.json
? ? ? postcss.config.mjs
? ? ? tsconfig.json
? ? ?
? ? +---app
? ? ? ? globals.css
? ? ? ? icon.svg
? ? ? ? icon.tsx
? ? ? ? layout.tsx
? ? ? ? page.tsx
? ? ? ? providers.tsx
? ? ? ?
? ? ? +---admin
? ? ? ? ? layout.tsx
? ? ? ? ? page.tsx
? ? ? ? ?
? ? ? ? +---bots
? ? ? ? ? page.tsx
? ? ? ? ?
? ? ? ? +---oauth
? ? ? ? ? page.tsx
? ? ? ? ?
? ? ? ? +---rbac
? ? ? ? ? page.tsx
? ? ? ? ?
? ? ? ? +---releases
? ? ? ? ? page.tsx
? ? ? ? ?
? ? ? ? +---settings
? ? ? ? ? page.tsx
? ? ? ? ?
? ? ? ? L---users
? ? ? ? page.tsx
? ? ? ?
? ? ? +---auth
? ? ? ? +---login
? ? ? ? ? page.tsx
? ? ? ? ?
? ? ? ? +---oauth
? ? ? ? ? L---authorize
? ? ? ? ? page.tsx
? ? ? ? ?
? ? ? ? L---register
? ? ? ? page.tsx
? ? ? ?
? ? ? +---data
? ? ? ? ? page.tsx
? ? ? ? ?
? ? ? ? L---consents
? ? ? ? page.tsx
? ? ? ?
? ? ? +---documents
? ? ? ? page.tsx
? ? ? ?
? ? ? +---download
? ? ? ? L---android
? ? ? ? route.ts
? ? ? ?
? ? ? +---downloads
? ? ? ? ? page.tsx
? ? ? ? ?
? ? ? ? +---android
? ? ? ? ? ? route.ts
? ? ? ? ? ?
? ? ? ? ? L---[releaseId]
? ? ? ? ? route.ts
? ? ? ? ?
? ? ? ? L---windows
? ? ? ? ? route.ts
? ? ? ? ?
? ? ? ? L---[releaseId]
? ? ? ? route.ts
? ? ? ?
? ? ? +---family
? ? ? ? ? page.tsx
? ? ? ? ?
? ? ? ? L---[groupId]
? ? ? ? page.tsx
? ? ? ?
? ? ? +---mini-apps
? ? ? ? +---bot-create
? ? ? ? ? content.tsx
? ? ? ? ? page.tsx
? ? ? ? ?
? ? ? ? +---bot-father
? ? ? ? ? content.tsx
? ? ? ? ? page.tsx
? ? ? ? ?
? ? ? ? L---bot-manage
? ? ? ? content.tsx
? ? ? ? page.tsx
? ? ? ?
? ? ? L---security
? ? ? page.tsx
? ? ?
? ? +---components
? ? ? +---addresses
? ? ? ? address-form-dialog.tsx
? ? ? ? address-map-picker.tsx
? ? ? ? address-quick-section.tsx
? ? ? ?
? ? ? +---admin
? ? ? ? admin-insights-date-filter.tsx
? ? ? ? admin-inspector-message-body.tsx
? ? ? ? use-admin-chat-media.ts
? ? ? ? user-inspector-dialog.tsx
? ? ? ?
? ? ? +---chat
? ? ? ? bot-chat-message-context-menu.tsx
? ? ? ? bot-inline-keyboard.tsx
? ? ? ? bot-message-keyboard.tsx
? ? ? ? chat-date-separator.tsx
? ? ? ? chat-delete-message-dialog.tsx
? ? ? ? chat-emoji-content.tsx
? ? ? ? chat-forward-dialog.tsx
? ? ? ? chat-image-lightbox.tsx
? ? ? ? chat-location-card.tsx
? ? ? ? chat-location-share-dialog.tsx
? ? ? ? chat-media-album-grid.tsx
? ? ? ? chat-media-compose-dialog.tsx
? ? ? ? chat-message-context-menu.tsx
? ? ? ? chat-message-edit-banner.tsx
? ? ? ? chat-message-reactions.tsx
? ? ? ? chat-pinned-message-banner.tsx
? ? ? ? chat-selection-toolbar.tsx
? ? ? ? chat-tools-dialog.tsx
? ? ? ? chat-video-capture-dialog.tsx
? ? ? ? chat-video-lightbox.tsx
? ? ? ? chat-video-note-player.tsx
? ? ? ? chat-video-player.tsx
? ? ? ? emoji-picker.tsx
? ? ? ? emoji-sprite-provider.tsx
? ? ? ? emoji-sprite.tsx
? ? ? ? inline-editable-title.tsx
? ? ? ? replied-message-preview.tsx
? ? ? ? typing-indicator.tsx
? ? ? ? voice-message-player.tsx
? ? ? ?
? ? ? +---documents
? ? ? ? document-dialog.tsx
? ? ? ? document-form-dialog.tsx
? ? ? ? document-photo-gallery.tsx
? ? ? ? document-photo-viewer.tsx
? ? ? ? document-view-card.tsx
? ? ? ? document-view-dialog.tsx
? ? ? ? user-documents-dialog.tsx
? ? ? ?
? ? ? +---family
? ? ? ? avatar-with-presence.tsx
? ? ? ? chat-room-avatar-display.tsx
? ? ? ? family-bot-chat.tsx
? ? ? ? family-group-selector.tsx
? ? ? ? family-group-view.tsx
? ? ? ? family-invite-dialog.tsx
? ? ? ? family-overlay-provider.tsx
? ? ? ? family-sidebar-panel.tsx
? ? ? ? hover-upload-avatar.tsx
? ? ? ? mini-family-chat.tsx
? ? ? ?
? ? ? +---id
? ? ? ? action-tile.tsx
? ? ? ? admin-badge.tsx
? ? ? ? admin-nav.tsx
? ? ? ? admin-shell.tsx
? ? ? ? app-bootstrap-screen.tsx
? ? ? ? auth-provider.tsx
? ? ? ? avatar-upload.tsx
? ? ? ? brand-logo.tsx
? ? ? ? device-link-qr-dialog.tsx
? ? ? ? fedcm-api-login-status.tsx
? ? ? ? firebase-settings-section.tsx
? ? ? ? messaging-settings-section.tsx
? ? ? ? mobile-nav.tsx
? ? ? ? oauth-client-detail-dialog.tsx
? ? ? ? oauth-client-one-tap-section.tsx
? ? ? ? pin-lock-modal.tsx
? ? ? ? project-head.tsx
? ? ? ? public-settings-provider.tsx
? ? ? ? settings-field-row.tsx
? ? ? ? shell.tsx
? ? ? ? sidebar.tsx
? ? ? ? toast-provider.tsx
? ? ? ? user-avatar.tsx
? ? ? ? user-menu.tsx
? ? ? ? verification-badge.tsx
? ? ? ?
? ? ? +---notifications
? ? ? ? firebase-push-bridge.tsx
? ? ? ? notification-bell.tsx
? ? ? ? realtime-provider.tsx
? ? ? ?
? ? ? L---ui
? ? ? avatar.tsx
? ? ? button.tsx
? ? ? calendar.tsx
? ? ? card.tsx
? ? ? command.tsx
? ? ? context-menu.tsx
? ? ? date-picker.tsx
? ? ? dialog.tsx
? ? ? dropdown-menu.tsx
? ? ? form.tsx
? ? ? input.tsx
? ? ? media-image-skeleton.tsx
? ? ? otp-input.tsx
? ? ? phone-input.tsx
? ? ? pin-input.tsx
? ? ? popover.tsx
? ? ? skeleton.tsx
? ? ? table.tsx
? ? ? tabs.tsx
? ? ? toast.tsx
? ? ?
? ? +---hooks
? ? ? use-avatar-url.ts
? ? ? use-chat-drag-selection.ts
? ? ? use-chat-message-selection.ts
? ? ? use-chat-room-media.ts
? ? ? use-chat-typing.ts
? ? ? use-e2e-chat.ts
? ? ? use-mini-app-auth.ts
? ? ? use-otp-resend-cooldown.ts
? ? ? use-pin-idle-lock.ts
? ? ? use-primary-family.ts
? ? ? use-require-auth.ts
? ? ? use-resilient-blob-url.ts
? ? ?
? ? +---lib
? ? ? address-catalog.ts
? ? ? admin-access.ts
? ? ? api.ts
? ? ? app-release-variants.ts
? ? ? auth-post-pin-redirect.ts
? ? ? authenticated-media.ts
? ? ? avatar-events.ts
? ? ? bot-menu-button.ts
? ? ? bot-reply-markup.ts
? ? ? chat-date-utils.ts
? ? ? chat-emoji-display.ts
? ? ? chat-image-compress.ts
? ? ? chat-media-album.ts
? ? ? chat-media-upload.ts
? ? ? chat-media.ts
? ? ? chat-message-utils.ts
? ? ? device-client.ts
? ? ? document-attachments.ts
? ? ? document-catalog.ts
? ? ? e2e-chat.ts
? ? ? e2e-crypto.ts
? ? ? embedded-auth-bridge.ts
? ? ? emoji-catalog.ts
? ? ? emoji-native-map.ts
? ? ? family-chat.ts
? ? ? family-defaults.ts
? ? ? fedcm-login-bridge.ts
? ? ? firebase-config.ts
? ? ? firebase-push.ts
? ? ? geocoding.ts
? ? ? mini-app-url.ts
? ? ? oauth-popup-bridge.ts
? ? ? oauth-url.ts
? ? ? one-tap-examples.ts
? ? ? pin-idle-storage.ts
? ? ? pin-input.ts
? ? ? project-domains.ts
? ? ? proxy-release-download.ts
? ? ? resilient-media-fetch.ts
? ? ? selected-family-storage.ts
? ? ? system-settings-catalog.ts
? ? ? utils.ts
? ? ? verification-icons.tsx
? ? ?
? ? +---public
? ? ? ? firebase-messaging-sw.js
? ? ? ? sso-widget.js
? ? ? ?
? ? ? +---downloads
? ? ? ?
? ? ? +---emojis
? ? ? ? lendry-emojis.svg
? ? ? ?
? ? ? L---flags
? ? ? by.svg
? ? ? kz.svg
? ? ? ru.svg
? ? ?
? ? L---scripts
? ? generate-emoji-sprite.mjs
? ?
? +---ldap-auth
? ? dns.go
? ? Dockerfile
? ? go.mod
? ? go.sum
? ? main.go
? ?
? +---media-ws
? ? Dockerfile
? ? go.mod
? ? go.sum
? ? main.go
? ? media-ws
? ?
? L---sso-core
? ? .env.example
? ? docker-entrypoint.sh
? ? Dockerfile
? ? nest-cli.json
? ? package.json
? ? prisma.config.ts
? ? tsconfig.json
? ?
? +---prisma
? ? ? schema.prisma
? ? ?
? ? L---migrations
? ? ? migration_lock.toml
? ? ?
? ? +---20260701120000_add_user_activity_log
? ? ? migration.sql
? ? ?
? ? +---20260701180000_add_session_last_activity_at
? ? ? migration.sql
? ? ?
? ? +---20260707100000_add_app_releases
? ? ? migration.sql
? ? ?
? ? +---20260707120000_add_push_device_tokens
? ? ? migration.sql
? ? ?
? ? L---20260707140000_add_app_release_variants
? ? migration.sql
? ?
? +---scripts
? ? copy-generated.mjs
? ? generate-proto-types.mjs
? ? trigger-sms-test.mjs
? ?
? L---src
? ? app.module.ts
? ? health.controller.ts
? ? main.ts
? ?
? +---domain
? ? ? access.service.ts
? ? ? activity-log.service.ts
? ? ? addresses.service.ts
? ? ? admin-insights-retention.service.ts
? ? ? admin-seed.service.ts
? ? ? admin-user-insights.service.ts
? ? ? admin.service.ts
? ? ? advanced-auth.service.ts
? ? ? app-release.service.ts
? ? ? auth-grpc.controller.ts
? ? ? auth.service.ts
? ? ? chat.service.ts
? ? ? documents.service.ts
? ? ? dto.ts
? ? ? family.service.ts
? ? ? fedcm.service.ts
? ? ? maintenance-scheduler.service.ts
? ? ? media.service.ts
? ? ? notifications.service.ts
? ? ? oauth-core.service.ts
? ? ? oauth-issuer.service.ts
? ? ? oauth-ssl-sans.service.ts
? ? ? otp.service.ts
? ? ? pin.service.ts
? ? ? presence.service.ts
? ? ? profile.service.ts
? ? ? push-device.service.ts
? ? ? rbac.constants.ts
? ? ? rbac.service.ts
? ? ? security.service.ts
? ? ? session.service.ts
? ? ? settings.service.ts
? ? ? system-account.util.ts
? ? ? system-settings.seed.ts
? ? ? totp.service.ts
? ? ? verification.constants.ts
? ? ?
? ? L---bot
? ? bot-api.service.ts
? ? bot-callback-registry.service.ts
? ? bot-debug-log.util.ts
? ? bot-delivery.service.ts
? ? bot-father-assistant.service.ts
? ? bot-father-seed.service.ts
? ? bot-father.constants.ts
? ? bot-father.service.ts
? ? bot-inbound-publisher.service.ts
? ? bot-inbound.service.ts
? ? bot-menu-button.util.ts
? ? bot-message-consumer.service.ts
? ? bot-rate-limit.service.ts
? ? bot-token.util.ts
? ? bot-update-queue.service.ts
? ? bot-webhook-dispatcher.service.ts
? ? telegram-response.util.ts
? ? telegram-serializer.service.ts
? ? webapp-crypto.service.ts
? ?
? L---infra
? chat-media.util.ts
? client-device.util.ts
? document-media.util.ts
? encryption.service.ts
? firebase-push.service.ts
? grpc-exception.filter.ts
? ldap-client.service.ts
? ldap-config.util.ts
? messaging.service.ts
? minio.service.ts
? notification-publisher.service.ts
? oauth-ssl-sans.util.ts
? phone.util.ts
? prisma.service.ts
? redis.service.ts
? sms.service.ts
?
+---infra
? L---nginx
? 99-idp-gateway-watch.sh
?
+---nginx
? +---certs
? ?
? L---conf.d
?
L---shared
L---proto
addresses.proto
admin.proto
app-release.proto
auth.proto
bot.proto
chat.proto
documents.proto
identity.proto
media.proto
notifications.proto
profile.proto
rbac.proto
security.proto