@remnawave/backend-contract 2.8.28 → 2.8.30
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/build/backend/commands/api-tokens/create.command.d.ts +22 -13
- package/build/backend/commands/api-tokens/create.command.d.ts.map +1 -1
- package/build/backend/commands/api-tokens/create.command.js +6 -3
- package/build/backend/commands/api-tokens/find.command.d.ts +26 -26
- package/build/backend/commands/api-tokens/find.command.js +3 -3
- package/build/backend/commands/auth/get-status.command.js +1 -1
- package/build/backend/commands/auth/login.command.js +1 -1
- package/build/backend/commands/auth/oauth2/authorize.command.js +1 -1
- package/build/backend/commands/auth/oauth2/callback.command.js +1 -1
- package/build/backend/commands/auth/passkey/get-authentication-options.command.js +1 -1
- package/build/backend/commands/auth/passkey/verify-authentication.command.js +1 -1
- package/build/backend/commands/auth/register.command.js +1 -1
- package/build/backend/commands/bandwidth-stats/nodes/get-stats-nodes-usage.command.d.ts +12 -12
- package/build/backend/commands/bandwidth-stats/users/get-stats-user-usage.command.d.ts +12 -12
- package/build/backend/commands/config-profiles/actions/reorder.command.d.ts +16 -16
- package/build/backend/commands/config-profiles/create-config-profile.command.d.ts +10 -10
- package/build/backend/commands/config-profiles/get-all-inbounds.command.js +1 -1
- package/build/backend/commands/config-profiles/get-computed-config-profile-by-uuid.command.d.ts +10 -10
- package/build/backend/commands/config-profiles/get-config-profile-by-uuid.command.d.ts +10 -10
- package/build/backend/commands/config-profiles/get-config-profiles.command.d.ts +14 -14
- package/build/backend/commands/config-profiles/get-inbounds-by-profile-uuid.command.js +1 -1
- package/build/backend/commands/config-profiles/update-config-profile.command.d.ts +10 -10
- package/build/backend/commands/external-squads/actions/reorder.command.d.ts +6 -6
- package/build/backend/commands/external-squads/create-external-squad.command.d.ts +4 -4
- package/build/backend/commands/external-squads/get-external-squad-by-uuid.command.d.ts +4 -4
- package/build/backend/commands/external-squads/get-external-squads.command.d.ts +6 -6
- package/build/backend/commands/external-squads/update-external-squad.command.d.ts +4 -4
- package/build/backend/commands/external-squads/update-external-squad.command.js +2 -2
- package/build/backend/commands/hosts/bulk/delete-many-hosts.command.js +1 -1
- package/build/backend/commands/hosts/bulk/disable-many-hosts.command.js +1 -1
- package/build/backend/commands/hosts/bulk/enable-many-hosts.command.js +1 -1
- package/build/backend/commands/hosts/bulk/update-many-hosts.command.js +2 -2
- package/build/backend/commands/hosts/create.command.js +1 -1
- package/build/backend/commands/hosts/delete.command.js +1 -1
- package/build/backend/commands/hosts/get-all.command.js +1 -1
- package/build/backend/commands/hosts/get-one.command.js +1 -1
- package/build/backend/commands/hosts/reorder.command.js +1 -1
- package/build/backend/commands/hosts/tags/get-all-host-tags.command.js +1 -1
- package/build/backend/commands/hosts/update.command.js +1 -1
- package/build/backend/commands/hwid/create-user-hwid-device.command.js +1 -1
- package/build/backend/commands/hwid/delete-all-user-hwid-devices.command.js +1 -1
- package/build/backend/commands/hwid/delete-user-hwid-device.command.js +1 -1
- package/build/backend/commands/hwid/get-all-hwid-devices.command.js +2 -2
- package/build/backend/commands/hwid/get-hwid-devices-stats.command.js +1 -1
- package/build/backend/commands/hwid/get-top-users-by-hwid-devices.command.js +1 -1
- package/build/backend/commands/hwid/get-user-hwid-devices.command.js +1 -1
- package/build/backend/commands/infra-billing/create-bill-record.command.js +1 -1
- package/build/backend/commands/infra-billing/create-billing-node.command.d.ts +46 -46
- package/build/backend/commands/infra-billing/create-billing-node.command.js +1 -1
- package/build/backend/commands/infra-billing/create-infra-provider.command.d.ts +4 -4
- package/build/backend/commands/infra-billing/delete-bill-record-by-uuid.command.js +1 -1
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.d.ts +44 -44
- package/build/backend/commands/infra-billing/delete-billing-node-by-uuid.command.js +1 -1
- package/build/backend/commands/infra-billing/get-bill-records.command.js +1 -1
- package/build/backend/commands/infra-billing/get-billing-nodes.command.d.ts +44 -44
- package/build/backend/commands/infra-billing/get-billing-nodes.command.js +1 -1
- package/build/backend/commands/infra-billing/get-infra-provider-by-uuid.command.d.ts +4 -4
- package/build/backend/commands/infra-billing/get-infra-providers.command.d.ts +6 -6
- package/build/backend/commands/infra-billing/update-billing-node.command.d.ts +44 -44
- package/build/backend/commands/infra-billing/update-billing-node.command.js +1 -1
- package/build/backend/commands/infra-billing/update-infra-provider.command.d.ts +4 -4
- package/build/backend/commands/internal-squads/actions/reorder.command.d.ts +6 -6
- package/build/backend/commands/internal-squads/create-internal-squad.command.d.ts +4 -4
- package/build/backend/commands/internal-squads/get-internal-squad-by-uuid.d.ts +4 -4
- package/build/backend/commands/internal-squads/get-internal-squads.command.d.ts +6 -6
- package/build/backend/commands/internal-squads/update-internal-squad.command.d.ts +4 -4
- package/build/backend/commands/keygen/get-pubkey.command.js +1 -1
- package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports-stats.command.d.ts +6 -6
- package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.d.ts +17 -17
- package/build/backend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.js +1 -1
- package/build/backend/commands/node-plugins/torrent-blocker/truncate-torrent-blocker-reports.command.d.ts +17 -17
- package/build/backend/commands/node-plugins/torrent-blocker/truncate-torrent-blocker-reports.command.js +1 -1
- package/build/backend/commands/nodes/actions/disable.command.d.ts +10 -10
- package/build/backend/commands/nodes/actions/disable.command.js +1 -1
- package/build/backend/commands/nodes/actions/enable.command.d.ts +10 -10
- package/build/backend/commands/nodes/actions/enable.command.js +1 -1
- package/build/backend/commands/nodes/actions/reorder.command.d.ts +12 -12
- package/build/backend/commands/nodes/actions/reorder.command.js +1 -1
- package/build/backend/commands/nodes/actions/reset-traffic.command.js +1 -1
- package/build/backend/commands/nodes/actions/restart-all.command.js +1 -1
- package/build/backend/commands/nodes/actions/restart.command.js +1 -1
- package/build/backend/commands/nodes/bulk-actions/actions.command.js +1 -1
- package/build/backend/commands/nodes/bulk-actions/bulk-update.command.js +1 -1
- package/build/backend/commands/nodes/bulk-actions/profile-modification.command.js +1 -1
- package/build/backend/commands/nodes/create.command.d.ts +11 -11
- package/build/backend/commands/nodes/create.command.js +1 -1
- package/build/backend/commands/nodes/delete.command.js +1 -1
- package/build/backend/commands/nodes/get-all.command.d.ts +10 -10
- package/build/backend/commands/nodes/get-all.command.js +1 -1
- package/build/backend/commands/nodes/get-one.command.d.ts +10 -10
- package/build/backend/commands/nodes/get-one.command.js +1 -1
- package/build/backend/commands/nodes/tags/get-all-nodes-tags.command.js +1 -1
- package/build/backend/commands/nodes/update.command.d.ts +14 -14
- package/build/backend/commands/nodes/update.command.js +1 -1
- package/build/backend/commands/passkeys/delete-passkeys.command.d.ts +6 -6
- package/build/backend/commands/passkeys/get-active-passkeys.command.d.ts +6 -6
- package/build/backend/commands/passkeys/update-passkey.command.d.ts +6 -6
- package/build/backend/commands/remnawave-settings/get-remnawave-settings.command.js +1 -1
- package/build/backend/commands/remnawave-settings/update-remnawave-settings.command.js +1 -1
- package/build/backend/commands/subscription/get-subscription-by-short-uuid-by-client-type.command.js +1 -1
- package/build/backend/commands/subscription/get-subscription-info-by-short-uuid.command.js +1 -1
- package/build/backend/commands/subscription-page-configs/actions/clone-subpage-config.command.js +1 -1
- package/build/backend/commands/subscription-page-configs/actions/reorder.command.js +1 -1
- package/build/backend/commands/subscription-page-configs/create-subpage-config.command.js +1 -1
- package/build/backend/commands/subscription-page-configs/get-subpage-config.command.js +1 -1
- package/build/backend/commands/subscription-page-configs/get-subpage-configs.command.js +1 -1
- package/build/backend/commands/subscription-page-configs/update-subpage-config.command.js +1 -1
- package/build/backend/commands/subscription-request-history/get-subscription-request-history.command.js +1 -1
- package/build/backend/commands/subscription-settings/get-subscription-settings.command.d.ts +8 -8
- package/build/backend/commands/subscription-settings/get-subscription-settings.command.js +1 -1
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.d.ts +14 -14
- package/build/backend/commands/subscription-settings/update-subscription-settings.command.js +1 -1
- package/build/backend/commands/subscription-template/actions/reorder.command.js +1 -1
- package/build/backend/commands/subscription-template/create-template.command.js +1 -1
- package/build/backend/commands/subscription-template/get-template.command.js +1 -1
- package/build/backend/commands/subscription-template/get-templates.command.js +1 -1
- package/build/backend/commands/subscription-template/update-template.command.js +1 -1
- package/build/backend/commands/subscriptions/get-all-subscriptions.command.js +1 -1
- package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.d.ts +6 -6
- package/build/backend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.js +1 -1
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-short-uuid-protected.command.js +1 -1
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-username.command.js +1 -1
- package/build/backend/commands/subscriptions/get-by/get-subscription-by-uuid.command.js +1 -1
- package/build/backend/commands/system/get-bandwidth-stats.command.js +2 -2
- package/build/backend/commands/system/get-metadata.command.js +1 -1
- package/build/backend/commands/system/get-nodes-metrics.command.js +1 -1
- package/build/backend/commands/system/get-nodes-statistics.js +1 -1
- package/build/backend/commands/system/get-recap.command.js +1 -1
- package/build/backend/commands/system/get-remnawave-health.command.js +1 -1
- package/build/backend/commands/system/get-stats.command.js +1 -1
- package/build/backend/commands/system/testers/test-srr-matcher.command.d.ts +12 -12
- package/build/backend/commands/system/testers/test-srr-matcher.command.js +1 -1
- package/build/backend/commands/system/tools/encrypt-happ-cryptolink.command.js +1 -1
- package/build/backend/commands/system/tools/generate-x25519.command.js +1 -1
- package/build/backend/commands/users/actions/disable-user.command.d.ts +4 -4
- package/build/backend/commands/users/actions/disable-user.command.js +1 -1
- package/build/backend/commands/users/actions/enable-user.command.d.ts +4 -4
- package/build/backend/commands/users/actions/enable-user.command.js +1 -1
- package/build/backend/commands/users/actions/reset-user-traffic.command.d.ts +4 -4
- package/build/backend/commands/users/actions/reset-user-traffic.command.js +1 -1
- package/build/backend/commands/users/actions/revoke-user-subscription.command.d.ts +4 -4
- package/build/backend/commands/users/actions/revoke-user-subscription.command.js +1 -1
- package/build/backend/commands/users/bulk/bulk-delete-users-by-status.command.js +1 -1
- package/build/backend/commands/users/bulk/bulk-delete-users.command.js +1 -1
- package/build/backend/commands/users/bulk/bulk-extend-expiration-date.command.js +1 -1
- package/build/backend/commands/users/bulk/bulk-reset-traffic-users.command.js +1 -1
- package/build/backend/commands/users/bulk/bulk-revoke-users-subscription.command.js +1 -1
- package/build/backend/commands/users/bulk/bulk-update-users-squads.command.js +1 -1
- package/build/backend/commands/users/bulk/bulk-update-users.command.d.ts +4 -4
- package/build/backend/commands/users/bulk/bulk-update-users.command.js +1 -1
- package/build/backend/commands/users/bulk-all/bulk-all-extend-expiration-date.command.js +1 -1
- package/build/backend/commands/users/bulk-all/bulk-all-reset-traffic-users.command.js +1 -1
- package/build/backend/commands/users/bulk-all/bulk-all-update-users.command.d.ts +2 -2
- package/build/backend/commands/users/bulk-all/bulk-all-update-users.command.js +1 -1
- package/build/backend/commands/users/create-user.command.d.ts +6 -6
- package/build/backend/commands/users/create-user.command.js +1 -1
- package/build/backend/commands/users/delete-user.command.js +1 -1
- package/build/backend/commands/users/get-all-users.command.d.ts +6 -6
- package/build/backend/commands/users/get-all-users.command.js +2 -2
- package/build/backend/commands/users/get-by/get-user-by-email.command.d.ts +4 -4
- package/build/backend/commands/users/get-by/get-user-by-email.command.js +1 -1
- package/build/backend/commands/users/get-by/get-user-by-id.command.d.ts +4 -4
- package/build/backend/commands/users/get-by/get-user-by-id.command.js +1 -1
- package/build/backend/commands/users/get-by/get-user-by-short-uuid.command.d.ts +4 -4
- package/build/backend/commands/users/get-by/get-user-by-short-uuid.command.js +1 -1
- package/build/backend/commands/users/get-by/get-user-by-tag.command.d.ts +4 -4
- package/build/backend/commands/users/get-by/get-user-by-tag.command.js +1 -1
- package/build/backend/commands/users/get-by/get-user-by-telegram-id.command.d.ts +4 -4
- package/build/backend/commands/users/get-by/get-user-by-telegram-id.command.js +1 -1
- package/build/backend/commands/users/get-by/get-user-by-username.command.d.ts +4 -4
- package/build/backend/commands/users/get-by/get-user-by-username.command.js +1 -1
- package/build/backend/commands/users/get-user-accessible-nodes.command.js +1 -1
- package/build/backend/commands/users/get-user-by-uuid.command.d.ts +4 -4
- package/build/backend/commands/users/get-user-by-uuid.command.js +1 -1
- package/build/backend/commands/users/get-user-subscription-request-history.command.js +1 -1
- package/build/backend/commands/users/get-users-stream.command.d.ts +6 -6
- package/build/backend/commands/users/get-users-stream.command.js +1 -1
- package/build/backend/commands/users/resolve-user.command.js +1 -1
- package/build/backend/commands/users/tags/get-all-tags.command.js +1 -1
- package/build/backend/commands/users/update-user.command.d.ts +8 -8
- package/build/backend/commands/users/update-user.command.js +1 -1
- package/build/backend/constants/events/events.d.ts +2 -0
- package/build/backend/constants/events/events.d.ts.map +1 -1
- package/build/backend/constants/events/events.js +2 -0
- package/build/backend/models/api-tokens.schema.d.ts +6 -6
- package/build/backend/models/api-tokens.schema.d.ts.map +1 -1
- package/build/backend/models/api-tokens.schema.js +5 -2
- package/build/backend/models/config-profile.schema.d.ts +6 -6
- package/build/backend/models/extended-users.schema.d.ts +2 -2
- package/build/backend/models/external-squad.schema.d.ts +2 -2
- package/build/backend/models/external-squad.schema.js +1 -1
- package/build/backend/models/hosts.schema.js +1 -1
- package/build/backend/models/infra-billing-available-node.schema.d.ts +5 -5
- package/build/backend/models/infra-billing-node.schema.d.ts +15 -15
- package/build/backend/models/infra-provider.schema.d.ts +4 -4
- package/build/backend/models/internal-squad.schema.d.ts +2 -2
- package/build/backend/models/nodes.schema.d.ts +6 -6
- package/build/backend/models/remnawave-settings/passkey-settings.schema.js +1 -1
- package/build/backend/models/remnawave-settings/remnawave-settings.schema.js +2 -2
- package/build/backend/models/response-rules/response-rule.schema.d.ts +4 -4
- package/build/backend/models/response-rules/response-rule.schema.js +2 -2
- package/build/backend/models/response-rules/response-rules-config.schema.d.ts +4 -4
- package/build/backend/models/response-rules/response-rules-config.schema.js +2 -2
- package/build/backend/models/subscription-settings.schema.d.ts +6 -6
- package/build/backend/models/subscription-settings.schema.js +1 -1
- package/build/backend/models/tanstack-query/tanstask-query-request-query.schema.js +1 -1
- package/build/backend/models/torrent-blocker-report.schema.d.ts +9 -9
- package/build/backend/models/users.schema.d.ts +2 -2
- package/build/backend/models/webhook/webhook.schema.d.ts +86 -86
- package/build/backend/models/webhook/webhook.schema.js +1 -1
- package/build/frontend/commands/api-tokens/create.command.js +6 -3
- package/build/frontend/commands/api-tokens/find.command.js +3 -3
- package/build/frontend/commands/auth/get-status.command.js +1 -1
- package/build/frontend/commands/auth/login.command.js +1 -1
- package/build/frontend/commands/auth/oauth2/authorize.command.js +1 -1
- package/build/frontend/commands/auth/oauth2/callback.command.js +1 -1
- package/build/frontend/commands/auth/passkey/get-authentication-options.command.js +1 -1
- package/build/frontend/commands/auth/passkey/verify-authentication.command.js +1 -1
- package/build/frontend/commands/auth/register.command.js +1 -1
- package/build/frontend/commands/config-profiles/get-all-inbounds.command.js +1 -1
- package/build/frontend/commands/config-profiles/get-inbounds-by-profile-uuid.command.js +1 -1
- package/build/frontend/commands/external-squads/update-external-squad.command.js +2 -2
- package/build/frontend/commands/hosts/bulk/delete-many-hosts.command.js +1 -1
- package/build/frontend/commands/hosts/bulk/disable-many-hosts.command.js +1 -1
- package/build/frontend/commands/hosts/bulk/enable-many-hosts.command.js +1 -1
- package/build/frontend/commands/hosts/bulk/update-many-hosts.command.js +2 -2
- package/build/frontend/commands/hosts/create.command.js +1 -1
- package/build/frontend/commands/hosts/delete.command.js +1 -1
- package/build/frontend/commands/hosts/get-all.command.js +1 -1
- package/build/frontend/commands/hosts/get-one.command.js +1 -1
- package/build/frontend/commands/hosts/reorder.command.js +1 -1
- package/build/frontend/commands/hosts/tags/get-all-host-tags.command.js +1 -1
- package/build/frontend/commands/hosts/update.command.js +1 -1
- package/build/frontend/commands/hwid/create-user-hwid-device.command.js +1 -1
- package/build/frontend/commands/hwid/delete-all-user-hwid-devices.command.js +1 -1
- package/build/frontend/commands/hwid/delete-user-hwid-device.command.js +1 -1
- package/build/frontend/commands/hwid/get-all-hwid-devices.command.js +2 -2
- package/build/frontend/commands/hwid/get-hwid-devices-stats.command.js +1 -1
- package/build/frontend/commands/hwid/get-top-users-by-hwid-devices.command.js +1 -1
- package/build/frontend/commands/hwid/get-user-hwid-devices.command.js +1 -1
- package/build/frontend/commands/infra-billing/create-bill-record.command.js +1 -1
- package/build/frontend/commands/infra-billing/create-billing-node.command.js +1 -1
- package/build/frontend/commands/infra-billing/delete-bill-record-by-uuid.command.js +1 -1
- package/build/frontend/commands/infra-billing/delete-billing-node-by-uuid.command.js +1 -1
- package/build/frontend/commands/infra-billing/get-bill-records.command.js +1 -1
- package/build/frontend/commands/infra-billing/get-billing-nodes.command.js +1 -1
- package/build/frontend/commands/infra-billing/update-billing-node.command.js +1 -1
- package/build/frontend/commands/keygen/get-pubkey.command.js +1 -1
- package/build/frontend/commands/node-plugins/torrent-blocker/get-torrent-blocker-reports.command.js +1 -1
- package/build/frontend/commands/node-plugins/torrent-blocker/truncate-torrent-blocker-reports.command.js +1 -1
- package/build/frontend/commands/nodes/actions/disable.command.js +1 -1
- package/build/frontend/commands/nodes/actions/enable.command.js +1 -1
- package/build/frontend/commands/nodes/actions/reorder.command.js +1 -1
- package/build/frontend/commands/nodes/actions/reset-traffic.command.js +1 -1
- package/build/frontend/commands/nodes/actions/restart-all.command.js +1 -1
- package/build/frontend/commands/nodes/actions/restart.command.js +1 -1
- package/build/frontend/commands/nodes/bulk-actions/actions.command.js +1 -1
- package/build/frontend/commands/nodes/bulk-actions/bulk-update.command.js +1 -1
- package/build/frontend/commands/nodes/bulk-actions/profile-modification.command.js +1 -1
- package/build/frontend/commands/nodes/create.command.js +1 -1
- package/build/frontend/commands/nodes/delete.command.js +1 -1
- package/build/frontend/commands/nodes/get-all.command.js +1 -1
- package/build/frontend/commands/nodes/get-one.command.js +1 -1
- package/build/frontend/commands/nodes/tags/get-all-nodes-tags.command.js +1 -1
- package/build/frontend/commands/nodes/update.command.js +1 -1
- package/build/frontend/commands/remnawave-settings/get-remnawave-settings.command.js +1 -1
- package/build/frontend/commands/remnawave-settings/update-remnawave-settings.command.js +1 -1
- package/build/frontend/commands/subscription/get-subscription-by-short-uuid-by-client-type.command.js +1 -1
- package/build/frontend/commands/subscription/get-subscription-info-by-short-uuid.command.js +1 -1
- package/build/frontend/commands/subscription-page-configs/actions/clone-subpage-config.command.js +1 -1
- package/build/frontend/commands/subscription-page-configs/actions/reorder.command.js +1 -1
- package/build/frontend/commands/subscription-page-configs/create-subpage-config.command.js +1 -1
- package/build/frontend/commands/subscription-page-configs/get-subpage-config.command.js +1 -1
- package/build/frontend/commands/subscription-page-configs/get-subpage-configs.command.js +1 -1
- package/build/frontend/commands/subscription-page-configs/update-subpage-config.command.js +1 -1
- package/build/frontend/commands/subscription-request-history/get-subscription-request-history.command.js +1 -1
- package/build/frontend/commands/subscription-settings/get-subscription-settings.command.js +1 -1
- package/build/frontend/commands/subscription-settings/update-subscription-settings.command.js +1 -1
- package/build/frontend/commands/subscription-template/actions/reorder.command.js +1 -1
- package/build/frontend/commands/subscription-template/create-template.command.js +1 -1
- package/build/frontend/commands/subscription-template/get-template.command.js +1 -1
- package/build/frontend/commands/subscription-template/get-templates.command.js +1 -1
- package/build/frontend/commands/subscription-template/update-template.command.js +1 -1
- package/build/frontend/commands/subscriptions/get-all-subscriptions.command.js +1 -1
- package/build/frontend/commands/subscriptions/get-by/get-raw-subscription-by-short-uuid.command.js +1 -1
- package/build/frontend/commands/subscriptions/get-by/get-subscription-by-short-uuid-protected.command.js +1 -1
- package/build/frontend/commands/subscriptions/get-by/get-subscription-by-username.command.js +1 -1
- package/build/frontend/commands/subscriptions/get-by/get-subscription-by-uuid.command.js +1 -1
- package/build/frontend/commands/system/get-bandwidth-stats.command.js +2 -2
- package/build/frontend/commands/system/get-metadata.command.js +1 -1
- package/build/frontend/commands/system/get-nodes-metrics.command.js +1 -1
- package/build/frontend/commands/system/get-nodes-statistics.js +1 -1
- package/build/frontend/commands/system/get-recap.command.js +1 -1
- package/build/frontend/commands/system/get-remnawave-health.command.js +1 -1
- package/build/frontend/commands/system/get-stats.command.js +1 -1
- package/build/frontend/commands/system/testers/test-srr-matcher.command.js +1 -1
- package/build/frontend/commands/system/tools/encrypt-happ-cryptolink.command.js +1 -1
- package/build/frontend/commands/system/tools/generate-x25519.command.js +1 -1
- package/build/frontend/commands/users/actions/disable-user.command.js +1 -1
- package/build/frontend/commands/users/actions/enable-user.command.js +1 -1
- package/build/frontend/commands/users/actions/reset-user-traffic.command.js +1 -1
- package/build/frontend/commands/users/actions/revoke-user-subscription.command.js +1 -1
- package/build/frontend/commands/users/bulk/bulk-delete-users-by-status.command.js +1 -1
- package/build/frontend/commands/users/bulk/bulk-delete-users.command.js +1 -1
- package/build/frontend/commands/users/bulk/bulk-extend-expiration-date.command.js +1 -1
- package/build/frontend/commands/users/bulk/bulk-reset-traffic-users.command.js +1 -1
- package/build/frontend/commands/users/bulk/bulk-revoke-users-subscription.command.js +1 -1
- package/build/frontend/commands/users/bulk/bulk-update-users-squads.command.js +1 -1
- package/build/frontend/commands/users/bulk/bulk-update-users.command.js +1 -1
- package/build/frontend/commands/users/bulk-all/bulk-all-extend-expiration-date.command.js +1 -1
- package/build/frontend/commands/users/bulk-all/bulk-all-reset-traffic-users.command.js +1 -1
- package/build/frontend/commands/users/bulk-all/bulk-all-update-users.command.js +1 -1
- package/build/frontend/commands/users/create-user.command.js +1 -1
- package/build/frontend/commands/users/delete-user.command.js +1 -1
- package/build/frontend/commands/users/get-all-users.command.js +2 -2
- package/build/frontend/commands/users/get-by/get-user-by-email.command.js +1 -1
- package/build/frontend/commands/users/get-by/get-user-by-id.command.js +1 -1
- package/build/frontend/commands/users/get-by/get-user-by-short-uuid.command.js +1 -1
- package/build/frontend/commands/users/get-by/get-user-by-tag.command.js +1 -1
- package/build/frontend/commands/users/get-by/get-user-by-telegram-id.command.js +1 -1
- package/build/frontend/commands/users/get-by/get-user-by-username.command.js +1 -1
- package/build/frontend/commands/users/get-user-accessible-nodes.command.js +1 -1
- package/build/frontend/commands/users/get-user-by-uuid.command.js +1 -1
- package/build/frontend/commands/users/get-user-subscription-request-history.command.js +1 -1
- package/build/frontend/commands/users/get-users-stream.command.js +1 -1
- package/build/frontend/commands/users/resolve-user.command.js +1 -1
- package/build/frontend/commands/users/tags/get-all-tags.command.js +1 -1
- package/build/frontend/commands/users/update-user.command.js +1 -1
- package/build/frontend/constants/events/events.js +2 -0
- package/build/frontend/models/api-tokens.schema.js +5 -2
- package/build/frontend/models/external-squad.schema.js +1 -1
- package/build/frontend/models/hosts.schema.js +1 -1
- package/build/frontend/models/remnawave-settings/passkey-settings.schema.js +1 -1
- package/build/frontend/models/remnawave-settings/remnawave-settings.schema.js +2 -2
- package/build/frontend/models/response-rules/response-rule.schema.js +2 -2
- package/build/frontend/models/response-rules/response-rules-config.schema.js +2 -2
- package/build/frontend/models/subscription-settings.schema.js +1 -1
- package/build/frontend/models/tanstack-query/tanstask-query-request-query.schema.js +1 -1
- package/build/frontend/models/webhook/webhook.schema.js +1 -1
- package/package.json +13 -13
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetAllUsersCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const models_1 = require("../../models");
|
|
6
|
-
const constants_1 = require("../../constants");
|
|
7
5
|
const api_1 = require("../../api");
|
|
6
|
+
const constants_1 = require("../../constants");
|
|
7
|
+
const models_1 = require("../../models");
|
|
8
8
|
var GetAllUsersCommand;
|
|
9
9
|
(function (GetAllUsersCommand) {
|
|
10
10
|
GetAllUsersCommand.url = api_1.REST_API.USERS.GET;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetUserByEmailCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
const api_1 = require("../../../api");
|
|
5
6
|
const constants_1 = require("../../../constants");
|
|
6
7
|
const models_1 = require("../../../models");
|
|
7
|
-
const api_1 = require("../../../api");
|
|
8
8
|
var GetUserByEmailCommand;
|
|
9
9
|
(function (GetUserByEmailCommand) {
|
|
10
10
|
GetUserByEmailCommand.url = api_1.REST_API.USERS.GET_BY.EMAIL;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetUserByIdCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
const api_1 = require("../../../api");
|
|
5
6
|
const constants_1 = require("../../../constants");
|
|
6
7
|
const models_1 = require("../../../models");
|
|
7
|
-
const api_1 = require("../../../api");
|
|
8
8
|
var GetUserByIdCommand;
|
|
9
9
|
(function (GetUserByIdCommand) {
|
|
10
10
|
GetUserByIdCommand.url = api_1.REST_API.USERS.GET_BY.ID;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetUserByShortUuidCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
const api_1 = require("../../../api");
|
|
5
6
|
const constants_1 = require("../../../constants");
|
|
6
7
|
const models_1 = require("../../../models");
|
|
7
|
-
const api_1 = require("../../../api");
|
|
8
8
|
var GetUserByShortUuidCommand;
|
|
9
9
|
(function (GetUserByShortUuidCommand) {
|
|
10
10
|
GetUserByShortUuidCommand.url = api_1.REST_API.USERS.GET_BY.SHORT_UUID;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetUserByTagCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
const api_1 = require("../../../api");
|
|
5
6
|
const constants_1 = require("../../../constants");
|
|
6
7
|
const models_1 = require("../../../models");
|
|
7
|
-
const api_1 = require("../../../api");
|
|
8
8
|
var GetUserByTagCommand;
|
|
9
9
|
(function (GetUserByTagCommand) {
|
|
10
10
|
GetUserByTagCommand.url = api_1.REST_API.USERS.GET_BY.TAG;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetUserByTelegramIdCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
const api_1 = require("../../../api");
|
|
5
6
|
const constants_1 = require("../../../constants");
|
|
6
7
|
const models_1 = require("../../../models");
|
|
7
|
-
const api_1 = require("../../../api");
|
|
8
8
|
var GetUserByTelegramIdCommand;
|
|
9
9
|
(function (GetUserByTelegramIdCommand) {
|
|
10
10
|
GetUserByTelegramIdCommand.url = api_1.REST_API.USERS.GET_BY.TELEGRAM_ID;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetUserByUsernameCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
const api_1 = require("../../../api");
|
|
5
6
|
const constants_1 = require("../../../constants");
|
|
6
7
|
const models_1 = require("../../../models");
|
|
7
|
-
const api_1 = require("../../../api");
|
|
8
8
|
var GetUserByUsernameCommand;
|
|
9
9
|
(function (GetUserByUsernameCommand) {
|
|
10
10
|
GetUserByUsernameCommand.url = api_1.REST_API.USERS.GET_BY.USERNAME;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetUserAccessibleNodesCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const constants_1 = require("../../constants");
|
|
6
5
|
const api_1 = require("../../api");
|
|
6
|
+
const constants_1 = require("../../constants");
|
|
7
7
|
var GetUserAccessibleNodesCommand;
|
|
8
8
|
(function (GetUserAccessibleNodesCommand) {
|
|
9
9
|
GetUserAccessibleNodesCommand.url = api_1.REST_API.USERS.ACCESSIBLE_NODES;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetUserByUuidCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
const api_1 = require("../../api");
|
|
5
6
|
const constants_1 = require("../../constants");
|
|
6
7
|
const models_1 = require("../../models");
|
|
7
|
-
const api_1 = require("../../api");
|
|
8
8
|
var GetUserByUuidCommand;
|
|
9
9
|
(function (GetUserByUuidCommand) {
|
|
10
10
|
GetUserByUuidCommand.url = api_1.REST_API.USERS.GET_BY_UUID;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetUserSubscriptionRequestHistoryCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const constants_1 = require("../../constants");
|
|
6
5
|
const api_1 = require("../../api");
|
|
6
|
+
const constants_1 = require("../../constants");
|
|
7
7
|
var GetUserSubscriptionRequestHistoryCommand;
|
|
8
8
|
(function (GetUserSubscriptionRequestHistoryCommand) {
|
|
9
9
|
GetUserSubscriptionRequestHistoryCommand.url = api_1.REST_API.USERS.SUBSCRIPTION_REQUEST_HISTORY;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetUsersStreamCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
const api_1 = require("../../api");
|
|
5
6
|
const constants_1 = require("../../constants");
|
|
6
7
|
const models_1 = require("../../models");
|
|
7
|
-
const api_1 = require("../../api");
|
|
8
8
|
var GetUsersStreamCommand;
|
|
9
9
|
(function (GetUsersStreamCommand) {
|
|
10
10
|
GetUsersStreamCommand.url = api_1.REST_API.USERS.STREAM;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ResolveUserCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const constants_1 = require("../../constants");
|
|
6
5
|
const api_1 = require("../../api");
|
|
6
|
+
const constants_1 = require("../../constants");
|
|
7
7
|
var ResolveUserCommand;
|
|
8
8
|
(function (ResolveUserCommand) {
|
|
9
9
|
ResolveUserCommand.url = api_1.REST_API.USERS.RESOLVE;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetAllTagsCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const constants_1 = require("../../../constants");
|
|
6
5
|
const api_1 = require("../../../api");
|
|
6
|
+
const constants_1 = require("../../../constants");
|
|
7
7
|
var GetAllTagsCommand;
|
|
8
8
|
(function (GetAllTagsCommand) {
|
|
9
9
|
GetAllTagsCommand.url = api_1.REST_API.USERS.TAGS.GET;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateUserCommand = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
const api_1 = require("../../api");
|
|
5
6
|
const constants_1 = require("../../constants");
|
|
6
7
|
const models_1 = require("../../models");
|
|
7
|
-
const api_1 = require("../../api");
|
|
8
8
|
var UpdateUserCommand;
|
|
9
9
|
(function (UpdateUserCommand) {
|
|
10
10
|
UpdateUserCommand.url = api_1.REST_API.USERS.UPDATE;
|
|
@@ -54,6 +54,8 @@ exports.EVENTS = {
|
|
|
54
54
|
LOGIN_ATTEMPT_FAILED: 'service.login_attempt_failed',
|
|
55
55
|
LOGIN_ATTEMPT_SUCCESS: 'service.login_attempt_success',
|
|
56
56
|
SUBPAGE_CONFIG_CHANGED: 'service.subpage_config_changed',
|
|
57
|
+
API_TOKEN_CREATED: 'service.api_token_created',
|
|
58
|
+
API_TOKEN_DELETED: 'service.api_token_deleted',
|
|
57
59
|
},
|
|
58
60
|
ERRORS: {
|
|
59
61
|
BANDWIDTH_USAGE_THRESHOLD_REACHED_MAX_NOTIFICATIONS: 'errors.bandwidth_usage_threshold_reached_max_notifications',
|
|
@@ -4,8 +4,11 @@ exports.ApiTokensSchema = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.ApiTokensSchema = zod_1.z.object({
|
|
6
6
|
uuid: zod_1.z.string().uuid(),
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
name: zod_1.z.string(),
|
|
8
|
+
expireAt: zod_1.z
|
|
9
|
+
.string()
|
|
10
|
+
.datetime()
|
|
11
|
+
.transform((str) => new Date(str)),
|
|
9
12
|
scopes: zod_1.z.array(zod_1.z.string()),
|
|
10
13
|
createdAt: zod_1.z
|
|
11
14
|
.string()
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ExternalSquadSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
const constants_1 = require("../constants");
|
|
5
6
|
const external_squads_1 = require("./external-squads");
|
|
6
7
|
const subscription_settings_1 = require("./subscription-settings");
|
|
7
|
-
const constants_1 = require("../constants");
|
|
8
8
|
exports.ExternalSquadSchema = zod_1.z.object({
|
|
9
9
|
uuid: zod_1.z.string().uuid(),
|
|
10
10
|
viewPosition: zod_1.z.number().int(),
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.HostsSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const hosts_1 = require("../constants/hosts");
|
|
6
5
|
const constants_1 = require("../constants");
|
|
6
|
+
const hosts_1 = require("../constants/hosts");
|
|
7
7
|
exports.HostsSchema = zod_1.z.object({
|
|
8
8
|
uuid: zod_1.z.string().uuid(),
|
|
9
9
|
viewPosition: zod_1.z.number().int(),
|
|
@@ -23,7 +23,7 @@ exports.PasskeySettingsSchema = zod_1.default.object({
|
|
|
23
23
|
if (/^http:\/\/localhost:\d+$/.test(value)) {
|
|
24
24
|
return true;
|
|
25
25
|
}
|
|
26
|
-
if (/^https:\/\/(?=.*\.[a-z]{2,})[^\s
|
|
26
|
+
if (/^https:\/\/(?=.*\.[a-z]{2,})[^\s/?#]+$/i.test(value)) {
|
|
27
27
|
return true;
|
|
28
28
|
}
|
|
29
29
|
return false;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.RemnawaveSettingsSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const password_auth_settings_schema_1 = require("./password-auth-settings.schema");
|
|
6
5
|
const branding_settings_schema_1 = require("./branding-settings.schema");
|
|
7
|
-
const passkey_settings_schema_1 = require("./passkey-settings.schema");
|
|
8
6
|
const oauth2_settings_schema_1 = require("./oauth2-settings.schema");
|
|
7
|
+
const passkey_settings_schema_1 = require("./passkey-settings.schema");
|
|
8
|
+
const password_auth_settings_schema_1 = require("./password-auth-settings.schema");
|
|
9
9
|
exports.RemnawaveSettingsSchema = zod_1.z.object({
|
|
10
10
|
passkeySettings: zod_1.z.nullable(passkey_settings_schema_1.PasskeySettingsSchema),
|
|
11
11
|
oauth2Settings: zod_1.z.nullable(oauth2_settings_schema_1.Oauth2SettingsSchema),
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ResponseRuleSchema = exports.ResponseRuleSchemaBase = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const response_rules_examples_1 = require("./response-rules-examples");
|
|
6
5
|
const constants_1 = require("../../constants");
|
|
7
|
-
const response_rule_modifications_schema_1 = require("./response-rule-modifications.schema");
|
|
8
6
|
const response_rule_condition_schema_1 = require("./response-rule-condition.schema");
|
|
7
|
+
const response_rule_modifications_schema_1 = require("./response-rule-modifications.schema");
|
|
8
|
+
const response_rules_examples_1 = require("./response-rules-examples");
|
|
9
9
|
exports.ResponseRuleSchemaBase = zod_1.z.object({
|
|
10
10
|
name: zod_1.z
|
|
11
11
|
.string()
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ResponseRulesConfigSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const response_rule_settings_schema_1 = require("./response-rule-settings.schema");
|
|
6
|
-
const response_rules_examples_1 = require("./response-rules-examples");
|
|
7
5
|
const constants_1 = require("../../constants");
|
|
6
|
+
const response_rule_settings_schema_1 = require("./response-rule-settings.schema");
|
|
8
7
|
const response_rule_schema_1 = require("./response-rule.schema");
|
|
8
|
+
const response_rules_examples_1 = require("./response-rules-examples");
|
|
9
9
|
exports.ResponseRulesConfigSchema = zod_1.z.object({
|
|
10
10
|
version: zod_1.z.nativeEnum(constants_1.RESPONSE_RULES_CONFIG_VERSION).describe(JSON.stringify({
|
|
11
11
|
title: 'Response Rules Config Version',
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SubscriptionSettingsSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
const response_rules_1 = require("./response-rules");
|
|
5
6
|
const custom_remarks_schema_1 = require("./subscription-settings/custom-remarks.schema");
|
|
6
7
|
const hwid_settings_schema_1 = require("./subscription-settings/hwid-settings.schema");
|
|
7
|
-
const response_rules_1 = require("./response-rules");
|
|
8
8
|
exports.SubscriptionSettingsSchema = zod_1.z.object({
|
|
9
9
|
uuid: zod_1.z.string().uuid(),
|
|
10
10
|
profileTitle: zod_1.z.string(),
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TanstackQueryRequestQuerySchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const tanstask_query_sorting_schema_1 = require("./tanstask-query-sorting.schema");
|
|
6
5
|
const tanstask_query_filter_schema_1 = require("./tanstask-query-filter.schema");
|
|
6
|
+
const tanstask_query_sorting_schema_1 = require("./tanstask-query-sorting.schema");
|
|
7
7
|
exports.TanstackQueryRequestQuerySchema = zod_1.z.object({
|
|
8
8
|
start: zod_1.z.coerce
|
|
9
9
|
.number()
|
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.RemnawaveWebhookEventSchema = exports.RemnawaveWebhookTorrentBlockerEvents = exports.RemnawaveWebhookCrmEvents = exports.RemnawaveWebhookErrorsEvents = exports.RemnawaveWebhookServiceEvents = exports.RemnawaveWebhookNodeEvents = exports.RemnawaveWebhookUserHwidDevicesEvents = exports.RemnawaveWebhookUserEvents = void 0;
|
|
7
7
|
const zod_1 = __importDefault(require("zod"));
|
|
8
8
|
const constants_1 = require("../../constants");
|
|
9
|
-
const hwid_user_device_schema_1 = require("../hwid-user-device.schema");
|
|
10
9
|
const extended_users_schema_1 = require("../extended-users.schema");
|
|
10
|
+
const hwid_user_device_schema_1 = require("../hwid-user-device.schema");
|
|
11
11
|
const nodes_schema_1 = require("../nodes.schema");
|
|
12
12
|
exports.RemnawaveWebhookUserEvents = zod_1.default.object({
|
|
13
13
|
scope: zod_1.default.literal(constants_1.EVENTS_SCOPES.USER),
|
package/package.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remnawave/backend-contract",
|
|
3
|
-
"version": "2.8.
|
|
4
|
-
"public": true,
|
|
5
|
-
"license": "AGPL-3.0-only",
|
|
3
|
+
"version": "2.8.30",
|
|
6
4
|
"description": "A contract library for Remnawave Backend. It can be used in backend and frontend.",
|
|
7
|
-
"
|
|
5
|
+
"keywords": [],
|
|
8
6
|
"homepage": "https://github.com/remnawave",
|
|
7
|
+
"bugs": {
|
|
8
|
+
"url": "https://github.com/remnawave/backend/issues"
|
|
9
|
+
},
|
|
10
|
+
"license": "AGPL-3.0-only",
|
|
11
|
+
"author": "REMNAWAVE <github.com/remnawave>",
|
|
9
12
|
"repository": {
|
|
10
13
|
"type": "git",
|
|
11
14
|
"url": "git+https://github.com/remnawave/backend.git"
|
|
12
15
|
},
|
|
13
|
-
"bugs": {
|
|
14
|
-
"url": "https://github.com/remnawave/backend/issues"
|
|
15
|
-
},
|
|
16
|
-
"main": "build/backend/index.js",
|
|
17
|
-
"browser": "build/frontend/index.js",
|
|
18
|
-
"types": "build/backend/index.d.ts",
|
|
19
16
|
"files": [
|
|
20
17
|
"build/**/*"
|
|
21
18
|
],
|
|
19
|
+
"main": "build/backend/index.js",
|
|
20
|
+
"browser": "build/frontend/index.js",
|
|
21
|
+
"types": "build/backend/index.d.ts",
|
|
22
22
|
"scripts": {
|
|
23
23
|
"clean": "rm -rf build",
|
|
24
24
|
"build:backend": "tsc -p tsconfig.backend.json",
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
"build": "npm run clean && npm run build:backend && npm run build:frontend",
|
|
27
27
|
"prepublish": "npm run build"
|
|
28
28
|
},
|
|
29
|
-
"keywords": [],
|
|
30
29
|
"dependencies": {
|
|
31
30
|
"zod": "3.25.76"
|
|
32
31
|
},
|
|
33
32
|
"devDependencies": {
|
|
34
33
|
"typescript": "5.9.3"
|
|
35
|
-
}
|
|
36
|
-
|
|
34
|
+
},
|
|
35
|
+
"public": true
|
|
36
|
+
}
|