@omer-x/buttler 1.5.0 → 2.0.0-alpha.10
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/README.md +76 -6
- package/bin/cli.js +169 -60
- package/drizzle/20261105041530_awesome_spiral/migration.sql +6 -0
- package/drizzle/20261105041530_awesome_spiral/snapshot.json +64 -0
- package/drizzle/20261108004152_overconfident_gunslinger/migration.sql +6 -0
- package/drizzle/20261108004152_overconfident_gunslinger/snapshot.json +117 -0
- package/drizzle/20261109034417_nervous_namora/migration.sql +27 -0
- package/drizzle/20261109034417_nervous_namora/snapshot.json +333 -0
- package/drizzle/20261124013742_medical_rhodey/migration.sql +2 -0
- package/drizzle/20261124013742_medical_rhodey/snapshot.json +353 -0
- package/drizzle/20261124075450_wooden_moondragon/migration.sql +9 -0
- package/drizzle/20261124075450_wooden_moondragon/snapshot.json +430 -0
- package/drizzle/20261124131152_greedy_betty_ross/migration.sql +7 -0
- package/drizzle/20261124131152_greedy_betty_ross/snapshot.json +498 -0
- package/drizzle/20261125085214_blushing_the_liberteens/migration.sql +8 -0
- package/drizzle/20261125085214_blushing_the_liberteens/snapshot.json +571 -0
- package/drizzle/20261126045852_service_internet_access/migration.sql +1 -0
- package/drizzle/20261126045852_service_internet_access/snapshot.json +581 -0
- package/drizzle/20261126062036_service_links/migration.sql +11 -0
- package/drizzle/20261126062036_service_links/snapshot.json +688 -0
- package/package.json +48 -45
- package/ui/.next/BUILD_ID +1 -1
- package/ui/.next/app-path-routes-manifest.json +22 -10
- package/ui/.next/build-manifest.json +158 -23
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/admin.js +30 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/auth-context.js +19 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/backoff-timeout.js +209 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/call-credentials.js +163 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/call-interface.js +100 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/call-number.js +24 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/call.js +152 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/certificate-provider.js +141 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/channel-credentials.js +431 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/channel-options.js +73 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/channel.js +68 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/channelz.js +599 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/client-interceptors.js +434 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/client.js +433 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/compression-algorithms.js +26 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/compression-filter.js +307 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/connectivity-state.js +28 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/constants.js +64 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/control-plane-status.js +42 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/deadline.js +110 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/duration.js +74 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/environment.js +23 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/error.js +40 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/events.js +19 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/experimental.js +58 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/filter-stack.js +82 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/filter.js +38 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/channelz.js +3 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/Any.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/BoolValue.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/BytesValue.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/DescriptorProto.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/DoubleValue.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/Duration.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/Edition.js +19 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/EnumDescriptorProto.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/EnumOptions.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/EnumValueDescriptorProto.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/EnumValueOptions.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/ExtensionRangeOptions.js +10 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/FeatureSet.js +56 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/FeatureSetDefaults.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/FieldDescriptorProto.js +32 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/FieldOptions.js +36 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/FileDescriptorProto.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/FileDescriptorSet.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/FileOptions.js +11 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/FloatValue.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/GeneratedCodeInfo.js +11 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/Int32Value.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/Int64Value.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/MessageOptions.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/MethodDescriptorProto.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/MethodOptions.js +11 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/OneofDescriptorProto.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/OneofOptions.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/ServiceDescriptorProto.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/ServiceOptions.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/SourceCodeInfo.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/StringValue.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/SymbolVisibility.js +10 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/Timestamp.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/UInt32Value.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/UInt64Value.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/google/protobuf/UninterpretedOption.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/Address.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/Channel.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/ChannelConnectivityState.js +14 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/ChannelData.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/ChannelRef.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/ChannelTrace.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/ChannelTraceEvent.js +15 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/Channelz.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetChannelRequest.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetChannelResponse.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetServerRequest.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetServerResponse.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetServerSocketsRequest.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetServerSocketsResponse.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetServersRequest.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetServersResponse.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetSocketRequest.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetSocketResponse.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetSubchannelRequest.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetSubchannelResponse.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetTopChannelsRequest.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/GetTopChannelsResponse.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/Security.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/Server.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/ServerData.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/ServerRef.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/Socket.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/SocketData.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/SocketOption.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/SocketOptionLinger.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/SocketOptionTcpInfo.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/SocketOptionTimeout.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/SocketRef.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/Subchannel.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/grpc/channelz/v1/SubchannelRef.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/orca.js +3 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/AnyRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/BoolRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/BytesRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/DoubleRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/DurationRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/EnumRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/FieldRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/Fixed32Rules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/Fixed64Rules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/FloatRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/Int32Rules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/Int64Rules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/KnownRegex.js +19 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/MapRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/MessageRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/RepeatedRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/SFixed32Rules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/SFixed64Rules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/SInt32Rules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/SInt64Rules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/StringRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/TimestampRules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/UInt32Rules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/validate/UInt64Rules.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/xds/data/orca/v3/OrcaLoadReport.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/xds/service/orca/v3/OpenRcaService.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/generated/xds/service/orca/v3/OrcaLoadReportRequest.js +4 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/http_proxy.js +274 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/index.js +148 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/internal-channel.js +677 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/load-balancer-child-handler.js +151 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/load-balancer-outlier-detection.js +571 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/load-balancer-pick-first.js +514 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/load-balancer-round-robin.js +204 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/load-balancer-weighted-round-robin.js +392 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/load-balancer.js +116 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/load-balancing-call.js +321 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/logging.js +129 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/make-client.js +143 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/metadata.js +277 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/object-stream.js +19 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/orca.js +323 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/picker.js +86 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/priority-queue.js +120 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/resolver-dns.js +363 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/resolver-ip.js +106 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/resolver-uds.js +51 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/resolver.js +89 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/resolving-call.js +345 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/resolving-load-balancer.js +312 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/retrying-call.js +768 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/server-call.js +226 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/server-credentials.js +314 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/server-interceptors.js +838 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/server.js +1651 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/service-config.js +430 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/single-subchannel-channel.js +233 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/status-builder.js +68 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/stream-decoder.js +100 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/subchannel-address.js +202 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/subchannel-call.js +606 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/subchannel-interface.js +114 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/subchannel-pool.js +137 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/subchannel.js +417 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/tls-helpers.js +34 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/transport.js +691 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/build/src/uri-parser.js +152 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/node_modules/@grpc/proto-loader/build/src/index.js +246 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/node_modules/@grpc/proto-loader/build/src/util.js +89 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/node_modules/@grpc/proto-loader/package.json +69 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/package.json +89 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/proto/channelz.proto +564 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/proto/protoc-gen-validate/LICENSE +202 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/proto/protoc-gen-validate/validate/validate.proto +797 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/proto/xds/LICENSE +201 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/proto/xds/xds/data/orca/v3/orca_load_report.proto +58 -0
- package/ui/.next/node_modules/@grpc/grpc-js-a3bed6b460f5f8b6/proto/xds/xds/service/orca/v3/orca.proto +36 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/config.js +135 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/container.js +1085 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/docker.js +1879 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/exec.js +139 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/image.js +279 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/network.js +171 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/node.js +135 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/plugin.js +372 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/proto/auth.proto +54 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/secret.js +134 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/service.js +183 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/session.js +63 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/task.js +97 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/util.js +106 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/lib/volume.js +90 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/.travis.yml +6 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/LICENSE +21 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/README.md +165 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/index.js +363 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/package.json +41 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/test/fixtures/a/hello.txt +1 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/test/fixtures/b/a/test.txt +1 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/test/fixtures/d/file1 +0 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/test/fixtures/d/file2 +0 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/test/fixtures/d/sub-dir/file5 +0 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/test/fixtures/d/sub-files/file3 +0 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/test/fixtures/d/sub-files/file4 +0 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/test/fixtures/e/file +0 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/test/fixtures/invalid.tar +0 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-fs/test/index.js +346 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-stream/extract.js +257 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-stream/headers.js +295 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-stream/index.js +2 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-stream/pack.js +255 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/tar-stream/package.json +58 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/index.js +104 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/max.js +7 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/md5.js +17 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/native.js +11 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/nil.js +7 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/parse.js +44 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/regex.js +7 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/rng.js +17 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/sha1.js +17 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/stringify.js +38 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/v1.js +131 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/v1ToV6.js +26 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/v3.js +11 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/v35.js +63 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/v4.js +32 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/v5.js +11 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/v6.js +38 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/v6ToV1.js +26 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/v7.js +152 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/validate.js +12 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/dist/version.js +15 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/node_modules/uuid/package.json +142 -0
- package/ui/.next/node_modules/dockerode-bcad4ae286499104/package.json +40 -0
- package/ui/.next/prerender-manifest.json +1086 -12
- package/ui/.next/required-server-files.json +159 -90
- package/ui/.next/routes-manifest.json +362 -32
- package/ui/.next/server/app/[locale]/(auth)/install/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/[locale]/(auth)/install/page/build-manifest.json +22 -0
- package/ui/.next/server/app/[locale]/(auth)/install/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/[locale]/(auth)/install/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/[locale]/(auth)/install/page/server-reference-manifest.json +115 -0
- package/ui/.next/server/app/[locale]/(auth)/install/page.js +46 -0
- package/ui/.next/server/app/[locale]/(auth)/install/page.js.map +5 -0
- package/ui/.next/server/app/[locale]/(auth)/install/page.js.nft.json +1 -0
- package/ui/.next/server/app/[locale]/(auth)/install/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/[locale]/(auth)/login/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/[locale]/(auth)/login/page/build-manifest.json +22 -0
- package/ui/.next/server/app/[locale]/(auth)/login/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/[locale]/(auth)/login/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/[locale]/(auth)/login/page/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/[locale]/(auth)/login/page.js +29 -0
- package/ui/.next/server/app/[locale]/(auth)/login/page.js.map +5 -0
- package/ui/.next/server/app/[locale]/(auth)/login/page.js.nft.json +1 -0
- package/ui/.next/server/app/[locale]/(auth)/login/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/[locale]/(base)/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/[locale]/(base)/page/build-manifest.json +22 -0
- package/ui/.next/server/app/[locale]/(base)/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/[locale]/(base)/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/page/server-reference-manifest.json +15 -0
- package/ui/.next/server/app/[locale]/(base)/page.js +31 -0
- package/ui/.next/server/app/[locale]/(base)/page.js.map +5 -0
- package/ui/.next/server/app/[locale]/(base)/page.js.nft.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page/build-manifest.json +22 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page/server-reference-manifest.json +205 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page.js +53 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page.js.map +5 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page.js.nft.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/builds/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/links/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/links/page/build-manifest.json +22 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/links/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/links/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/links/page/server-reference-manifest.json +225 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/links/page.js +54 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/links/page.js.map +5 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/links/page.js.nft.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/links/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page/build-manifest.json +22 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page/server-reference-manifest.json +205 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page.js +52 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page.js.map +5 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page.js.nft.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/logs/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page/build-manifest.json +22 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page/server-reference-manifest.json +205 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page.js +53 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page.js.map +5 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page.js.nft.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page/build-manifest.json +22 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page/server-reference-manifest.json +245 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page.js +55 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page.js.map +5 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page.js.nft.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/[id]/settings/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/new/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/new/page/build-manifest.json +22 -0
- package/ui/.next/server/app/[locale]/(base)/services/new/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/[locale]/(base)/services/new/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/new/page/server-reference-manifest.json +175 -0
- package/ui/.next/server/app/[locale]/(base)/services/new/page.js +47 -0
- package/ui/.next/server/app/[locale]/(base)/services/new/page.js.map +5 -0
- package/ui/.next/server/app/[locale]/(base)/services/new/page.js.nft.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/new/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/[locale]/(base)/services/page/build-manifest.json +22 -0
- package/ui/.next/server/app/[locale]/(base)/services/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/[locale]/(base)/services/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/page/server-reference-manifest.json +45 -0
- package/ui/.next/server/app/[locale]/(base)/services/page.js +43 -0
- package/ui/.next/server/app/[locale]/(base)/services/page.js.map +5 -0
- package/ui/.next/server/app/[locale]/(base)/services/page.js.nft.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/services/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/[locale]/(base)/settings/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/[locale]/(base)/settings/page/build-manifest.json +22 -0
- package/ui/.next/server/app/[locale]/(base)/settings/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/[locale]/(base)/settings/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/settings/page/server-reference-manifest.json +125 -0
- package/ui/.next/server/app/[locale]/(base)/settings/page.js +48 -0
- package/ui/.next/server/app/[locale]/(base)/settings/page.js.map +5 -0
- package/ui/.next/server/app/[locale]/(base)/settings/page.js.nft.json +1 -0
- package/ui/.next/server/app/[locale]/(base)/settings/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/[locale]/install.html +0 -0
- package/ui/.next/server/app/[locale]/install.meta +47 -0
- package/ui/.next/server/app/[locale]/install.segments/$d$locale/!KGF1dGgp/install/__PAGE__.segment.rsc +40 -0
- package/ui/.next/server/app/[locale]/install.segments/_full.segment.rsc +41 -0
- package/ui/.next/server/app/[locale]/install.segments/_tree.segment.rsc +7 -0
- package/ui/.next/server/app/[locale]/login.html +0 -0
- package/ui/.next/server/app/[locale]/login.meta +47 -0
- package/ui/.next/server/app/[locale]/login.segments/$d$locale/!KGF1dGgp/login/__PAGE__.segment.rsc +40 -0
- package/ui/.next/server/app/[locale]/login.segments/_full.segment.rsc +39 -0
- package/ui/.next/server/app/[locale]/login.segments/_tree.segment.rsc +7 -0
- package/ui/.next/server/app/[locale]/services/[id]/builds.html +0 -0
- package/ui/.next/server/app/[locale]/services/[id]/builds.meta +57 -0
- package/ui/.next/server/app/[locale]/services/[id]/builds.segments/$d$locale/!KGJhc2Up/services/$d$id/builds/__PAGE__.segment.rsc +46 -0
- package/ui/.next/server/app/[locale]/services/[id]/builds.segments/_full.segment.rsc +45 -0
- package/ui/.next/server/app/[locale]/services/[id]/builds.segments/_tree.segment.rsc +9 -0
- package/ui/.next/server/app/[locale]/services/[id]/links.html +0 -0
- package/ui/.next/server/app/[locale]/services/[id]/links.meta +57 -0
- package/ui/.next/server/app/[locale]/services/[id]/links.segments/$d$locale/!KGJhc2Up/services/$d$id/links/__PAGE__.segment.rsc +47 -0
- package/ui/.next/server/app/[locale]/services/[id]/links.segments/_full.segment.rsc +45 -0
- package/ui/.next/server/app/[locale]/services/[id]/links.segments/_tree.segment.rsc +9 -0
- package/ui/.next/server/app/[locale]/services/[id]/logs.html +0 -0
- package/ui/.next/server/app/[locale]/services/[id]/logs.meta +57 -0
- package/ui/.next/server/app/[locale]/services/[id]/logs.segments/$d$locale/!KGJhc2Up/services/$d$id/logs/__PAGE__.segment.rsc +47 -0
- package/ui/.next/server/app/[locale]/services/[id]/logs.segments/_full.segment.rsc +45 -0
- package/ui/.next/server/app/[locale]/services/[id]/logs.segments/_tree.segment.rsc +9 -0
- package/ui/.next/server/app/[locale]/services/[id]/settings.html +0 -0
- package/ui/.next/server/app/[locale]/services/[id]/settings.meta +57 -0
- package/ui/.next/server/app/[locale]/services/[id]/settings.segments/$d$locale/!KGJhc2Up/services/$d$id/settings/__PAGE__.segment.rsc +47 -0
- package/ui/.next/server/app/[locale]/services/[id]/settings.segments/_full.segment.rsc +45 -0
- package/ui/.next/server/app/[locale]/services/[id]/settings.segments/_tree.segment.rsc +9 -0
- package/ui/.next/server/app/[locale]/services/[id].html +0 -0
- package/ui/.next/server/app/[locale]/services/[id].meta +52 -0
- package/ui/.next/server/app/[locale]/services/[id].segments/$d$locale/!KGJhc2Up/services/$d$id/__PAGE__.segment.rsc +43 -0
- package/ui/.next/server/app/[locale]/services/[id].segments/_full.segment.rsc +43 -0
- package/ui/.next/server/app/[locale]/services/[id].segments/_tree.segment.rsc +8 -0
- package/ui/.next/server/app/[locale]/services/new.html +0 -0
- package/ui/.next/server/app/[locale]/services/new.meta +52 -0
- package/ui/.next/server/app/[locale]/services/new.segments/$d$locale/!KGJhc2Up/services/new/__PAGE__.segment.rsc +40 -0
- package/ui/.next/server/app/[locale]/services/new.segments/_full.segment.rsc +42 -0
- package/ui/.next/server/app/[locale]/services/new.segments/_tree.segment.rsc +8 -0
- package/ui/.next/server/app/[locale]/services.html +0 -0
- package/ui/.next/server/app/[locale]/services.meta +47 -0
- package/ui/.next/server/app/[locale]/services.segments/$d$locale/!KGJhc2Up/services/__PAGE__.segment.rsc +54 -0
- package/ui/.next/server/app/[locale]/services.segments/_full.segment.rsc +56 -0
- package/ui/.next/server/app/[locale]/services.segments/_tree.segment.rsc +7 -0
- package/ui/.next/server/app/[locale]/settings.html +0 -0
- package/ui/.next/server/app/[locale]/settings.meta +47 -0
- package/ui/.next/server/app/[locale]/settings.segments/$d$locale/!KGJhc2Up/settings/__PAGE__.segment.rsc +39 -0
- package/ui/.next/server/app/[locale]/settings.segments/_full.segment.rsc +39 -0
- package/ui/.next/server/app/[locale]/settings.segments/_tree.segment.rsc +7 -0
- package/ui/.next/server/app/[locale].html +0 -0
- package/ui/.next/server/app/[locale].meta +42 -0
- package/ui/.next/server/app/[locale].segments/$d$locale/!KGJhc2Up/__PAGE__.segment.rsc +37 -0
- package/ui/.next/server/app/[locale].segments/_full.segment.rsc +38 -0
- package/ui/.next/server/app/[locale].segments/_tree.segment.rsc +6 -0
- package/ui/.next/server/app/_global-error/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/_global-error/page/build-manifest.json +22 -0
- package/ui/.next/server/app/_global-error/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/_global-error/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/_global-error/page/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/_global-error/page.js +13 -0
- package/ui/.next/server/app/_global-error/page.js.map +5 -0
- package/ui/.next/server/app/_global-error/page.js.nft.json +1 -0
- package/ui/.next/server/app/_global-error/page_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/_global-error.html +1 -0
- package/ui/.next/server/app/_global-error.meta +30 -0
- package/ui/.next/server/app/_global-error.rsc +29 -0
- package/ui/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +29 -0
- package/ui/.next/server/app/_global-error.segments/_full.segment.rsc +29 -0
- package/ui/.next/server/app/_global-error.segments/_tree.segment.rsc +2 -0
- package/ui/.next/server/app/_not-found/page/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/_not-found/page/build-manifest.json +22 -0
- package/ui/.next/server/app/_not-found/page/next-font-manifest.json +6 -0
- package/ui/.next/server/app/_not-found/page/react-loadable-manifest.json +1 -0
- package/ui/.next/server/app/_not-found/page/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/_not-found/page.js +15 -1
- package/ui/.next/server/app/_not-found/page.js.map +5 -0
- package/ui/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/ui/.next/server/app/_not-found/page_client-reference-manifest.js +3 -1
- package/ui/.next/server/app/_not-found.html +1 -1
- package/ui/.next/server/app/_not-found.meta +27 -0
- package/ui/.next/server/app/_not-found.rsc +31 -24
- package/ui/.next/server/app/_not-found.segments/_full.segment.rsc +32 -0
- package/ui/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +33 -0
- package/ui/.next/server/app/_not-found.segments/_tree.segment.rsc +3 -0
- package/ui/.next/server/app/api/services/[id]/logs/stream/route/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/api/services/[id]/logs/stream/route/build-manifest.json +12 -0
- package/ui/.next/server/app/api/services/[id]/logs/stream/route/server-reference-manifest.json +35 -0
- package/ui/.next/server/app/api/services/[id]/logs/stream/route.js +21 -0
- package/ui/.next/server/app/api/services/[id]/logs/stream/route.js.map +5 -0
- package/ui/.next/server/app/api/services/[id]/logs/stream/route.js.nft.json +1 -0
- package/ui/.next/server/app/api/services/[id]/logs/stream/route_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/api/sources/dockerhub/tags/route/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/api/sources/dockerhub/tags/route/build-manifest.json +12 -0
- package/ui/.next/server/app/api/sources/dockerhub/tags/route/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/api/sources/dockerhub/tags/route.js +15 -0
- package/ui/.next/server/app/api/sources/dockerhub/tags/route.js.map +5 -0
- package/ui/.next/server/app/api/sources/dockerhub/tags/route.js.nft.json +1 -0
- package/ui/.next/server/app/api/sources/dockerhub/tags/route_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/api/sources/github/branches/route/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/api/sources/github/branches/route/build-manifest.json +12 -0
- package/ui/.next/server/app/api/sources/github/branches/route/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/api/sources/github/branches/route.js +19 -0
- package/ui/.next/server/app/api/sources/github/branches/route.js.map +5 -0
- package/ui/.next/server/app/api/sources/github/branches/route.js.nft.json +1 -0
- package/ui/.next/server/app/api/sources/github/branches/route_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/api/sources/github/repos/route/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/api/sources/github/repos/route/build-manifest.json +12 -0
- package/ui/.next/server/app/api/sources/github/repos/route/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/api/sources/github/repos/route.js +19 -0
- package/ui/.next/server/app/api/sources/github/repos/route.js.map +5 -0
- package/ui/.next/server/app/api/sources/github/repos/route.js.nft.json +1 -0
- package/ui/.next/server/app/api/sources/github/repos/route_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/auth/cloudflare/route/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/auth/cloudflare/route/build-manifest.json +12 -0
- package/ui/.next/server/app/auth/cloudflare/route/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/auth/cloudflare/route.js +22 -0
- package/ui/.next/server/app/auth/cloudflare/route.js.map +5 -0
- package/ui/.next/server/app/auth/cloudflare/route.js.nft.json +1 -0
- package/ui/.next/server/app/auth/cloudflare/route_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/auth/github/route/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/auth/github/route/build-manifest.json +12 -0
- package/ui/.next/server/app/auth/github/route/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/auth/github/route.js +13 -0
- package/ui/.next/server/app/auth/github/route.js.map +5 -0
- package/ui/.next/server/app/auth/github/route.js.nft.json +1 -0
- package/ui/.next/server/app/auth/github/route_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/auth/github-install/route/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/auth/github-install/route/build-manifest.json +12 -0
- package/ui/.next/server/app/auth/github-install/route/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/auth/github-install/route.js +15 -0
- package/ui/.next/server/app/auth/github-install/route.js.map +5 -0
- package/ui/.next/server/app/auth/github-install/route.js.nft.json +1 -0
- package/ui/.next/server/app/auth/github-install/route_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/auth/instance/route/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/auth/instance/route/build-manifest.json +12 -0
- package/ui/.next/server/app/auth/instance/route/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/auth/instance/route.js +12 -0
- package/ui/.next/server/app/auth/instance/route.js.map +5 -0
- package/ui/.next/server/app/auth/instance/route.js.nft.json +1 -0
- package/ui/.next/server/app/auth/instance/route_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/auth/setup/route/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/auth/setup/route/build-manifest.json +12 -0
- package/ui/.next/server/app/auth/setup/route/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/auth/setup/route.js +13 -0
- package/ui/.next/server/app/auth/setup/route.js.map +5 -0
- package/ui/.next/server/app/auth/setup/route.js.nft.json +1 -0
- package/ui/.next/server/app/auth/setup/route_client-reference-manifest.js +3 -0
- package/ui/.next/server/app/en/install.html +1 -0
- package/ui/.next/server/app/en/install.meta +47 -0
- package/ui/.next/server/app/en/install.segments/$d$locale/!KGF1dGgp/install/__PAGE__.segment.rsc +36 -0
- package/ui/.next/server/app/en/install.segments/$d$locale.segment.rsc +24 -0
- package/ui/.next/server/app/en/install.segments/_full.segment.rsc +46 -0
- package/ui/.next/server/app/en/install.segments/_tree.segment.rsc +7 -0
- package/ui/.next/server/app/en/login.html +1 -0
- package/ui/.next/server/app/en/login.meta +47 -0
- package/ui/.next/server/app/en/login.segments/$d$locale/!KGF1dGgp/login/__PAGE__.segment.rsc +36 -0
- package/ui/.next/server/app/en/login.segments/$d$locale.segment.rsc +24 -0
- package/ui/.next/server/app/en/login.segments/_full.segment.rsc +45 -0
- package/ui/.next/server/app/en/login.segments/_tree.segment.rsc +7 -0
- package/ui/.next/server/app/en/services/[id]/builds.html +1 -0
- package/ui/.next/server/app/en/services/[id]/builds.meta +58 -0
- package/ui/.next/server/app/en/services/[id]/builds.segments/$d$locale/!KGJhc2Up/services/$d$id/builds/__PAGE__.segment.rsc +49 -0
- package/ui/.next/server/app/en/services/[id]/builds.segments/$d$locale/!KGJhc2Up.segment.rsc +35 -0
- package/ui/.next/server/app/en/services/[id]/builds.segments/$d$locale.segment.rsc +24 -0
- package/ui/.next/server/app/en/services/[id]/builds.segments/_full.segment.rsc +76 -0
- package/ui/.next/server/app/en/services/[id]/builds.segments/_tree.segment.rsc +9 -0
- package/ui/.next/server/app/en/services/[id]/links.html +1 -0
- package/ui/.next/server/app/en/services/[id]/links.meta +58 -0
- package/ui/.next/server/app/en/services/[id]/links.segments/$d$locale/!KGJhc2Up/services/$d$id/links/__PAGE__.segment.rsc +50 -0
- package/ui/.next/server/app/en/services/[id]/links.segments/$d$locale/!KGJhc2Up.segment.rsc +36 -0
- package/ui/.next/server/app/en/services/[id]/links.segments/$d$locale.segment.rsc +24 -0
- package/ui/.next/server/app/en/services/[id]/links.segments/_full.segment.rsc +77 -0
- package/ui/.next/server/app/en/services/[id]/links.segments/_tree.segment.rsc +9 -0
- package/ui/.next/server/app/en/services/[id]/logs.html +1 -0
- package/ui/.next/server/app/en/services/[id]/logs.meta +58 -0
- package/ui/.next/server/app/en/services/[id]/logs.segments/$d$locale/!KGJhc2Up/services/$d$id/logs/__PAGE__.segment.rsc +50 -0
- package/ui/.next/server/app/en/services/[id]/logs.segments/$d$locale/!KGJhc2Up.segment.rsc +36 -0
- package/ui/.next/server/app/en/services/[id]/logs.segments/$d$locale.segment.rsc +24 -0
- package/ui/.next/server/app/en/services/[id]/logs.segments/_full.segment.rsc +77 -0
- package/ui/.next/server/app/en/services/[id]/logs.segments/_tree.segment.rsc +9 -0
- package/ui/.next/server/app/en/services/[id]/settings.html +1 -0
- package/ui/.next/server/app/en/services/[id]/settings.meta +58 -0
- package/ui/.next/server/app/en/services/[id]/settings.segments/$d$locale/!KGJhc2Up/services/$d$id/settings/__PAGE__.segment.rsc +50 -0
- package/ui/.next/server/app/en/services/[id]/settings.segments/$d$locale/!KGJhc2Up.segment.rsc +36 -0
- package/ui/.next/server/app/en/services/[id]/settings.segments/$d$locale.segment.rsc +24 -0
- package/ui/.next/server/app/en/services/[id]/settings.segments/_full.segment.rsc +77 -0
- package/ui/.next/server/app/en/services/[id]/settings.segments/_tree.segment.rsc +9 -0
- package/ui/.next/server/app/en/services/[id].html +1 -0
- package/ui/.next/server/app/en/services/[id].meta +53 -0
- package/ui/.next/server/app/en/services/[id].segments/$d$locale/!KGJhc2Up/services/$d$id/__PAGE__.segment.rsc +47 -0
- package/ui/.next/server/app/en/services/[id].segments/$d$locale/!KGJhc2Up.segment.rsc +35 -0
- package/ui/.next/server/app/en/services/[id].segments/$d$locale.segment.rsc +24 -0
- package/ui/.next/server/app/en/services/[id].segments/_full.segment.rsc +74 -0
- package/ui/.next/server/app/en/services/[id].segments/_tree.segment.rsc +8 -0
- package/ui/.next/server/app/en/services/new.html +1 -0
- package/ui/.next/server/app/en/services/new.meta +53 -0
- package/ui/.next/server/app/en/services/new.segments/$d$locale/!KGJhc2Up/services/new/__PAGE__.segment.rsc +45 -0
- package/ui/.next/server/app/en/services/new.segments/$d$locale/!KGJhc2Up.segment.rsc +34 -0
- package/ui/.next/server/app/en/services/new.segments/$d$locale.segment.rsc +24 -0
- package/ui/.next/server/app/en/services/new.segments/_full.segment.rsc +71 -0
- package/ui/.next/server/app/en/services/new.segments/_tree.segment.rsc +8 -0
- package/ui/.next/server/app/en/services.html +1 -0
- package/ui/.next/server/app/en/services.meta +48 -0
- package/ui/.next/server/app/en/services.segments/$d$locale/!KGJhc2Up/services/__PAGE__.segment.rsc +43 -0
- package/ui/.next/server/app/en/services.segments/$d$locale/!KGJhc2Up.segment.rsc +33 -0
- package/ui/.next/server/app/en/services.segments/$d$locale.segment.rsc +24 -0
- package/ui/.next/server/app/en/services.segments/_full.segment.rsc +74 -0
- package/ui/.next/server/app/en/services.segments/_tree.segment.rsc +7 -0
- package/ui/.next/server/app/en/settings.html +1 -0
- package/ui/.next/server/app/en/settings.meta +48 -0
- package/ui/.next/server/app/en/settings.segments/$d$locale/!KGJhc2Up/settings/__PAGE__.segment.rsc +32 -0
- package/ui/.next/server/app/en/settings.segments/$d$locale/!KGJhc2Up.segment.rsc +34 -0
- package/ui/.next/server/app/en/settings.segments/$d$locale.segment.rsc +24 -0
- package/ui/.next/server/app/en/settings.segments/_full.segment.rsc +66 -0
- package/ui/.next/server/app/en/settings.segments/_tree.segment.rsc +7 -0
- package/ui/.next/server/app/en.html +1 -0
- package/ui/.next/server/app/en.meta +43 -0
- package/ui/.next/server/app/en.segments/$d$locale/!KGJhc2Up/__PAGE__.segment.rsc +26 -0
- package/ui/.next/server/app/en.segments/$d$locale/!KGJhc2Up.segment.rsc +32 -0
- package/ui/.next/server/app/en.segments/$d$locale.segment.rsc +24 -0
- package/ui/.next/server/app/en.segments/_full.segment.rsc +63 -0
- package/ui/.next/server/app/en.segments/_tree.segment.rsc +6 -0
- package/ui/.next/server/app/webhooks/github/route/app-paths-manifest.json +3 -0
- package/ui/.next/server/app/webhooks/github/route/build-manifest.json +12 -0
- package/ui/.next/server/app/webhooks/github/route/server-reference-manifest.json +4 -0
- package/ui/.next/server/app/webhooks/github/route.js +20 -0
- package/ui/.next/server/app/webhooks/github/route.js.map +5 -0
- package/ui/.next/server/app/webhooks/github/route.js.nft.json +1 -0
- package/ui/.next/server/app/webhooks/github/route_client-reference-manifest.js +3 -0
- package/ui/.next/server/app-paths-manifest.json +22 -10
- package/ui/.next/server/chunks/1oeh_server_app_api_sources_github_branches_route_actions_1bw0q1bdnkb7k.js +3 -0
- package/ui/.next/server/chunks/[externals]__16n-vz_2p2541._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__013tvh0fuqyka._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__04tl1dat3on_2._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__0axr0p9f9qjo3._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__0b1qz1hj0p20c._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__0emx9mcq5bpjq._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__0gh0uoxmttq-k._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__0hgon_k2l_1kv._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__0qe_mikj7agcq._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__0seii5yz165qe._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__0t8cq-tdu7dt5._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__0wtmvgs4b4a72._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__1007u-potejqr._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__1099j5oihunj4._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__12uj0887q1ayr._.js +5 -0
- package/ui/.next/server/chunks/[root-of-the-server]__16b_5up45wd06._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__1m9jomjwom7eb._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__1ukr105klaen2._.js +3 -0
- package/ui/.next/server/chunks/[root-of-the-server]__1w3vh-httwncf._.js +84 -0
- package/ui/.next/server/chunks/[turbopack]_runtime.js +935 -0
- package/ui/.next/server/chunks/_0-08w0j6upuro._.js +19 -0
- package/ui/.next/server/chunks/_0c5m7ucsoah02._.js +3 -0
- package/ui/.next/server/chunks/_0etmci43pbufz._.js +57 -0
- package/ui/.next/server/chunks/_0fakz5bf_8pur._.js +3 -0
- package/ui/.next/server/chunks/_0fbnknqoj9au_._.js +3 -0
- package/ui/.next/server/chunks/_0gwhwrnj7ocnj._.js +3 -0
- package/ui/.next/server/chunks/_0iv1xrv5s4qth._.js +3 -0
- package/ui/.next/server/chunks/_0karc_u8bb50q._.js +3 -0
- package/ui/.next/server/chunks/_0lw2g-1r5g45q._.js +3 -0
- package/ui/.next/server/chunks/_0nlsx2mvtyhai._.js +3 -0
- package/ui/.next/server/chunks/_0nu_d29y_czf6._.js +54 -0
- package/ui/.next/server/chunks/_0ofjmpyvs6ul6._.js +3 -0
- package/ui/.next/server/chunks/_0xa0_ovy64zj7._.js +57 -0
- package/ui/.next/server/chunks/_0zkm9iridyfzh._.js +8 -0
- package/ui/.next/server/chunks/_14zlq9i7i3bl-._.js +3 -0
- package/ui/.next/server/chunks/_18xra6v5t_o45._.js +3 -0
- package/ui/.next/server/chunks/_1bh2nprq-awfy._.js +3 -0
- package/ui/.next/server/chunks/_1bq3sfcvzysrs._.js +3 -0
- package/ui/.next/server/chunks/_1ddptkvp76c-m._.js +9 -0
- package/ui/.next/server/chunks/_1duy_bxbcax0g._.js +9 -0
- package/ui/.next/server/chunks/_1hom9geso8mh2._.js +3 -0
- package/ui/.next/server/chunks/_1nlr92m-cxatd._.js +3 -0
- package/ui/.next/server/chunks/_1s6yh1-j0stln._.js +57 -0
- package/ui/.next/server/chunks/_1ux2nt1zdyn0-._.js +19 -0
- package/ui/.next/server/chunks/_1xyz4i2jb2-s2._.js +3 -0
- package/ui/.next/server/chunks/_20a674o2515bv._.js +3 -0
- package/ui/.next/server/chunks/_next-internal_server_app_api_sources_dockerhub_tags_route_actions_1vr86a4z3rit-.js +3 -0
- package/ui/.next/server/chunks/_next-internal_server_app_api_sources_github_repos_route_actions_0e5y8klzd2xng.js +3 -0
- package/ui/.next/server/chunks/_next-internal_server_app_auth_cloudflare_route_actions_0q3d2o-17kx4t.js +3 -0
- package/ui/.next/server/chunks/_next-internal_server_app_auth_github-install_route_actions_1gowzbw-w9t4k.js +3 -0
- package/ui/.next/server/chunks/_next-internal_server_app_auth_github_route_actions_1ve_5728pjjtf.js +3 -0
- package/ui/.next/server/chunks/_next-internal_server_app_auth_instance_route_actions_0y48n_s42d57t.js +3 -0
- package/ui/.next/server/chunks/_next-internal_server_app_auth_setup_route_actions_0b-lmtbiezknn.js +3 -0
- package/ui/.next/server/chunks/_next-internal_server_app_webhooks_github_route_actions_05ts0zz0_11y7.js +3 -0
- package/ui/.next/server/chunks/node_modules_next_01thkjpd3ze1x._.js +16 -0
- package/ui/.next/server/chunks/node_modules_next_0br6x7vj8yluw._.js +16 -0
- package/ui/.next/server/chunks/node_modules_next_1lo724y0ayaf6._.js +3 -0
- package/ui/.next/server/chunks/node_modules_next_dist_03bge59x-kx8t._.js +10 -0
- package/ui/.next/server/chunks/node_modules_next_dist_0_7m9yc-1xbeb._.js +54 -0
- package/ui/.next/server/chunks/node_modules_next_dist_0asya_d53xspt._.js +10 -0
- package/ui/.next/server/chunks/node_modules_next_dist_0iktj_b1skihl._.js +3 -0
- package/ui/.next/server/chunks/node_modules_next_dist_0n2og9jackhd2._.js +54 -0
- package/ui/.next/server/chunks/node_modules_next_dist_0qad2-g67md1w._.js +3 -0
- package/ui/.next/server/chunks/node_modules_next_dist_0v54j4d7kbf11._.js +3 -0
- package/ui/.next/server/chunks/node_modules_next_dist_0w_6_3_nokpiu._.js +10 -0
- package/ui/.next/server/chunks/node_modules_next_dist_19okfwys7ask2._.js +54 -0
- package/ui/.next/server/chunks/node_modules_next_dist_1l2dhw9vnb27k._.js +3 -0
- package/ui/.next/server/chunks/node_modules_next_dist_1n9spowd2r_5c._.js +54 -0
- package/ui/.next/server/chunks/node_modules_next_dist_1xbj516r0frq7._.js +3 -0
- package/ui/.next/server/chunks/src_0ehe0gc5xa4op._.js +3 -0
- package/ui/.next/server/chunks/src_0o62sbxgy6bsy._.js +57 -0
- package/ui/.next/server/chunks/src_1jcil3p45z5jf._.js +3 -0
- package/ui/.next/server/chunks/src_1wc3qafci1k3-._.js +3 -0
- package/ui/.next/server/chunks/src_1z80lrk153ij8._.js +57 -0
- package/ui/.next/server/chunks/src_211k8381ylin7._.js +3 -0
- package/ui/.next/server/chunks/src_core_01hbgvb0ullx2._.js +3 -0
- package/ui/.next/server/chunks/src_core_0s6ngauoj5p1n._.js +3 -0
- package/ui/.next/server/chunks/src_core_0ty7fxwao_is6._.js +3 -0
- package/ui/.next/server/chunks/src_core_1j6vv6o_pbisw._.js +3 -0
- package/ui/.next/server/chunks/src_core_build_ts_1w4o1q_gv2fnz._.js +5 -0
- package/ui/.next/server/chunks/src_core_cloudflare_domains_ts_0iceczzim091l._.js +3 -0
- package/ui/.next/server/chunks/src_core_cloudflare_tunnel_ts_089fv-f8qrsgc._.js +3 -0
- package/ui/.next/server/chunks/src_core_docker_ingress_ts_0k5y-exk0jujc._.js +3 -0
- package/ui/.next/server/chunks/src_core_docker_links_ts_1xdvepbsz4gi1._.js +3 -0
- package/ui/.next/server/chunks/src_core_docker_tunnel_ts_0a1cq4o2gv4cz._.js +3 -0
- package/ui/.next/server/chunks/src_core_docker_tunnel_ts_0joxbsi21ggvm._.js +3 -0
- package/ui/.next/server/chunks/src_core_github_app_ts_1-ye9_ml2tj8-._.js +3 -0
- package/ui/.next/server/chunks/src_core_github_repos_ts_1mc-epu0z4enk._.js +3 -0
- package/ui/.next/server/chunks/src_core_nginx_ts_1bg68o99-jq87._.js +59 -0
- package/ui/.next/server/chunks/src_core_nginx_ts_1rvs3_6875ras._.js +59 -0
- package/ui/.next/server/chunks/src_core_settings_ts_03r6mrmvaf3z9._.js +3 -0
- package/ui/.next/server/chunks/src_core_settings_ts_06epzja3innn1._.js +3 -0
- package/ui/.next/server/chunks/src_core_settings_ts_0tp-oc1884iob._.js +3 -0
- package/ui/.next/server/chunks/src_core_storage_ts_1tmiqzjak_i1r._.js +3 -0
- package/ui/.next/server/chunks/src_database_index_ts_1vzqbmlp-k92u._.js +26 -0
- package/ui/.next/server/chunks/src_operations_20gnjmon6t7yh._.js +3 -0
- package/ui/.next/server/chunks/ssr/1daa_@omer-x_tailwind-ui-kit_dist_components_dialog_AnimatedPopup_165_8l_656x7i.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__00sv8zxh_5jl1._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__034qjpl9j-0ci._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__08-ebu_kqgbr-._.js +14 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__09xlfu5wytwkq._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0cws_i6hecx8i._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0dm_kxgpszvv-._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0h97alnf636kr._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0hu_b5tmvame_._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0lrw_bd_v-wq9._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0py1t7q9ntzgc._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0ql4zrbgrh_8x._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0rkkxjp0vxzob._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0tceu8thqwy0d._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0tnvefuofuctm._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__0wvwdlp9vkys_._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__11f8nw5rjx5xy._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__14jml0yhiold9._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__15um_js0-44w5._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__19k3qfyr4zw2t._.js +4 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1_2uw8tv9c80k._.js +4 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1_el7is2iy_-8._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1a91ucu_h_7kg._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1ca4vimwd_884._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1el9cow-18yf7._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1f2-_zy1hslsn._.js +4 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1nipqwqlhzrez._.js +4 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1oppye8ve06rx._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1ttr-59q6kcbh._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1tujkrifmxs_p._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1xmh68o1ku99_._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__1z04xod1llqqd._.js +3 -0
- package/ui/.next/server/chunks/ssr/[root-of-the-server]__213i1nlxvmwk9._.js +3 -0
- package/ui/.next/server/chunks/ssr/[turbopack]_runtime.js +935 -0
- package/ui/.next/server/chunks/ssr/_0-wzn53wb0kys._.js +3 -0
- package/ui/.next/server/chunks/ssr/_00cc9bycztnxx._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0257bgoti-zpl._.js +3 -0
- package/ui/.next/server/chunks/ssr/_039tax-e0r5wx._.js +3 -0
- package/ui/.next/server/chunks/ssr/_03mjbc5iu4-0t._.js +3 -0
- package/ui/.next/server/chunks/ssr/_043r3p4uyglt8._.js +3 -0
- package/ui/.next/server/chunks/ssr/_045ukfxgkrnjs._.js +3 -0
- package/ui/.next/server/chunks/ssr/_04lfy3e4jplbm._.js +3 -0
- package/ui/.next/server/chunks/ssr/_067n8rpbsh0bc._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0_qywkd_6kzqc._.js +16 -0
- package/ui/.next/server/chunks/ssr/_0bw_5lgeb32vn._.js +16 -0
- package/ui/.next/server/chunks/ssr/_0dku_2buhxhe1._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0elrzkszc9mou._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0gm20eaq31snn._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0gthv16q_rqwx._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0l5h_g6g26cch._.js +32 -0
- package/ui/.next/server/chunks/ssr/_0m7ajo-96czt3._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0nm-73v3d_j3o._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0nuq-e7fnuzxf._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0py52-ib4m58g._.js +8 -0
- package/ui/.next/server/chunks/ssr/_0q_ty5-s_ojhi._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0sid4-3pb734p._.js +3 -0
- package/ui/.next/server/chunks/ssr/_0u-trbbp5y8mk._.js +3 -0
- package/ui/.next/server/chunks/ssr/_11hffrysj8ccd._.js +3 -0
- package/ui/.next/server/chunks/ssr/_11zzjiiyv_16p._.js +3 -0
- package/ui/.next/server/chunks/ssr/_12gl1cg0-6m84._.js +3 -0
- package/ui/.next/server/chunks/ssr/_14pr8k-21_dud._.js +19 -0
- package/ui/.next/server/chunks/ssr/_18ge21re3r-uk._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1975r9mjak44f._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1bw46sadku4mx._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1c9ja4120f5e7._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1cwumh2lem642._.js +4 -0
- package/ui/.next/server/chunks/ssr/_1czbl6nnvitkl._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1g8x3co_2gk2e._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1gxrg8g_1z61n._.js +9 -0
- package/ui/.next/server/chunks/ssr/_1hfss60b6ap9d._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1jvwyvy2mdunl._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1kkyy_gbyr-bg._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1kpy3x-i93hmq._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1l9hlfxdk4800._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1s61535w_i_lb._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1t7wd5lbghpsq._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1thsxvh0czdx1._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1v-gh-ppdzk54._.js +3 -0
- package/ui/.next/server/chunks/ssr/_1vznrs2oqv125._.js +3 -0
- package/ui/.next/server/chunks/ssr/_next-internal_server_app_[locale]_(auth)_install_page_actions_0q608mh34etxn.js +3 -0
- package/ui/.next/server/chunks/ssr/_next-internal_server_app_[locale]_(auth)_login_page_actions_1vlrup6n3cy9r.js +3 -0
- package/ui/.next/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_0zi5s8-psc_d2.js +3 -0
- package/ui/.next/server/chunks/ssr/_next-internal_server_app__not-found_page_actions_0pt47yrisjoev.js +3 -0
- package/ui/.next/server/chunks/ssr/dictionaries_en_json_[json]_cjs_1pkm_n6uii6ve._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_0613afe-n-giu._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_09h9wf5os0vez._.js +23 -0
- package/ui/.next/server/chunks/ssr/node_modules_0bh4y86fdvx3u._.js +23 -0
- package/ui/.next/server/chunks/ssr/node_modules_0difw-6bio6t9._.js +5 -0
- package/ui/.next/server/chunks/ssr/node_modules_0j64ears5h1cj._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_0m4futnh2n1n0._.js +23 -0
- package/ui/.next/server/chunks/ssr/node_modules_1-vjafv6x6e-0._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_19t6r27kxzb6-._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_1gueex6ppv2u1._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_1rlxdoxv0hxj9._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_@base-ui_0qr8dwuv-esmv._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_@base-ui_0wk9rvun80yi-._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_@base-ui_react_toast_index_parts_mjs_1etbhn8k3xcr9._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_@fortawesome_react-fontawesome_dist_index_0w8d9rk-bs6d1.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_@omer-x_tailwind-ui-kit_dist_components_form_index_1scnp-x6u_00i.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_@omer-x_tailwind-ui-kit_dist_utils_cn_0ohi7kntyza4d.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_0x2abhyqy1255._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_1na_3hspfxjcn._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_0-amwqbrge23p._.js +6 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_0bz0l6wvy_f2l._.js +10 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_0veabqxxrw0ch._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_0z_oheoyvwq5g._.js +5 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_1c5t_vsn6u8fr._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_1jk4kd1etvl9x._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_1tv-t1m7txvh5._.js +10 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_1uapduyhelki_._.js +54 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_1yi9lobqsg0d0._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_client_components_0bew68i643j53._.js +33 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_client_components_0wpq8j32_ibz4._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_0gv6bzf9otp9u._.js +33 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0symwr9mbf-fh.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0l_sp0xky89qu.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_compiled_@edge-runtime_cookies_index_1kiz_an963mbg.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_compiled_@opentelemetry_api_index_1oy1nwhip-98t.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_08t62w__hb9s1._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_09w-_c8cnnbp-.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0bgt3n50ngum7.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0i7he04se8idk.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0o_q-cl5t_j5y.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0r10zrxng849l.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1-ng_z96-b_1v.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_12x_y2ineb7-m.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1659ld6risgus.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_18-rk0s1mmvnl.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_19--w_z4y02i7.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1a9etgsu8cjol.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1sv4vxjkyi7o7.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1zhkgdf7b9lnr.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_next_dist_server_route-modules_app-page_vendored_1wzm776lz3ux_._.js +3 -0
- package/ui/.next/server/chunks/ssr/node_modules_use-intl_dist_esm_production_react_1n1b_a2rq9puf.js +5 -0
- package/ui/.next/server/chunks/ssr/node_modules_zod_v4_classic_external_0_adu4p2yg38n.js +57 -0
- package/ui/.next/server/chunks/ssr/node_modules_zod_v4_classic_external_0b6jkffik0qe3.js +57 -0
- package/ui/.next/server/chunks/ssr/src_00htxlrowbzez._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_0204en52_8p3i._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_05sh4p2uehbos._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_0bnikiwqnj5ci._.js +59 -0
- package/ui/.next/server/chunks/ssr/src_0osnajz6l9y4w._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_0q7_3v3fnv20b._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_0unk8-b7ur6o4._.js +59 -0
- package/ui/.next/server/chunks/ssr/src_10pz-333ne5s9._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_1f0ho9ewh9vke._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_1iyfq6dudriyk._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_1m2fl_nqj5nqs._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_1qzgwz16tevm3._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_1spp4h7q0g3hj._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_actions_cloudflare_ts_0fwbybngp80nf._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_actions_link_ts_13hqd7ogc36j3._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_actions_service_ts_0leald8wxwln3._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_actions_setup_ts_1j3o9o1z2x8l-._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_actions_user_ts_15o74nrxk2-dn._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_app_[locale]_(auth)_layout_tsx_00_uxpi57fxpi._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_app_[locale]_(base)_services_[id]_builds_page_tsx_043p8qtyhmhg8._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_app_[locale]_(base)_services_[id]_page_tsx_0hd62fq604aua._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_app_[locale]_(base)_services_not-found_tsx_0rse1zgktynz7._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_app_[locale]_(base)_unauthorized_tsx_0euh0m224yi72._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_components_0dw7q_n_p1894._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_components_domains_1zedpj1shtch0._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_components_services_0uvp3xb7qbmur._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_components_services_1xqd2ez36okp0._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_components_services_InternetAccessChoice_tsx_1kgbpu0tzvndy._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_components_settings_03t8-861u9lau._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_components_settings_134gcfbqnn8ia._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_components_settings_1y90r_5ge35ie._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_core_02f6f7rscof07._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_core_04_5qe36g6q0g._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_core_0nipraeusd7bv._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_core_0w75t1-r5b57i._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_core_build_ts_137f9fwr3qgv8._.js +5 -0
- package/ui/.next/server/chunks/ssr/src_core_cloudflare_domains_ts_1tx1rckprh9ks._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_core_cloudflare_tunnel_ts_06ejjwtfxdagd._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_core_docker_1o4aldsy3-3_s._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_core_docker_ingress_ts_0v7q2dx4d_gfp._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_core_docker_tunnel_ts_1805lsnks1qba._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_core_github_app_ts_0ylz626ookc1g._.js +3 -0
- package/ui/.next/server/chunks/ssr/src_core_nginx_ts_0ddpkgw8r0osc._.js +3 -0
- package/ui/.next/server/functions-config-manifest.json +11 -1
- package/ui/.next/server/instrumentation.js +4 -1
- package/ui/.next/server/middleware-build-manifest.js +168 -1
- package/ui/.next/server/middleware-manifest.json +2 -2
- package/ui/.next/server/middleware.js +5 -0
- package/ui/.next/server/next-font-manifest.js +1 -1
- package/ui/.next/server/next-font-manifest.json +6 -1
- package/ui/.next/server/pages/404.html +1 -1
- package/ui/.next/server/pages/500.html +1 -1
- package/ui/.next/server/pages-manifest.json +2 -4
- package/ui/.next/server/prefetch-hints.json +334 -0
- package/ui/.next/server/preview-props.json +5 -0
- package/ui/.next/server/server-reference-manifest.js +1 -1
- package/ui/.next/server/server-reference-manifest.json +832 -1
- package/ui/.next/static/63mGypIl9_o7HjkdjsR8q/_buildManifest.js +11 -0
- package/ui/.next/static/63mGypIl9_o7HjkdjsR8q/_clientMiddlewareManifest.js +6 -0
- package/ui/.next/static/63mGypIl9_o7HjkdjsR8q/_ssgManifest.js +1 -0
- package/ui/.next/static/chunks/00r1p2nh1kipz.js +1 -0
- package/ui/.next/static/chunks/05gxa8tr690lu.js +1 -0
- package/ui/.next/static/chunks/05jnb1lfbb-j1.js +1 -0
- package/ui/.next/static/chunks/0er9dc_qscrpf.js +3 -0
- package/ui/.next/static/chunks/0r6re9w59ezlu.js +1 -0
- package/ui/.next/static/chunks/0ru9sh1o_ylb0.js +3 -0
- package/ui/.next/static/chunks/0wj0noag-9_fs.js +1 -0
- package/ui/.next/static/chunks/1943uma78gvle.js +1 -0
- package/ui/.next/static/chunks/1_zs-121mlws0.js +1 -0
- package/ui/.next/static/chunks/1bb88ubtg9zhx.js +1 -0
- package/ui/.next/static/chunks/1hboyrpaz1yko.js +1 -0
- package/ui/.next/static/chunks/1hltxf3jfbf02.js +1 -0
- package/ui/.next/static/chunks/1k5vm6ry6wq60.js +22 -0
- package/ui/.next/static/chunks/1pcw6gskne7pf.js +31 -0
- package/ui/.next/static/chunks/2ev4g9-mfre-4.js +1 -0
- package/ui/.next/static/chunks/2ickgswajvaz7.js +1 -0
- package/ui/.next/static/chunks/2y6dkbb_cpkcg.css +1 -0
- package/ui/.next/static/chunks/3-3jc4cqytds3.js +1 -0
- package/ui/.next/static/chunks/312l7hfxly56v.css +1 -0
- package/ui/.next/static/chunks/33ycku3z0wxyz.js +1 -0
- package/ui/.next/static/chunks/3dj_pr0f1ky5c.js +1 -0
- package/ui/.next/static/chunks/3glt8s6g02u22.js +1 -0
- package/ui/.next/static/chunks/3pmo4svmlsjie.js +1 -0
- package/ui/.next/static/chunks/3rt54zhr0x-_1.js +1 -0
- package/ui/.next/static/chunks/41c3808a7as1l.js +1 -0
- package/ui/.next/static/chunks/434x1gu7o1zm6.js +1 -0
- package/ui/.next/static/chunks/452ji7o2zwiwa.js +1 -0
- package/ui/.next/static/chunks/turbopack-2u1d16houkiyo.js +1 -0
- package/ui/drizzle/20261105041530_awesome_spiral/migration.sql +6 -0
- package/ui/drizzle/20261105041530_awesome_spiral/snapshot.json +64 -0
- package/ui/drizzle/20261108004152_overconfident_gunslinger/migration.sql +6 -0
- package/ui/drizzle/20261108004152_overconfident_gunslinger/snapshot.json +117 -0
- package/ui/drizzle/20261109034417_nervous_namora/migration.sql +27 -0
- package/ui/drizzle/20261109034417_nervous_namora/snapshot.json +333 -0
- package/ui/drizzle/20261124013742_medical_rhodey/migration.sql +2 -0
- package/ui/drizzle/20261124013742_medical_rhodey/snapshot.json +353 -0
- package/ui/drizzle/20261124075450_wooden_moondragon/migration.sql +9 -0
- package/ui/drizzle/20261124075450_wooden_moondragon/snapshot.json +430 -0
- package/ui/drizzle/20261124131152_greedy_betty_ross/migration.sql +7 -0
- package/ui/drizzle/20261124131152_greedy_betty_ross/snapshot.json +498 -0
- package/ui/drizzle/20261125085214_blushing_the_liberteens/migration.sql +8 -0
- package/ui/drizzle/20261125085214_blushing_the_liberteens/snapshot.json +571 -0
- package/ui/drizzle/20261126045852_service_internet_access/migration.sql +1 -0
- package/ui/drizzle/20261126045852_service_internet_access/snapshot.json +581 -0
- package/ui/drizzle/20261126062036_service_links/migration.sql +11 -0
- package/ui/drizzle/20261126062036_service_links/snapshot.json +688 -0
- package/ui/package.json +48 -45
- package/ui/server.js +4 -4
- package/ui/src/core/access.test.ts +32 -0
- package/ui/src/core/access.ts +12 -0
- package/ui/src/core/auth-coverage.test.ts +99 -0
- package/ui/src/core/auth.test.ts +104 -0
- package/ui/src/core/auth.ts +58 -0
- package/ui/src/core/build.test.ts +236 -0
- package/ui/src/core/build.ts +170 -0
- package/ui/src/core/cloudflare/client.test.ts +67 -0
- package/ui/src/core/cloudflare/client.ts +41 -0
- package/ui/src/core/cloudflare/connection.test.ts +134 -0
- package/ui/src/core/cloudflare/connection.ts +72 -0
- package/ui/src/core/cloudflare/domains.test.ts +463 -0
- package/ui/src/core/cloudflare/domains.ts +312 -0
- package/ui/src/core/cloudflare/errors.ts +26 -0
- package/ui/src/core/cloudflare/oauth.test.ts +108 -0
- package/ui/src/core/cloudflare/oauth.ts +111 -0
- package/ui/src/core/cloudflare/records.ts +118 -0
- package/ui/src/core/cloudflare/tunnel.test.ts +284 -0
- package/ui/src/core/cloudflare/tunnel.ts +174 -0
- package/ui/src/core/cloudflare/zones.ts +35 -0
- package/ui/src/core/config.ts +87 -0
- package/ui/src/core/console.ts +14 -0
- package/ui/src/core/docker/build-history.test.ts +153 -0
- package/ui/src/core/docker/build-history.ts +165 -0
- package/ui/src/core/docker/build-session.test.ts +88 -0
- package/ui/src/core/docker/build-session.ts +111 -0
- package/ui/src/core/docker/buildkit.test.ts +50 -0
- package/ui/src/core/docker/buildkit.ts +116 -0
- package/ui/src/core/docker/builds.test.ts +128 -0
- package/ui/src/core/docker/builds.ts +107 -0
- package/ui/src/core/docker/containers.ts +10 -0
- package/ui/src/core/docker/errors.ts +13 -0
- package/ui/src/core/docker/ingress.test.ts +304 -0
- package/ui/src/core/docker/ingress.ts +138 -0
- package/ui/src/core/docker/internet.test.ts +88 -0
- package/ui/src/core/docker/internet.ts +59 -0
- package/ui/src/core/docker/labels.ts +10 -0
- package/ui/src/core/docker/links.test.ts +164 -0
- package/ui/src/core/docker/links.ts +170 -0
- package/ui/src/core/docker/logs.test.ts +152 -0
- package/ui/src/core/docker/logs.ts +146 -0
- package/ui/src/core/docker/networks.ts +41 -0
- package/ui/src/core/docker/removal.test.ts +120 -0
- package/ui/src/core/docker/removal.ts +37 -0
- package/ui/src/core/docker/status.test.ts +662 -0
- package/ui/src/core/docker/status.ts +489 -0
- package/ui/src/core/docker/subnets.test.ts +38 -0
- package/ui/src/core/docker/subnets.ts +35 -0
- package/ui/src/core/docker/tunnel.test.ts +154 -0
- package/ui/src/core/docker/tunnel.ts +130 -0
- package/ui/src/core/docker.test.ts +33 -0
- package/ui/src/core/docker.ts +226 -0
- package/ui/src/core/dockerhub.test.ts +139 -0
- package/ui/src/core/dockerhub.ts +118 -0
- package/ui/src/core/domains.test.ts +87 -0
- package/ui/src/core/domains.ts +44 -0
- package/ui/src/core/env.ts +9 -0
- package/ui/src/core/environment-variables.test.ts +26 -0
- package/ui/src/core/environment-variables.ts +33 -0
- package/ui/src/core/git.test.ts +91 -0
- package/ui/src/core/git.ts +94 -0
- package/ui/src/core/github/app.test.ts +301 -0
- package/ui/src/core/github/app.ts +287 -0
- package/ui/src/core/github/client.test.ts +153 -0
- package/ui/src/core/github/client.ts +91 -0
- package/ui/src/core/github/errors.ts +68 -0
- package/ui/src/core/github/repos.test.ts +214 -0
- package/ui/src/core/github/repos.ts +303 -0
- package/ui/src/core/github/users.test.ts +134 -0
- package/ui/src/core/github/users.ts +74 -0
- package/ui/src/core/github/webhooks.test.ts +28 -0
- package/ui/src/core/github/webhooks.ts +26 -0
- package/ui/src/core/headers.ts +17 -0
- package/ui/src/core/home.ts +5 -0
- package/ui/src/core/log-file.ts +17 -0
- package/ui/src/core/nginx-conf.test.ts +62 -0
- package/ui/src/core/nginx-conf.ts +97 -0
- package/ui/src/core/nginx.test.ts +418 -0
- package/ui/src/core/nginx.ts +264 -0
- package/ui/src/core/queue.test.ts +27 -0
- package/ui/src/core/queue.ts +11 -0
- package/ui/src/core/reachability.test.ts +127 -0
- package/ui/src/core/reachability.ts +96 -0
- package/ui/src/core/redact.test.ts +31 -0
- package/ui/src/core/redact.ts +33 -0
- package/ui/src/core/secrets.test.ts +52 -0
- package/ui/src/core/secrets.ts +84 -0
- package/ui/src/core/service.ts +13 -0
- package/ui/src/core/session.test.ts +53 -0
- package/ui/src/core/session.ts +61 -0
- package/ui/src/core/settings.ts +25 -0
- package/ui/src/core/setup-code.test.ts +93 -0
- package/ui/src/core/setup-code.ts +53 -0
- package/ui/src/core/setup-progress.test.ts +78 -0
- package/ui/src/core/setup-progress.ts +47 -0
- package/ui/src/core/setup.test.ts +46 -0
- package/ui/src/core/setup.ts +21 -0
- package/ui/src/core/shared-state.test.ts +17 -0
- package/ui/src/core/shared-state.ts +9 -0
- package/ui/src/core/storage.ts +40 -0
- package/drizzle/0000_bored_night_thrasher.sql +0 -64
- package/drizzle/0001_colorful_punisher.sql +0 -1
- package/drizzle/0002_friendly_silver_samurai.sql +0 -1
- package/drizzle/0003_flaky_mac_gargan.sql +0 -12
- package/drizzle/meta/0000_snapshot.json +0 -444
- package/drizzle/meta/0001_snapshot.json +0 -451
- package/drizzle/meta/0002_snapshot.json +0 -459
- package/drizzle/meta/0003_snapshot.json +0 -458
- package/drizzle/meta/_journal.json +0 -34
- package/ui/.next/app-build-manifest.json +0 -119
- package/ui/.next/react-loadable-manifest.json +0 -1886
- package/ui/.next/server/app/api/db/backup/route.js +0 -1
- package/ui/.next/server/app/api/db/backup/route.js.nft.json +0 -1
- package/ui/.next/server/app/api/db/backup/route_client-reference-manifest.js +0 -1
- package/ui/.next/server/app/api/logs/route.js +0 -1
- package/ui/.next/server/app/api/logs/route.js.nft.json +0 -1
- package/ui/.next/server/app/api/logs/route_client-reference-manifest.js +0 -1
- package/ui/.next/server/app/index.html +0 -1
- package/ui/.next/server/app/index.meta +0 -7
- package/ui/.next/server/app/index.rsc +0 -25
- package/ui/.next/server/app/page.js +0 -1
- package/ui/.next/server/app/page.js.nft.json +0 -1
- package/ui/.next/server/app/page_client-reference-manifest.js +0 -1
- package/ui/.next/server/app/services/[id]/databases/page.js +0 -1
- package/ui/.next/server/app/services/[id]/databases/page.js.nft.json +0 -1
- package/ui/.next/server/app/services/[id]/databases/page_client-reference-manifest.js +0 -1
- package/ui/.next/server/app/services/[id]/edit/page.js +0 -1
- package/ui/.next/server/app/services/[id]/edit/page.js.nft.json +0 -1
- package/ui/.next/server/app/services/[id]/edit/page_client-reference-manifest.js +0 -1
- package/ui/.next/server/app/services/[id]/networks/page.js +0 -1
- package/ui/.next/server/app/services/[id]/networks/page.js.nft.json +0 -1
- package/ui/.next/server/app/services/[id]/networks/page_client-reference-manifest.js +0 -1
- package/ui/.next/server/app/services/[id]/page.js +0 -1
- package/ui/.next/server/app/services/[id]/page.js.nft.json +0 -1
- package/ui/.next/server/app/services/[id]/page_client-reference-manifest.js +0 -1
- package/ui/.next/server/app/services/page.js +0 -1
- package/ui/.next/server/app/services/page.js.nft.json +0 -1
- package/ui/.next/server/app/services/page_client-reference-manifest.js +0 -1
- package/ui/.next/server/app/settings/page.js +0 -1
- package/ui/.next/server/app/settings/page.js.nft.json +0 -1
- package/ui/.next/server/app/settings/page_client-reference-manifest.js +0 -1
- package/ui/.next/server/app/settings.html +0 -1
- package/ui/.next/server/app/settings.meta +0 -7
- package/ui/.next/server/app/settings.rsc +0 -34
- package/ui/.next/server/app/webhook/route.js +0 -1
- package/ui/.next/server/app/webhook/route.js.nft.json +0 -1
- package/ui/.next/server/app/webhook/route_client-reference-manifest.js +0 -1
- package/ui/.next/server/chunks/15.js +0 -1
- package/ui/.next/server/chunks/230.js +0 -2
- package/ui/.next/server/chunks/256.js +0 -1
- package/ui/.next/server/chunks/277.js +0 -1
- package/ui/.next/server/chunks/298.js +0 -1
- package/ui/.next/server/chunks/312.js +0 -13
- package/ui/.next/server/chunks/54.js +0 -1
- package/ui/.next/server/chunks/548.js +0 -6
- package/ui/.next/server/chunks/629.js +0 -1
- package/ui/.next/server/chunks/664.js +0 -5
- package/ui/.next/server/chunks/704.js +0 -1
- package/ui/.next/server/chunks/719.js +0 -20
- package/ui/.next/server/chunks/744.js +0 -1
- package/ui/.next/server/chunks/754.js +0 -13
- package/ui/.next/server/middleware-react-loadable-manifest.js +0 -1
- package/ui/.next/server/pages/_app.js +0 -1
- package/ui/.next/server/pages/_app.js.nft.json +0 -1
- package/ui/.next/server/pages/_document.js +0 -1
- package/ui/.next/server/pages/_document.js.nft.json +0 -1
- package/ui/.next/server/pages/_error.js +0 -1
- package/ui/.next/server/pages/_error.js.nft.json +0 -1
- package/ui/.next/server/webpack-runtime.js +0 -1
- package/ui/.next/static/chunks/101-f8060fad2a86c89b.js +0 -1
- package/ui/.next/static/chunks/188-fbd648b10be73507.js +0 -1
- package/ui/.next/static/chunks/198-1027f3b62c561202.js +0 -1
- package/ui/.next/static/chunks/273-e344e36fb8554c48.js +0 -1
- package/ui/.next/static/chunks/31-3e15c585dc25c05a.js +0 -1
- package/ui/.next/static/chunks/381-c5d8207a0006622e.js +0 -1
- package/ui/.next/static/chunks/4bd1b696-f26b251b6bbb8917.js +0 -1
- package/ui/.next/static/chunks/547-b14e6bfc25a27f08.js +0 -1
- package/ui/.next/static/chunks/684-37e9ad3bebe7dd4c.js +0 -1
- package/ui/.next/static/chunks/app/_not-found/page-5a99fff9ceda237e.js +0 -1
- package/ui/.next/static/chunks/app/api/db/backup/route-4278a48f189f175f.js +0 -1
- package/ui/.next/static/chunks/app/api/logs/route-fa5f6d53e0d05746.js +0 -1
- package/ui/.next/static/chunks/app/layout-9358e1d1f80d47da.js +0 -1
- package/ui/.next/static/chunks/app/page-4da413bc341e298c.js +0 -1
- package/ui/.next/static/chunks/app/services/[id]/databases/page-2d47fa6f7e3b072f.js +0 -1
- package/ui/.next/static/chunks/app/services/[id]/edit/page-14ef4a07ef0b420a.js +0 -1
- package/ui/.next/static/chunks/app/services/[id]/networks/page-26483518bd55b083.js +0 -1
- package/ui/.next/static/chunks/app/services/[id]/page-9e92684b9072449e.js +0 -1
- package/ui/.next/static/chunks/app/services/page-ee27acd5d4c38a6b.js +0 -1
- package/ui/.next/static/chunks/app/settings/page-e7d6be120bd70470.js +0 -1
- package/ui/.next/static/chunks/app/webhook/route-2b4c15cd096d1fd7.js +0 -1
- package/ui/.next/static/chunks/framework-52167c1502110d79.js +0 -1
- package/ui/.next/static/chunks/main-2b7fe41c42f3f521.js +0 -1
- package/ui/.next/static/chunks/main-app-eddb5e8f0a78bf63.js +0 -1
- package/ui/.next/static/chunks/pages/_app-8e94039938385921.js +0 -1
- package/ui/.next/static/chunks/pages/_error-7b2d139042a6a5ab.js +0 -1
- package/ui/.next/static/chunks/webpack-500a50586ea029a7.js +0 -1
- package/ui/.next/static/css/001936a28cd34ad6.css +0 -1
- package/ui/.next/static/css/3b7050fdbfea86d9.css +0 -1
- package/ui/.next/static/css/565f4925fe90494c.css +0 -1
- package/ui/.next/static/umf8fzleKBuB_bkoXqQnP/_buildManifest.js +0 -1
- package/ui/.next/static/umf8fzleKBuB_bkoXqQnP/_ssgManifest.js +0 -1
- /package/ui/.next/static/chunks/{polyfills-42372ed130431b0a.js → 0cz1d0mv5g_q7.js} +0 -0
- /package/ui/.next/static/media/{logo.d9d22550.png → logo.3_3wnbg_4_jdb.png} +0 -0
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
import "server-only";
|
|
2
|
+
import { REVERSE_PROXY_CONTAINER_NAME } from "~/core/docker/containers";
|
|
3
|
+
import { findZone } from "~/core/domains";
|
|
4
|
+
import { createQueue } from "~/core/queue";
|
|
5
|
+
import { getSharedState } from "~/core/shared-state";
|
|
6
|
+
import db from "~/database";
|
|
7
|
+
import type { CloudflareTunnel } from "~/models/cloudflare";
|
|
8
|
+
import type { DnsRecordDTO } from "~/models/dns-record";
|
|
9
|
+
import forgetDnsRecord from "~/operations/deleteDnsRecord";
|
|
10
|
+
import getCloudflareTunnel from "~/operations/getCloudflareTunnel";
|
|
11
|
+
import getDashboardDomain from "~/operations/getDashboardDomain";
|
|
12
|
+
import getDnsRecords from "~/operations/getDnsRecords";
|
|
13
|
+
import getDomains from "~/operations/getDomains";
|
|
14
|
+
import saveDnsRecord from "~/operations/saveDnsRecord";
|
|
15
|
+
import { cloudflareFetch } from "./client";
|
|
16
|
+
import { getConnectionState } from "./connection";
|
|
17
|
+
import { isCloudflareApiError, isCloudflareConnectionError } from "./errors";
|
|
18
|
+
import {
|
|
19
|
+
createTunnelRecord,
|
|
20
|
+
deleteRecord,
|
|
21
|
+
describeRecords,
|
|
22
|
+
findAddressRecords,
|
|
23
|
+
isTunnelRecord,
|
|
24
|
+
isUnsavedRecord,
|
|
25
|
+
replaceWithTunnelRecord,
|
|
26
|
+
updateTunnelRecord,
|
|
27
|
+
} from "./records";
|
|
28
|
+
import { type CloudflareZone, getZones } from "./zones";
|
|
29
|
+
|
|
30
|
+
export type DomainFailureReason = NonNullable<DnsRecordDTO["failure"]>;
|
|
31
|
+
|
|
32
|
+
export type SyncOptions = {
|
|
33
|
+
/** Also checks the records that were in sync before, they may have been changed in Cloudflare */
|
|
34
|
+
verify?: boolean,
|
|
35
|
+
/** The service whose domains are treated as if they were removed */
|
|
36
|
+
withoutService?: string,
|
|
37
|
+
/** The hostname that may be taken over, and the description of the records that the user agreed to replace */
|
|
38
|
+
takeover?: { hostname: string, records: string },
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
const TOO_MANY_REQUESTS = 429;
|
|
42
|
+
const SERVER_ERROR = 500;
|
|
43
|
+
|
|
44
|
+
const MIN_RETRY_DELAY = 60_000;
|
|
45
|
+
const MAX_RETRY_DELAY = 30 * 60_000;
|
|
46
|
+
|
|
47
|
+
/** Shared with the tunnel, which must not be replaced or deleted in the meantime */
|
|
48
|
+
const enqueue = createQueue("cloudflare-tunnel-queue");
|
|
49
|
+
|
|
50
|
+
type Retry = { timer: NodeJS.Timeout | null, attempts: number };
|
|
51
|
+
|
|
52
|
+
const retry = getSharedState<Retry>("cloudflare-domains-retry", () => ({ timer: null, attempts: 0 }));
|
|
53
|
+
|
|
54
|
+
class DomainFailure extends Error {
|
|
55
|
+
readonly reason: DomainFailureReason;
|
|
56
|
+
readonly details: string | null;
|
|
57
|
+
|
|
58
|
+
constructor(reason: DomainFailureReason, details: string | null = null) {
|
|
59
|
+
super(details === null ? reason : `${reason}: ${details}`);
|
|
60
|
+
this.name = "DomainFailure";
|
|
61
|
+
this.reason = reason;
|
|
62
|
+
this.details = details;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
function toDomainFailure(error: unknown): DomainFailure {
|
|
67
|
+
if (error instanceof DomainFailure) return error;
|
|
68
|
+
if (isCloudflareConnectionError(error)) return new DomainFailure("connection_lost");
|
|
69
|
+
if (isCloudflareApiError(error) && error.status < SERVER_ERROR && error.status !== TOO_MANY_REQUESTS) {
|
|
70
|
+
return new DomainFailure("rejected", error.message);
|
|
71
|
+
}
|
|
72
|
+
return new DomainFailure("unreachable");
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/** The other requests would fail too */
|
|
76
|
+
function isOutage({ reason }: DomainFailure) {
|
|
77
|
+
return reason === "unreachable" || reason === "connection_lost";
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/** The others can only be solved by the user */
|
|
81
|
+
function isTransient({ reason }: DomainFailure) {
|
|
82
|
+
return reason === "unreachable" || reason === "rejected";
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
function isInSync(record: DnsRecordDTO | undefined, tunnelId: string) {
|
|
86
|
+
return record !== undefined && record.recordId !== null && record.tunnelId === tunnelId && record.failure === null;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
async function getDesiredHostnames(withoutService?: string) {
|
|
90
|
+
const [
|
|
91
|
+
domains,
|
|
92
|
+
dashboardHostname,
|
|
93
|
+
] = await Promise.all([
|
|
94
|
+
getDomains(db),
|
|
95
|
+
getDashboardDomain(db),
|
|
96
|
+
]);
|
|
97
|
+
const hostnames = domains.filter(({ serviceId }) => serviceId !== withoutService).map(({ hostname }) => hostname);
|
|
98
|
+
return dashboardHostname === null ? hostnames : [dashboardHostname, ...hostnames];
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/** Replaces the whole list. Nginx finds the service by the hostname, everything else gets a 404. */
|
|
102
|
+
async function saveIngressRules({ accountId, id }: CloudflareTunnel, hostnames: string[]) {
|
|
103
|
+
await cloudflareFetch(`/accounts/${accountId}/cfd_tunnel/${id}/configurations`, {
|
|
104
|
+
method: "PUT",
|
|
105
|
+
body: JSON.stringify({
|
|
106
|
+
config: {
|
|
107
|
+
ingress: [
|
|
108
|
+
...hostnames.map(hostname => ({ hostname, service: `http://${REVERSE_PROXY_CONTAINER_NAME}:80` })),
|
|
109
|
+
{ service: "http_status:404" },
|
|
110
|
+
],
|
|
111
|
+
},
|
|
112
|
+
}),
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
async function ensureRecord(
|
|
117
|
+
hostname: string,
|
|
118
|
+
zones: CloudflareZone[],
|
|
119
|
+
tunnelId: string,
|
|
120
|
+
saved: DnsRecordDTO | undefined,
|
|
121
|
+
takeover: SyncOptions["takeover"],
|
|
122
|
+
) {
|
|
123
|
+
const zone = findZone(hostname, zones);
|
|
124
|
+
if (!zone) throw new DomainFailure("no_zone");
|
|
125
|
+
// A more specific zone may have been added to the account
|
|
126
|
+
if (saved?.recordId && saved.zoneId && saved.zoneId !== zone.id) await deleteRecord(saved.zoneId, saved.recordId);
|
|
127
|
+
|
|
128
|
+
const existing = await findAddressRecords(zone.id, hostname);
|
|
129
|
+
const own = existing.find(({ id }) => id === saved?.recordId) ??
|
|
130
|
+
existing.find(record => isUnsavedRecord(record, tunnelId));
|
|
131
|
+
if (own) {
|
|
132
|
+
if (!isTunnelRecord(own, tunnelId)) await updateTunnelRecord(zone.id, own.id, hostname, tunnelId);
|
|
133
|
+
return { zoneId: zone.id, recordId: own.id };
|
|
134
|
+
}
|
|
135
|
+
if (existing.length === 0) return { zoneId: zone.id, recordId: await createTunnelRecord(zone.id, hostname, tunnelId) };
|
|
136
|
+
|
|
137
|
+
const description = describeRecords(existing);
|
|
138
|
+
if (takeover?.hostname !== hostname || takeover.records !== description) throw new DomainFailure("taken", description);
|
|
139
|
+
return { zoneId: zone.id, recordId: await replaceWithTunnelRecord(zone.id, existing, hostname, tunnelId) };
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/** Returns false if it should be tried again later */
|
|
143
|
+
async function sync({ verify = false, withoutService, takeover }: SyncOptions) {
|
|
144
|
+
const tunnel = await getCloudflareTunnel(db);
|
|
145
|
+
if (!tunnel?.token || await getConnectionState() === "disconnected") return true;
|
|
146
|
+
|
|
147
|
+
const [
|
|
148
|
+
hostnames,
|
|
149
|
+
savedRecords,
|
|
150
|
+
] = await Promise.all([
|
|
151
|
+
getDesiredHostnames(withoutService),
|
|
152
|
+
getDnsRecords(db),
|
|
153
|
+
]);
|
|
154
|
+
const saved = new Map(savedRecords.map(record => [record.hostname, record]));
|
|
155
|
+
// Nothing else is tried after a blocker
|
|
156
|
+
const progress: { isComplete: boolean, blocker: DomainFailure | null } = { isComplete: true, blocker: null };
|
|
157
|
+
|
|
158
|
+
const fail = async (hostname: string, failure: DomainFailure) => {
|
|
159
|
+
if (isTransient(failure)) progress.isComplete = false;
|
|
160
|
+
// The domains that are in sync still work while Cloudflare can't be reached
|
|
161
|
+
if (isOutage(failure) && hostnames.includes(hostname) && isInSync(saved.get(hostname), tunnel.id)) return;
|
|
162
|
+
await saveDnsRecord(db, { hostname, failure: failure.reason, failureDetails: failure.details });
|
|
163
|
+
};
|
|
164
|
+
|
|
165
|
+
const attempt = async (hostname: string, task: () => Promise<void>) => {
|
|
166
|
+
if (progress.blocker) {
|
|
167
|
+
await fail(hostname, progress.blocker);
|
|
168
|
+
return;
|
|
169
|
+
}
|
|
170
|
+
try {
|
|
171
|
+
await task();
|
|
172
|
+
} catch (error) {
|
|
173
|
+
const failure = toDomainFailure(error);
|
|
174
|
+
// eslint-disable-next-line no-console
|
|
175
|
+
console.error(`Failed to sync ${hostname} with Cloudflare:`, error);
|
|
176
|
+
if (isOutage(failure)) progress.blocker = failure;
|
|
177
|
+
await fail(hostname, failure);
|
|
178
|
+
}
|
|
179
|
+
};
|
|
180
|
+
|
|
181
|
+
// A hostname must not be public longer than it's served
|
|
182
|
+
for (const { hostname, zoneId, recordId } of savedRecords) {
|
|
183
|
+
if (hostnames.includes(hostname)) continue;
|
|
184
|
+
await attempt(hostname, async () => {
|
|
185
|
+
if (zoneId !== null && recordId !== null) await deleteRecord(zoneId, recordId);
|
|
186
|
+
await forgetDnsRecord(db, hostname);
|
|
187
|
+
});
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
let zones: CloudflareZone[] = [];
|
|
191
|
+
const pendingHostnames = hostnames.filter(hostname => verify || !isInSync(saved.get(hostname), tunnel.id));
|
|
192
|
+
if (!progress.blocker) {
|
|
193
|
+
try {
|
|
194
|
+
await saveIngressRules(tunnel, hostnames);
|
|
195
|
+
// The tunnel can't serve the zones of other accounts
|
|
196
|
+
if (pendingHostnames.length > 0) zones = (await getZones()).filter(zone => zone.accountId === tunnel.accountId);
|
|
197
|
+
} catch (error) {
|
|
198
|
+
// eslint-disable-next-line no-console
|
|
199
|
+
console.error("Failed to sync the tunnel with the domains:", error);
|
|
200
|
+
progress.blocker = toDomainFailure(error);
|
|
201
|
+
if (isTransient(progress.blocker)) progress.isComplete = false;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
for (const hostname of pendingHostnames) {
|
|
206
|
+
await attempt(hostname, async () => {
|
|
207
|
+
const { zoneId, recordId } = await ensureRecord(hostname, zones, tunnel.id, saved.get(hostname), takeover);
|
|
208
|
+
await saveDnsRecord(db, {
|
|
209
|
+
hostname,
|
|
210
|
+
zoneId,
|
|
211
|
+
recordId,
|
|
212
|
+
tunnelId: tunnel.id,
|
|
213
|
+
failure: null,
|
|
214
|
+
failureDetails: null,
|
|
215
|
+
});
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
return progress.isComplete;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
function scheduleRetry(isNeeded: boolean) {
|
|
222
|
+
if (retry.timer) clearTimeout(retry.timer);
|
|
223
|
+
retry.timer = null;
|
|
224
|
+
if (!isNeeded) {
|
|
225
|
+
retry.attempts = 0;
|
|
226
|
+
return;
|
|
227
|
+
}
|
|
228
|
+
const delay = Math.min(MIN_RETRY_DELAY * (2 ** retry.attempts), MAX_RETRY_DELAY);
|
|
229
|
+
retry.attempts++;
|
|
230
|
+
retry.timer = setTimeout(() => {
|
|
231
|
+
void syncDomains({ verify: true });
|
|
232
|
+
}, delay);
|
|
233
|
+
retry.timer.unref();
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* Makes Cloudflare match the domains in SQLite: first the records of the domains that are gone, then the tunnel, and
|
|
238
|
+
* then the records of the domains. It never throws, what couldn't be done is saved with the reason and tried again.
|
|
239
|
+
*/
|
|
240
|
+
export function syncDomains(options: SyncOptions = {}): Promise<void> {
|
|
241
|
+
// The domains may have changed while waiting for other changes
|
|
242
|
+
return enqueue(async () => {
|
|
243
|
+
try {
|
|
244
|
+
scheduleRetry(!await sync(options));
|
|
245
|
+
} catch (error) {
|
|
246
|
+
// eslint-disable-next-line no-console
|
|
247
|
+
console.error("Failed to sync the domains with Cloudflare:", error);
|
|
248
|
+
scheduleRetry(true);
|
|
249
|
+
}
|
|
250
|
+
});
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
export type DomainStatus = {
|
|
254
|
+
state: "active" | "pending" | "failed" | "disconnected",
|
|
255
|
+
failure: DomainFailureReason | null,
|
|
256
|
+
details: string | null,
|
|
257
|
+
};
|
|
258
|
+
|
|
259
|
+
async function getSyncState() {
|
|
260
|
+
const [
|
|
261
|
+
tunnel,
|
|
262
|
+
records,
|
|
263
|
+
] = await Promise.all([
|
|
264
|
+
getCloudflareTunnel(db),
|
|
265
|
+
getDnsRecords(db),
|
|
266
|
+
]);
|
|
267
|
+
return { tunnelId: tunnel?.token ? tunnel.id : null, records };
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
/** Returns the statuses in the order of the hostnames */
|
|
271
|
+
export async function getDomainStatuses(hostnames: string[]): Promise<DomainStatus[]> {
|
|
272
|
+
const { tunnelId, records } = await getSyncState();
|
|
273
|
+
return hostnames.map(hostname => {
|
|
274
|
+
const record = records.find(item => item.hostname === hostname);
|
|
275
|
+
if (tunnelId === null) return { state: "disconnected", failure: null, details: null };
|
|
276
|
+
if (record?.failure) return { state: "failed", failure: record.failure, details: record.failureDetails };
|
|
277
|
+
return { state: isInSync(record, tunnelId) ? "active" : "pending", failure: null, details: null };
|
|
278
|
+
});
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
/** Returns the hostnames that are not domains anymore, but still have a DNS record */
|
|
282
|
+
export async function getLeftoverHostnames() {
|
|
283
|
+
const [
|
|
284
|
+
{ tunnelId, records },
|
|
285
|
+
hostnames,
|
|
286
|
+
] = await Promise.all([
|
|
287
|
+
getSyncState(),
|
|
288
|
+
getDesiredHostnames(),
|
|
289
|
+
]);
|
|
290
|
+
if (tunnelId === null) return [];
|
|
291
|
+
return records
|
|
292
|
+
.filter(({ hostname, recordId }) => recordId !== null && !hostnames.includes(hostname))
|
|
293
|
+
.map(({ hostname }) => hostname);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
/** Returns the zones that a domain can be added to, or null if there is no tunnel */
|
|
297
|
+
export async function getDomainZones(): Promise<CloudflareZone[] | null> {
|
|
298
|
+
const tunnel = await getCloudflareTunnel(db);
|
|
299
|
+
if (!tunnel?.token) return null;
|
|
300
|
+
return (await getZones()).filter(({ accountId }) => accountId === tunnel.accountId);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
/** Returns nothing if the zone can't be used, or Cloudflare can't be reached */
|
|
304
|
+
export async function findDomainZone(zoneId: string): Promise<CloudflareZone | undefined> {
|
|
305
|
+
try {
|
|
306
|
+
const zones = await getDomainZones();
|
|
307
|
+
return zones?.find(({ id }) => id === zoneId);
|
|
308
|
+
} catch (error) {
|
|
309
|
+
// eslint-disable-next-line no-console
|
|
310
|
+
console.error("Failed to load the zones of Cloudflare:", error);
|
|
311
|
+
}
|
|
312
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/** The connection is missing, or Cloudflare doesn't accept it anymore. Only a new connection helps. */
|
|
2
|
+
export class CloudflareConnectionError extends Error {
|
|
3
|
+
constructor(message = "Cloudflare is not connected") {
|
|
4
|
+
super(message);
|
|
5
|
+
this.name = "CloudflareConnectionError";
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export class CloudflareApiError extends Error {
|
|
10
|
+
readonly status: number;
|
|
11
|
+
|
|
12
|
+
constructor(message: string, status: number) {
|
|
13
|
+
super(message);
|
|
14
|
+
this.name = "CloudflareApiError";
|
|
15
|
+
this.status = status;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// Next.js bundles have their own copies of the class
|
|
20
|
+
export function isCloudflareConnectionError(error: unknown): error is CloudflareConnectionError {
|
|
21
|
+
return error instanceof Error && error.name === "CloudflareConnectionError";
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export function isCloudflareApiError(error: unknown): error is CloudflareApiError {
|
|
25
|
+
return error instanceof Error && error.name === "CloudflareApiError";
|
|
26
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import crypto from "node:crypto";
|
|
2
|
+
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
|
|
3
|
+
import {
|
|
4
|
+
CLOUDFLARE_CLIENT_ID,
|
|
5
|
+
CLOUDFLARE_REDIRECT_URI,
|
|
6
|
+
createAuthorization,
|
|
7
|
+
exchangeCode,
|
|
8
|
+
refreshTokens,
|
|
9
|
+
revokeTokens,
|
|
10
|
+
} from "./oauth";
|
|
11
|
+
|
|
12
|
+
const fetchMock = vi.fn<typeof fetch>();
|
|
13
|
+
|
|
14
|
+
function getRequest(index = 0) {
|
|
15
|
+
const [url, init] = fetchMock.mock.calls[index];
|
|
16
|
+
return { url, params: Object.fromEntries(init?.body as URLSearchParams) };
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
describe("Cloudflare OAuth", () => {
|
|
20
|
+
beforeEach(() => {
|
|
21
|
+
vi.stubGlobal("fetch", fetchMock);
|
|
22
|
+
vi.useFakeTimers({ now: 1_000_000 });
|
|
23
|
+
fetchMock.mockReset();
|
|
24
|
+
fetchMock.mockImplementation(() => Promise.resolve(Response.json({
|
|
25
|
+
access_token: "access",
|
|
26
|
+
refresh_token: "refresh",
|
|
27
|
+
expires_in: 3600,
|
|
28
|
+
})));
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
afterEach(() => {
|
|
32
|
+
vi.useRealTimers();
|
|
33
|
+
vi.unstubAllGlobals();
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
it("should create a new authorization with PKCE every time", () => {
|
|
37
|
+
const { url, state, verifier } = createAuthorization();
|
|
38
|
+
const { origin, pathname, searchParams } = new URL(url);
|
|
39
|
+
expect(origin + pathname).toBe("https://dash.cloudflare.com/oauth2/auth");
|
|
40
|
+
expect(Object.fromEntries(searchParams)).toEqual({
|
|
41
|
+
response_type: "code",
|
|
42
|
+
client_id: CLOUDFLARE_CLIENT_ID,
|
|
43
|
+
redirect_uri: CLOUDFLARE_REDIRECT_URI,
|
|
44
|
+
scope: "zone.read dns.write teams-connector-cloudflared.write offline_access",
|
|
45
|
+
state,
|
|
46
|
+
code_challenge: crypto.createHash("sha256").update(verifier).digest("base64url"),
|
|
47
|
+
code_challenge_method: "S256",
|
|
48
|
+
});
|
|
49
|
+
expect(url).not.toContain(verifier);
|
|
50
|
+
const other = createAuthorization();
|
|
51
|
+
expect(other.state).not.toBe(state);
|
|
52
|
+
expect(other.verifier).not.toBe(verifier);
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
it("should exchange the code without a secret", async () => {
|
|
56
|
+
expect(await exchangeCode("code", "verifier")).toEqual({
|
|
57
|
+
accessToken: "access",
|
|
58
|
+
refreshToken: "refresh",
|
|
59
|
+
expiresAt: 1_000_000 + 3_600_000,
|
|
60
|
+
});
|
|
61
|
+
expect(getRequest()).toEqual({
|
|
62
|
+
url: "https://dash.cloudflare.com/oauth2/token",
|
|
63
|
+
params: {
|
|
64
|
+
client_id: CLOUDFLARE_CLIENT_ID,
|
|
65
|
+
grant_type: "authorization_code",
|
|
66
|
+
code: "code",
|
|
67
|
+
code_verifier: "verifier",
|
|
68
|
+
redirect_uri: CLOUDFLARE_REDIRECT_URI,
|
|
69
|
+
},
|
|
70
|
+
});
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
it("should refresh the tokens", async () => {
|
|
74
|
+
await refreshTokens("old");
|
|
75
|
+
expect(getRequest().params).toEqual({
|
|
76
|
+
client_id: CLOUDFLARE_CLIENT_ID,
|
|
77
|
+
grant_type: "refresh_token",
|
|
78
|
+
refresh_token: "old",
|
|
79
|
+
});
|
|
80
|
+
});
|
|
81
|
+
|
|
82
|
+
it("should tell rejected credentials from other failures", async () => {
|
|
83
|
+
fetchMock.mockResolvedValueOnce(Response.json({ error: "invalid_grant" }, { status: 400 }));
|
|
84
|
+
await expect(refreshTokens("old")).rejects.toMatchObject({ name: "CloudflareConnectionError" });
|
|
85
|
+
fetchMock.mockResolvedValueOnce(Response.json({ error: "server_error" }, { status: 500 }));
|
|
86
|
+
await expect(refreshTokens("old")).rejects.toMatchObject({ name: "CloudflareApiError", status: 500 });
|
|
87
|
+
fetchMock.mockResolvedValueOnce(new Response("<html>", { status: 502 }));
|
|
88
|
+
await expect(refreshTokens("old")).rejects.toMatchObject({ name: "CloudflareApiError", status: 502 });
|
|
89
|
+
});
|
|
90
|
+
|
|
91
|
+
it("should reject unknown responses without showing the tokens", async () => {
|
|
92
|
+
fetchMock.mockResolvedValueOnce(Response.json({ access_token: "secret-access" }));
|
|
93
|
+
const error = await exchangeCode("code", "verifier").catch((reason: unknown) => reason);
|
|
94
|
+
expect(error).toMatchObject({ name: "CloudflareApiError" });
|
|
95
|
+
expect(String(error)).not.toContain("secret-access");
|
|
96
|
+
});
|
|
97
|
+
|
|
98
|
+
it("should revoke both of the tokens", async () => {
|
|
99
|
+
fetchMock.mockImplementation(() => Promise.resolve(new Response(null)));
|
|
100
|
+
await revokeTokens({ accessToken: "access", refreshToken: "refresh", expiresAt: 0 });
|
|
101
|
+
expect([getRequest(0), getRequest(1)].map(({ params }) => params.token)).toEqual(["refresh", "access"]);
|
|
102
|
+
});
|
|
103
|
+
|
|
104
|
+
it("should report the tokens that can't be revoked", async () => {
|
|
105
|
+
fetchMock.mockResolvedValue(new Response(null, { status: 503 }));
|
|
106
|
+
await expect(revokeTokens({ accessToken: "access", refreshToken: "refresh", expiresAt: 0 })).rejects.toThrow("revoke");
|
|
107
|
+
});
|
|
108
|
+
});
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import crypto from "node:crypto";
|
|
2
|
+
import z from "zod";
|
|
3
|
+
import type { CloudflareTokens } from "~/models/cloudflare";
|
|
4
|
+
import { CloudflareApiError, CloudflareConnectionError } from "./errors";
|
|
5
|
+
|
|
6
|
+
/** One client is shared by all instances. It's not a secret, and there is no client secret. */
|
|
7
|
+
export const CLOUDFLARE_CLIENT_ID = "da30b553ee59ff299ad39d51e3cdf91f";
|
|
8
|
+
|
|
9
|
+
/** Registered at Cloudflare, so it must match exactly. The instances don't have a common domain. */
|
|
10
|
+
export const CLOUDFLARE_REDIRECT_URI = "http://localhost:7777/auth/cloudflare";
|
|
11
|
+
|
|
12
|
+
const SCOPES = [
|
|
13
|
+
"zone.read",
|
|
14
|
+
"dns.write",
|
|
15
|
+
"teams-connector-cloudflared.write",
|
|
16
|
+
// Needed for the refresh token
|
|
17
|
+
"offline_access",
|
|
18
|
+
];
|
|
19
|
+
|
|
20
|
+
const OAUTH_URL = "https://dash.cloudflare.com/oauth2";
|
|
21
|
+
const TIMEOUT = 30_000;
|
|
22
|
+
|
|
23
|
+
const TokenResponse = z.object({
|
|
24
|
+
access_token: z.string().min(1),
|
|
25
|
+
refresh_token: z.string().min(1),
|
|
26
|
+
expires_in: z.number(),
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
const ErrorResponse = z.object({ error: z.string() });
|
|
30
|
+
|
|
31
|
+
export type CloudflareAuthorization = {
|
|
32
|
+
url: string,
|
|
33
|
+
state: string,
|
|
34
|
+
verifier: string,
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
function createRandomString() {
|
|
38
|
+
return crypto.randomBytes(32).toString("base64url");
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/** The state and the verifier belong to the browser that opens the URL */
|
|
42
|
+
export function createAuthorization(): CloudflareAuthorization {
|
|
43
|
+
const state = createRandomString();
|
|
44
|
+
const verifier = createRandomString();
|
|
45
|
+
const url = new URL(`${OAUTH_URL}/auth`);
|
|
46
|
+
url.search = new URLSearchParams({
|
|
47
|
+
response_type: "code",
|
|
48
|
+
client_id: CLOUDFLARE_CLIENT_ID,
|
|
49
|
+
redirect_uri: CLOUDFLARE_REDIRECT_URI,
|
|
50
|
+
scope: SCOPES.join(" "),
|
|
51
|
+
state,
|
|
52
|
+
code_challenge: crypto.createHash("sha256").update(verifier).digest("base64url"),
|
|
53
|
+
code_challenge_method: "S256",
|
|
54
|
+
}).toString();
|
|
55
|
+
return { url: url.toString(), state, verifier };
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
async function post(endpoint: string, params: Record<string, string>) {
|
|
59
|
+
return await fetch(`${OAUTH_URL}/${endpoint}`, {
|
|
60
|
+
method: "POST",
|
|
61
|
+
body: new URLSearchParams({ client_id: CLOUDFLARE_CLIENT_ID, ...params }),
|
|
62
|
+
signal: AbortSignal.timeout(TIMEOUT),
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
// The responses have the tokens, so they must not be a part of the errors
|
|
67
|
+
async function requestTokens(params: Record<string, string>): Promise<CloudflareTokens> {
|
|
68
|
+
const response = await post("token", params);
|
|
69
|
+
const content: unknown = await response.json().catch(() => null);
|
|
70
|
+
if (!response.ok) {
|
|
71
|
+
const { data } = ErrorResponse.safeParse(content);
|
|
72
|
+
if (data?.error === "invalid_grant") {
|
|
73
|
+
throw new CloudflareConnectionError("Cloudflare doesn't accept the credentials");
|
|
74
|
+
}
|
|
75
|
+
throw new CloudflareApiError(`Cloudflare rejected the token request (${data?.error ?? "unknown error"})`, response.status);
|
|
76
|
+
}
|
|
77
|
+
const { data } = TokenResponse.safeParse(content);
|
|
78
|
+
if (!data) throw new CloudflareApiError("Cloudflare returned an unknown token response", response.status);
|
|
79
|
+
return {
|
|
80
|
+
accessToken: data.access_token,
|
|
81
|
+
refreshToken: data.refresh_token,
|
|
82
|
+
expiresAt: Date.now() + (data.expires_in * 1000),
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export function exchangeCode(code: string, verifier: string) {
|
|
87
|
+
return requestTokens({
|
|
88
|
+
grant_type: "authorization_code",
|
|
89
|
+
code,
|
|
90
|
+
code_verifier: verifier,
|
|
91
|
+
redirect_uri: CLOUDFLARE_REDIRECT_URI,
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/** Replaces both of the tokens, the previous ones stop working right away */
|
|
96
|
+
export function refreshTokens(refreshToken: string) {
|
|
97
|
+
return requestTokens({
|
|
98
|
+
grant_type: "refresh_token",
|
|
99
|
+
refresh_token: refreshToken,
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
async function revokeToken(token: string) {
|
|
104
|
+
const response = await post("revoke", { token });
|
|
105
|
+
if (!response.ok) throw new CloudflareApiError("Cloudflare couldn't revoke the token", response.status);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export async function revokeTokens({ accessToken, refreshToken }: CloudflareTokens) {
|
|
109
|
+
await revokeToken(refreshToken);
|
|
110
|
+
await revokeToken(accessToken);
|
|
111
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import "server-only";
|
|
2
|
+
import db from "~/database";
|
|
3
|
+
import forgetDnsRecord from "~/operations/deleteDnsRecord";
|
|
4
|
+
import getDnsRecords from "~/operations/getDnsRecords";
|
|
5
|
+
import { cloudflareFetch } from "./client";
|
|
6
|
+
import { isCloudflareApiError } from "./errors";
|
|
7
|
+
|
|
8
|
+
export type AddressRecord = {
|
|
9
|
+
id: string,
|
|
10
|
+
name: string,
|
|
11
|
+
type: string,
|
|
12
|
+
content: string,
|
|
13
|
+
proxied?: boolean,
|
|
14
|
+
comment?: string | null,
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
const COMMENT = "Managed by Buttler";
|
|
18
|
+
const PAGE_SIZE = 100;
|
|
19
|
+
const NOT_FOUND = 404;
|
|
20
|
+
const FORBIDDEN = 403;
|
|
21
|
+
|
|
22
|
+
/** A hostname with one of them can't have the record of a tunnel. The others, like TXT, can stay next to it. */
|
|
23
|
+
const ADDRESS_TYPES = ["A", "AAAA", "CNAME"];
|
|
24
|
+
|
|
25
|
+
function getPath(zoneId: string, recordId?: string) {
|
|
26
|
+
return `/zones/${zoneId}/dns_records${recordId === undefined ? "" : `/${recordId}`}`;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
function getTunnelTarget(tunnelId: string) {
|
|
30
|
+
return `${tunnelId}.cfargotunnel.com`;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
function generateRecord(hostname: string, tunnelId: string) {
|
|
34
|
+
return {
|
|
35
|
+
type: "CNAME",
|
|
36
|
+
name: hostname,
|
|
37
|
+
content: getTunnelTarget(tunnelId),
|
|
38
|
+
proxied: true,
|
|
39
|
+
comment: COMMENT,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function isTunnelRecord({ type, content, proxied }: AddressRecord, tunnelId: string) {
|
|
44
|
+
return type === "CNAME" && content === getTunnelTarget(tunnelId) && proxied === true;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/** A record that was created, but couldn't be saved. Its target only belongs to this instance. */
|
|
48
|
+
export function isUnsavedRecord(record: AddressRecord, tunnelId: string) {
|
|
49
|
+
return isTunnelRecord(record, tunnelId) && record.comment === COMMENT;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export async function findAddressRecords(zoneId: string, hostname: string) {
|
|
53
|
+
const query = new URLSearchParams([["name.exact", hostname], ["per_page", `${PAGE_SIZE}`]]);
|
|
54
|
+
const { result } = await cloudflareFetch<AddressRecord[]>(`${getPath(zoneId)}?${query}`);
|
|
55
|
+
return result.filter(({ name, type }) => name.toLowerCase() === hostname && ADDRESS_TYPES.includes(type));
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/** Describes the records for the user. The same records always have the same description. */
|
|
59
|
+
export function describeRecords(records: AddressRecord[]) {
|
|
60
|
+
return records.map(({ type, content }) => `${type} ${content}`).sort().join(", ");
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export async function createTunnelRecord(zoneId: string, hostname: string, tunnelId: string) {
|
|
64
|
+
const { result } = await cloudflareFetch<AddressRecord>(getPath(zoneId), {
|
|
65
|
+
method: "POST",
|
|
66
|
+
body: JSON.stringify(generateRecord(hostname, tunnelId)),
|
|
67
|
+
});
|
|
68
|
+
return result.id;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/** The records are only deleted if the new one can be created */
|
|
72
|
+
export async function replaceWithTunnelRecord(
|
|
73
|
+
zoneId: string,
|
|
74
|
+
replaced: AddressRecord[],
|
|
75
|
+
hostname: string,
|
|
76
|
+
tunnelId: string,
|
|
77
|
+
) {
|
|
78
|
+
const { result } = await cloudflareFetch<{ posts: AddressRecord[] }>(`${getPath(zoneId)}/batch`, {
|
|
79
|
+
method: "POST",
|
|
80
|
+
body: JSON.stringify({
|
|
81
|
+
deletes: replaced.map(({ id }) => ({ id })),
|
|
82
|
+
posts: [generateRecord(hostname, tunnelId)],
|
|
83
|
+
}),
|
|
84
|
+
});
|
|
85
|
+
return result.posts[0].id;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export async function updateTunnelRecord(zoneId: string, recordId: string, hostname: string, tunnelId: string) {
|
|
89
|
+
await cloudflareFetch(getPath(zoneId, recordId), {
|
|
90
|
+
method: "PATCH",
|
|
91
|
+
body: JSON.stringify(generateRecord(hostname, tunnelId)),
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/** A record that is already gone is not a failure */
|
|
96
|
+
export async function deleteRecord(zoneId: string, recordId: string) {
|
|
97
|
+
try {
|
|
98
|
+
await cloudflareFetch(getPath(zoneId, recordId), { method: "DELETE" });
|
|
99
|
+
} catch (error) {
|
|
100
|
+
if (!isCloudflareApiError(error) || error.status !== NOT_FOUND) throw error;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/** Deletes all records of Buttler, so they don't lead to a tunnel that is gone */
|
|
105
|
+
export async function deleteAllRecords() {
|
|
106
|
+
for (const { hostname, zoneId, recordId } of await getDnsRecords(db)) {
|
|
107
|
+
if (zoneId !== null && recordId !== null) {
|
|
108
|
+
try {
|
|
109
|
+
await deleteRecord(zoneId, recordId);
|
|
110
|
+
} catch (error) {
|
|
111
|
+
if (!isCloudflareApiError(error) || error.status !== FORBIDDEN) throw error;
|
|
112
|
+
// It stays known, the connection may include its account again
|
|
113
|
+
continue;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
await forgetDnsRecord(db, hostname);
|
|
117
|
+
}
|
|
118
|
+
}
|