@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,84 @@
|
|
|
1
|
+
import crypto from "node:crypto";
|
|
2
|
+
import fs from "node:fs";
|
|
3
|
+
import path from "node:path";
|
|
4
|
+
import { getFilePath } from "~/core/storage";
|
|
5
|
+
|
|
6
|
+
const ALGORITHM = "aes-256-gcm";
|
|
7
|
+
const KEY_LENGTH = 32;
|
|
8
|
+
const IV_LENGTH = 12;
|
|
9
|
+
const TAG_LENGTH = 16;
|
|
10
|
+
const PREFIX = "v1:";
|
|
11
|
+
|
|
12
|
+
export function getSecretKeyPath() {
|
|
13
|
+
return getFilePath("", "secret.key");
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
function hasErrorCode(error: unknown, code: string) {
|
|
17
|
+
return error instanceof Error && "code" in error && error.code === code;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
function readKey() {
|
|
21
|
+
const keyPath = getSecretKeyPath();
|
|
22
|
+
let content: string;
|
|
23
|
+
try {
|
|
24
|
+
content = fs.readFileSync(keyPath, "utf-8");
|
|
25
|
+
} catch (error) {
|
|
26
|
+
if (hasErrorCode(error, "ENOENT")) return null;
|
|
27
|
+
throw error;
|
|
28
|
+
}
|
|
29
|
+
const key = Buffer.from(content.trim(), "hex");
|
|
30
|
+
if (key.length !== KEY_LENGTH) {
|
|
31
|
+
throw new Error(`The secret key is not valid: ${keyPath}`);
|
|
32
|
+
}
|
|
33
|
+
return key;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
function createKey() {
|
|
37
|
+
const keyPath = getSecretKeyPath();
|
|
38
|
+
const temporaryPath = `${keyPath}.${crypto.randomUUID()}`;
|
|
39
|
+
fs.mkdirSync(path.dirname(keyPath), { recursive: true });
|
|
40
|
+
fs.writeFileSync(temporaryPath, crypto.randomBytes(KEY_LENGTH).toString("hex"), { mode: 0o600, flag: "wx" });
|
|
41
|
+
try {
|
|
42
|
+
// Unlike renaming, linking never replaces a key that was created in the meantime
|
|
43
|
+
fs.linkSync(temporaryPath, keyPath);
|
|
44
|
+
} catch (error) {
|
|
45
|
+
if (!hasErrorCode(error, "EEXIST")) throw error;
|
|
46
|
+
} finally {
|
|
47
|
+
fs.unlinkSync(temporaryPath);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
function getOrCreateKey() {
|
|
52
|
+
const existing = readKey();
|
|
53
|
+
if (existing) return existing;
|
|
54
|
+
createKey();
|
|
55
|
+
const created = readKey();
|
|
56
|
+
if (!created) throw new Error(`Failed to create the secret key: ${getSecretKeyPath()}`);
|
|
57
|
+
return created;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/** Encrypts a value. The context must be the same while decrypting, so a value cannot be moved elsewhere. */
|
|
61
|
+
export function encryptSecret(value: string, context: string): string {
|
|
62
|
+
const iv = crypto.randomBytes(IV_LENGTH);
|
|
63
|
+
const cipher = crypto.createCipheriv(ALGORITHM, getOrCreateKey(), iv, { authTagLength: TAG_LENGTH });
|
|
64
|
+
cipher.setAAD(Buffer.from(context));
|
|
65
|
+
const content = Buffer.concat([cipher.update(value, "utf-8"), cipher.final()]);
|
|
66
|
+
return PREFIX + Buffer.concat([iv, cipher.getAuthTag(), content]).toString("base64");
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function decryptSecret(encrypted: string, context: string): string {
|
|
70
|
+
if (!encrypted.startsWith(PREFIX)) throw new Error("Unknown secret format");
|
|
71
|
+
// A missing key must not be replaced, the values could never be decrypted again
|
|
72
|
+
const key = readKey();
|
|
73
|
+
if (!key) throw new Error(`The secret key is missing: ${getSecretKeyPath()}`);
|
|
74
|
+
const bytes = Buffer.from(encrypted.slice(PREFIX.length), "base64");
|
|
75
|
+
const decipher = crypto.createDecipheriv(ALGORITHM, key, bytes.subarray(0, IV_LENGTH), {
|
|
76
|
+
authTagLength: TAG_LENGTH,
|
|
77
|
+
});
|
|
78
|
+
decipher.setAAD(Buffer.from(context));
|
|
79
|
+
decipher.setAuthTag(bytes.subarray(IV_LENGTH, IV_LENGTH + TAG_LENGTH));
|
|
80
|
+
return Buffer.concat([
|
|
81
|
+
decipher.update(bytes.subarray(IV_LENGTH + TAG_LENGTH)),
|
|
82
|
+
decipher.final(),
|
|
83
|
+
]).toString("utf-8");
|
|
84
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import "server-only";
|
|
2
|
+
import type { ServiceDTO } from "~/models/service";
|
|
3
|
+
|
|
4
|
+
// NOTE (v2 roadmap): Service runtime management (Docker containers) is being redesigned in Phase 3.
|
|
5
|
+
// This legacy v1 function is commented out pending the Phase 3 redesign.
|
|
6
|
+
|
|
7
|
+
export async function startService(_service: ServiceDTO, _readOnlyFiles?: Record<string, string>) {
|
|
8
|
+
// Pending Phase 3 redesign
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export async function stopService(_serviceId: ServiceDTO["id"], _containerId: string) {
|
|
12
|
+
// Pending Phase 3 redesign
|
|
13
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
|
|
2
|
+
import { getSession } from "./session";
|
|
3
|
+
|
|
4
|
+
const mocks = vi.hoisted(() => ({
|
|
5
|
+
getIronSession: vi.fn(),
|
|
6
|
+
headers: vi.fn(),
|
|
7
|
+
}));
|
|
8
|
+
|
|
9
|
+
vi.mock("server-only", () => ({}));
|
|
10
|
+
vi.mock("iron-session", () => ({ getIronSession: mocks.getIronSession }));
|
|
11
|
+
vi.mock("next/headers", () => ({ cookies: vi.fn(), headers: mocks.headers }));
|
|
12
|
+
vi.mock("./settings", () => ({ getSetting: () => "password", setSetting: vi.fn() }));
|
|
13
|
+
|
|
14
|
+
async function isSecure(origin: string) {
|
|
15
|
+
const url = new URL(origin);
|
|
16
|
+
mocks.headers.mockResolvedValue(new Headers({
|
|
17
|
+
"x-forwarded-proto": url.protocol.slice(0, -1),
|
|
18
|
+
"x-forwarded-host": url.host,
|
|
19
|
+
}));
|
|
20
|
+
await getSession();
|
|
21
|
+
const { cookieOptions } = mocks.getIronSession.mock.lastCall?.[1] as { cookieOptions: { secure: boolean } };
|
|
22
|
+
return cookieOptions.secure;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
describe("getSession", () => {
|
|
26
|
+
beforeEach(() => {
|
|
27
|
+
vi.resetAllMocks();
|
|
28
|
+
vi.stubEnv("NODE_ENV", "production");
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
afterEach(() => {
|
|
32
|
+
vi.unstubAllEnvs();
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
it.each([
|
|
36
|
+
"https://buttler.example.com",
|
|
37
|
+
"http://buttler.example.com",
|
|
38
|
+
"http://localhost.example.com",
|
|
39
|
+
"http://192.168.1.2:7777",
|
|
40
|
+
])("should use a secure cookie at %s", async origin => {
|
|
41
|
+
expect(await isSecure(origin)).toBe(true);
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
it.each(["http://localhost:7777", "http://127.0.0.1:7777", "http://[::1]:7777"])("should not use a secure cookie at %s", async origin => {
|
|
45
|
+
expect(await isSecure(origin)).toBe(false);
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
it("should use a secure cookie if the address is not known", async () => {
|
|
49
|
+
mocks.headers.mockResolvedValue(new Headers());
|
|
50
|
+
await getSession();
|
|
51
|
+
expect(mocks.getIronSession.mock.lastCall?.[1]).toMatchObject({ cookieOptions: { secure: true } });
|
|
52
|
+
});
|
|
53
|
+
});
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import "server-only";
|
|
2
|
+
import crypto from "node:crypto";
|
|
3
|
+
import { getIronSession } from "iron-session";
|
|
4
|
+
import { cookies } from "next/headers";
|
|
5
|
+
import { getPublicOrigin, isLoopbackOrigin } from "./headers";
|
|
6
|
+
import { getSetting, setSetting } from "./settings";
|
|
7
|
+
|
|
8
|
+
export type SessionUser = {
|
|
9
|
+
login: string,
|
|
10
|
+
name: string | null,
|
|
11
|
+
avatar: string,
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/** The Cloudflare authorization that this browser has started */
|
|
15
|
+
export type PendingCloudflareAuthorization = {
|
|
16
|
+
state: string,
|
|
17
|
+
verifier: string,
|
|
18
|
+
/** Timestamp in milliseconds */
|
|
19
|
+
expiresAt: number,
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
type SessionData = {
|
|
23
|
+
userId?: number,
|
|
24
|
+
/** Missing in the sessions that were created before it was introduced */
|
|
25
|
+
user?: SessionUser,
|
|
26
|
+
githubToken?: string,
|
|
27
|
+
cloudflare?: PendingCloudflareAuthorization,
|
|
28
|
+
/** The code of the setup link that was opened in this browser */
|
|
29
|
+
setupCode?: string,
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
const SESSION_COOKIE_NAME = "buttler_session";
|
|
33
|
+
const SESSION_PASSWORD_SETTING_KEY = "session_password";
|
|
34
|
+
|
|
35
|
+
async function getOrCreateSessionPassword(): Promise<string> {
|
|
36
|
+
const existing = await getSetting(SESSION_PASSWORD_SETTING_KEY);
|
|
37
|
+
if (existing) {
|
|
38
|
+
return existing;
|
|
39
|
+
}
|
|
40
|
+
const generated = crypto.randomBytes(32).toString("hex");
|
|
41
|
+
await setSetting(SESSION_PASSWORD_SETTING_KEY, generated);
|
|
42
|
+
return generated;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export async function getSession() {
|
|
46
|
+
const [
|
|
47
|
+
password,
|
|
48
|
+
origin,
|
|
49
|
+
] = await Promise.all([
|
|
50
|
+
getOrCreateSessionPassword(),
|
|
51
|
+
getPublicOrigin(),
|
|
52
|
+
]);
|
|
53
|
+
return await getIronSession<SessionData>(await cookies(), {
|
|
54
|
+
cookieName: SESSION_COOKIE_NAME,
|
|
55
|
+
password,
|
|
56
|
+
cookieOptions: {
|
|
57
|
+
// Safari rejects secure cookies without HTTPS, also at localhost
|
|
58
|
+
secure: process.env.NODE_ENV === "production" && !isLoopbackOrigin(origin),
|
|
59
|
+
},
|
|
60
|
+
});
|
|
61
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import "server-only";
|
|
2
|
+
import db from "~/database";
|
|
3
|
+
import { settings } from "~/database/schema/settings";
|
|
4
|
+
|
|
5
|
+
export async function getSetting(key: string): Promise<string | null> {
|
|
6
|
+
const record = await db.query.settings.findFirst({
|
|
7
|
+
where: { key },
|
|
8
|
+
});
|
|
9
|
+
return record?.value ?? null;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export async function setSetting(key: string, value: string): Promise<void> {
|
|
13
|
+
await db
|
|
14
|
+
.insert(settings)
|
|
15
|
+
.values({ key, value })
|
|
16
|
+
.onConflictDoUpdate({
|
|
17
|
+
target: settings.key,
|
|
18
|
+
set: { value },
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export async function isInstalled(): Promise<boolean> {
|
|
23
|
+
const installed = await getSetting("installed");
|
|
24
|
+
return installed === "true";
|
|
25
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import fs from "node:fs";
|
|
2
|
+
import os from "node:os";
|
|
3
|
+
import path from "node:path";
|
|
4
|
+
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
|
|
5
|
+
import { getLogPath, openLogFile } from "./log-file";
|
|
6
|
+
import { deleteSetupCode, ensureSetupCode, getSetupLink, isSetupCode, readSetupCode } from "./setup-code";
|
|
7
|
+
|
|
8
|
+
let home: string;
|
|
9
|
+
|
|
10
|
+
beforeEach(() => {
|
|
11
|
+
home = fs.mkdtempSync(path.join(os.tmpdir(), "buttler-"));
|
|
12
|
+
vi.stubEnv("BUTTLER_HOME", path.join(home, "new"));
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
afterEach(() => {
|
|
16
|
+
vi.unstubAllEnvs();
|
|
17
|
+
fs.rmSync(home, { recursive: true });
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
describe("setup code", () => {
|
|
21
|
+
it("should not exist before it's needed", () => {
|
|
22
|
+
expect(readSetupCode()).toBeNull();
|
|
23
|
+
expect(getSetupLink()).toBeNull();
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
it("should stay the same until it's deleted", () => {
|
|
27
|
+
const code = ensureSetupCode();
|
|
28
|
+
expect(code).toHaveLength(43);
|
|
29
|
+
expect(ensureSetupCode()).toBe(code);
|
|
30
|
+
deleteSetupCode();
|
|
31
|
+
expect(ensureSetupCode()).not.toBe(code);
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
it("should only be readable by its owner", () => {
|
|
35
|
+
ensureSetupCode();
|
|
36
|
+
expect(fs.statSync(path.join(home, "new", "setup-code")).mode & 0o777).toBe(0o600);
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
it("should replace an empty file", () => {
|
|
40
|
+
ensureSetupCode();
|
|
41
|
+
fs.writeFileSync(path.join(home, "new", "setup-code"), "");
|
|
42
|
+
expect(isSetupCode("")).toBe(false);
|
|
43
|
+
expect(ensureSetupCode()).toHaveLength(43);
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
it("should only accept the right code", () => {
|
|
47
|
+
const code = ensureSetupCode();
|
|
48
|
+
expect(isSetupCode(code)).toBe(true);
|
|
49
|
+
expect(isSetupCode(`${code}x`)).toBe(false);
|
|
50
|
+
expect(isSetupCode("wrong")).toBe(false);
|
|
51
|
+
expect(isSetupCode("")).toBe(false);
|
|
52
|
+
expect(isSetupCode(null)).toBe(false);
|
|
53
|
+
expect(isSetupCode(undefined)).toBe(false);
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
it("should not accept anything after it's deleted", () => {
|
|
57
|
+
const code = ensureSetupCode();
|
|
58
|
+
deleteSetupCode();
|
|
59
|
+
expect(isSetupCode(code)).toBe(false);
|
|
60
|
+
expect(() => deleteSetupCode()).not.toThrow();
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
it("should be a part of the link", () => {
|
|
64
|
+
const code = ensureSetupCode();
|
|
65
|
+
expect(getSetupLink()).toBe(`http://localhost:7777/auth/setup?code=${code}`);
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
it("should have a link for the domain too", () => {
|
|
69
|
+
const code = ensureSetupCode();
|
|
70
|
+
expect(getSetupLink("https://buttler.example.com")).toBe(`https://buttler.example.com/auth/setup?code=${code}`);
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
describe("log file", () => {
|
|
75
|
+
function write(content: string) {
|
|
76
|
+
const file = openLogFile();
|
|
77
|
+
fs.writeSync(file, content);
|
|
78
|
+
fs.closeSync(file);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
it("should keep the log of the previous start", () => {
|
|
82
|
+
write("first");
|
|
83
|
+
write("second");
|
|
84
|
+
write("third");
|
|
85
|
+
expect(fs.readFileSync(getLogPath(), "utf-8")).toBe("third");
|
|
86
|
+
expect(fs.readFileSync(`${getLogPath()}.old`, "utf-8")).toBe("second");
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
it("should only be readable by its owner", () => {
|
|
90
|
+
write("content");
|
|
91
|
+
expect(fs.statSync(getLogPath()).mode & 0o777).toBe(0o600);
|
|
92
|
+
});
|
|
93
|
+
});
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import crypto from "node:crypto";
|
|
2
|
+
import fs from "node:fs";
|
|
3
|
+
import path from "node:path";
|
|
4
|
+
import { getFilePath } from "./storage";
|
|
5
|
+
|
|
6
|
+
// Also used by the CLI, which prints the link
|
|
7
|
+
|
|
8
|
+
export const DASHBOARD_URL = "http://localhost:7777";
|
|
9
|
+
const CODE_LENGTH = 32;
|
|
10
|
+
|
|
11
|
+
function getSetupCodePath() {
|
|
12
|
+
return getFilePath("", "setup-code");
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/** Returns null if there is nothing to set up */
|
|
16
|
+
export function readSetupCode() {
|
|
17
|
+
try {
|
|
18
|
+
return fs.readFileSync(getSetupCodePath(), "utf-8").trim() || null;
|
|
19
|
+
} catch {
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/** An interrupted setup continues with the same code */
|
|
25
|
+
export function ensureSetupCode() {
|
|
26
|
+
const existing = readSetupCode();
|
|
27
|
+
if (existing !== null) return existing;
|
|
28
|
+
const code = crypto.randomBytes(CODE_LENGTH).toString("base64url");
|
|
29
|
+
const codePath = getSetupCodePath();
|
|
30
|
+
fs.mkdirSync(path.dirname(codePath), { recursive: true });
|
|
31
|
+
fs.rmSync(codePath, { force: true });
|
|
32
|
+
fs.writeFileSync(codePath, code, { mode: 0o600, flag: "wx" });
|
|
33
|
+
return code;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/** The code can't be used anymore */
|
|
37
|
+
export function deleteSetupCode() {
|
|
38
|
+
fs.rmSync(getSetupCodePath(), { force: true });
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function isSetupCode(value: string | null | undefined) {
|
|
42
|
+
const code = readSetupCode();
|
|
43
|
+
if (code === null || !value) return false;
|
|
44
|
+
// The lengths must be the same for the comparison
|
|
45
|
+
const hash = (text: string) => crypto.createHash("sha256").update(text).digest();
|
|
46
|
+
return crypto.timingSafeEqual(hash(code), hash(value));
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/** Returns null if there is nothing to set up. The origins don't share the session, so each of them needs the link. */
|
|
50
|
+
export function getSetupLink(origin = DASHBOARD_URL) {
|
|
51
|
+
const code = readSetupCode();
|
|
52
|
+
return code === null ? null : `${origin}/auth/setup?code=${code}`;
|
|
53
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { beforeEach, describe, expect, it, vi } from "vitest";
|
|
2
|
+
import { getSetupProgress } from "./setup-progress";
|
|
3
|
+
|
|
4
|
+
const mocks = vi.hoisted(() => ({
|
|
5
|
+
getConnectionState: vi.fn(),
|
|
6
|
+
getTunnelInfo: vi.fn(),
|
|
7
|
+
getDashboardDomain: vi.fn(),
|
|
8
|
+
getDomainStatuses: vi.fn(),
|
|
9
|
+
getDomainZones: vi.fn(),
|
|
10
|
+
checkReachability: vi.fn(),
|
|
11
|
+
}));
|
|
12
|
+
|
|
13
|
+
vi.mock("server-only", () => ({}));
|
|
14
|
+
vi.mock("~/database", () => ({ default: {} }));
|
|
15
|
+
vi.mock("~/operations/getDashboardDomain", () => ({ default: mocks.getDashboardDomain }));
|
|
16
|
+
vi.mock("./cloudflare/connection", () => ({ getConnectionState: mocks.getConnectionState }));
|
|
17
|
+
vi.mock("./cloudflare/domains", () => ({
|
|
18
|
+
getDomainStatuses: mocks.getDomainStatuses,
|
|
19
|
+
getDomainZones: mocks.getDomainZones,
|
|
20
|
+
}));
|
|
21
|
+
vi.mock("./cloudflare/tunnel", () => ({ getTunnelInfo: mocks.getTunnelInfo }));
|
|
22
|
+
vi.mock("./reachability", () => ({ checkReachability: mocks.checkReachability }));
|
|
23
|
+
|
|
24
|
+
const hostname = "buttler.example.com";
|
|
25
|
+
const active = { state: "active", failure: null, details: null };
|
|
26
|
+
|
|
27
|
+
describe("getSetupProgress", () => {
|
|
28
|
+
beforeEach(() => {
|
|
29
|
+
vi.resetAllMocks();
|
|
30
|
+
vi.spyOn(console, "error").mockImplementation(() => undefined);
|
|
31
|
+
mocks.getConnectionState.mockResolvedValue("connected");
|
|
32
|
+
mocks.getTunnelInfo.mockResolvedValue({ accountId: "acc", serviceId: "s" });
|
|
33
|
+
mocks.getDashboardDomain.mockResolvedValue(hostname);
|
|
34
|
+
mocks.getDomainStatuses.mockResolvedValue([active]);
|
|
35
|
+
mocks.getDomainZones.mockResolvedValue([{ id: "z", name: "example.com" }]);
|
|
36
|
+
mocks.checkReachability.mockResolvedValue(null);
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
it.each(["disconnected", "lost"])("should start with Cloudflare (%s)", async state => {
|
|
40
|
+
mocks.getConnectionState.mockResolvedValue(state);
|
|
41
|
+
expect(await getSetupProgress()).toEqual({ step: "cloudflare" });
|
|
42
|
+
expect(mocks.checkReachability).not.toHaveBeenCalled();
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
it("should need the tunnel", async () => {
|
|
46
|
+
mocks.getTunnelInfo.mockResolvedValue(null);
|
|
47
|
+
expect(await getSetupProgress()).toEqual({ step: "cloudflare" });
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
it("should continue with the domain", async () => {
|
|
51
|
+
mocks.getDashboardDomain.mockResolvedValue(null);
|
|
52
|
+
expect(await getSetupProgress()).toEqual({ step: "domain", hostname: null });
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
it("should not check a domain that Cloudflare is not up to date with", async () => {
|
|
56
|
+
const status = { state: "failed", failure: "taken", details: "A 1.2.3.4" };
|
|
57
|
+
mocks.getDomainStatuses.mockResolvedValue([status]);
|
|
58
|
+
expect(await getSetupProgress()).toEqual({ step: "domain", hostname, status, problem: null });
|
|
59
|
+
expect(mocks.checkReachability).not.toHaveBeenCalled();
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
it("should stay at a domain that isn't reachable", async () => {
|
|
63
|
+
const problem = { reason: "no_tunnel", details: "530" };
|
|
64
|
+
mocks.checkReachability.mockResolvedValue(problem);
|
|
65
|
+
expect(await getSetupProgress()).toEqual({ step: "domain", hostname, status: active, problem });
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
it("should continue with the GitHub App if the domain is reachable", async () => {
|
|
69
|
+
expect(await getSetupProgress()).toEqual({ step: "github", hostname });
|
|
70
|
+
expect(mocks.checkReachability).toHaveBeenCalledWith(hostname, "example.com");
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
it("should also check the domain if the zones can't be loaded", async () => {
|
|
74
|
+
mocks.getDomainZones.mockRejectedValue(new Error("offline"));
|
|
75
|
+
expect(await getSetupProgress()).toEqual({ step: "github", hostname });
|
|
76
|
+
expect(mocks.checkReachability).toHaveBeenCalledWith(hostname, undefined);
|
|
77
|
+
});
|
|
78
|
+
});
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import "server-only";
|
|
2
|
+
import db from "~/database";
|
|
3
|
+
import getDashboardDomain from "~/operations/getDashboardDomain";
|
|
4
|
+
import { getConnectionState } from "./cloudflare/connection";
|
|
5
|
+
import { type DomainStatus, getDomainStatuses, getDomainZones } from "./cloudflare/domains";
|
|
6
|
+
import { getTunnelInfo } from "./cloudflare/tunnel";
|
|
7
|
+
import { findZone } from "./domains";
|
|
8
|
+
import { type ReachabilityProblem, checkReachability } from "./reachability";
|
|
9
|
+
|
|
10
|
+
export type SetupProgress = {
|
|
11
|
+
step: "cloudflare",
|
|
12
|
+
} | {
|
|
13
|
+
step: "domain",
|
|
14
|
+
hostname: null,
|
|
15
|
+
} | {
|
|
16
|
+
step: "domain",
|
|
17
|
+
hostname: string,
|
|
18
|
+
status: DomainStatus,
|
|
19
|
+
/** Only checked if Cloudflare is up to date with the domain */
|
|
20
|
+
problem: ReachabilityProblem | null,
|
|
21
|
+
} | {
|
|
22
|
+
step: "github",
|
|
23
|
+
hostname: string,
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
async function findZoneName(hostname: string) {
|
|
27
|
+
try {
|
|
28
|
+
return findZone(hostname, await getDomainZones() ?? [])?.name;
|
|
29
|
+
} catch (error) {
|
|
30
|
+
// eslint-disable-next-line no-console
|
|
31
|
+
console.error("Failed to load the zones of Cloudflare:", error);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* The step before the GitHub App is created. Nothing is saved for it, so an interrupted setup continues where it
|
|
37
|
+
* stopped, and goes back if something doesn't work anymore.
|
|
38
|
+
*/
|
|
39
|
+
export async function getSetupProgress(): Promise<SetupProgress> {
|
|
40
|
+
if (await getConnectionState() !== "connected" || !await getTunnelInfo()) return { step: "cloudflare" };
|
|
41
|
+
const hostname = await getDashboardDomain(db);
|
|
42
|
+
if (hostname === null) return { step: "domain", hostname };
|
|
43
|
+
const [status] = await getDomainStatuses([hostname]);
|
|
44
|
+
if (status.state !== "active") return { step: "domain", hostname, status, problem: null };
|
|
45
|
+
const problem = await checkReachability(hostname, await findZoneName(hostname));
|
|
46
|
+
return problem ? { step: "domain", hostname, status, problem } : { step: "github", hostname };
|
|
47
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { beforeEach, describe, expect, it, vi } from "vitest";
|
|
2
|
+
import { isSetupSession, prepareSetup } from "./setup";
|
|
3
|
+
|
|
4
|
+
const mocks = vi.hoisted(() => ({
|
|
5
|
+
hasAdmin: vi.fn(),
|
|
6
|
+
getSession: vi.fn(),
|
|
7
|
+
deleteSetupCode: vi.fn(),
|
|
8
|
+
ensureSetupCode: vi.fn(),
|
|
9
|
+
isSetupCode: vi.fn(),
|
|
10
|
+
}));
|
|
11
|
+
|
|
12
|
+
vi.mock("server-only", () => ({}));
|
|
13
|
+
vi.mock("~/database", () => ({ default: {} }));
|
|
14
|
+
vi.mock("~/operations/hasAdmin", () => ({ default: mocks.hasAdmin }));
|
|
15
|
+
vi.mock("./session", () => ({ getSession: mocks.getSession }));
|
|
16
|
+
vi.mock("./setup-code", () => ({
|
|
17
|
+
deleteSetupCode: mocks.deleteSetupCode,
|
|
18
|
+
ensureSetupCode: mocks.ensureSetupCode,
|
|
19
|
+
isSetupCode: mocks.isSetupCode,
|
|
20
|
+
}));
|
|
21
|
+
|
|
22
|
+
describe("setup", () => {
|
|
23
|
+
beforeEach(() => {
|
|
24
|
+
vi.resetAllMocks();
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
it("should need a code until there is an admin", async () => {
|
|
28
|
+
mocks.hasAdmin.mockResolvedValue(false);
|
|
29
|
+
expect(await prepareSetup()).toBe(true);
|
|
30
|
+
expect(mocks.ensureSetupCode).toHaveBeenCalledTimes(1);
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
it("should not leave a code behind", async () => {
|
|
34
|
+
mocks.hasAdmin.mockResolvedValue(true);
|
|
35
|
+
expect(await prepareSetup()).toBe(false);
|
|
36
|
+
expect(mocks.deleteSetupCode).toHaveBeenCalledTimes(1);
|
|
37
|
+
expect(mocks.ensureSetupCode).not.toHaveBeenCalled();
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
it.each([true, false])("should compare the code of the session (%s)", async isRight => {
|
|
41
|
+
mocks.getSession.mockResolvedValue({ setupCode: "code" });
|
|
42
|
+
mocks.isSetupCode.mockReturnValue(isRight);
|
|
43
|
+
expect(await isSetupSession()).toBe(isRight);
|
|
44
|
+
expect(mocks.isSetupCode).toHaveBeenCalledWith("code");
|
|
45
|
+
});
|
|
46
|
+
});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import "server-only";
|
|
2
|
+
import db from "~/database";
|
|
3
|
+
import hasAdmin from "~/operations/hasAdmin";
|
|
4
|
+
import { getSession } from "./session";
|
|
5
|
+
import { deleteSetupCode, ensureSetupCode, isSetupCode } from "./setup-code";
|
|
6
|
+
|
|
7
|
+
/** The setup isn't complete until there is an admin */
|
|
8
|
+
export async function prepareSetup() {
|
|
9
|
+
if (await hasAdmin(db)) {
|
|
10
|
+
deleteSetupCode();
|
|
11
|
+
return false;
|
|
12
|
+
}
|
|
13
|
+
ensureSetupCode();
|
|
14
|
+
return true;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/** Whether the link of the setup was opened in this browser */
|
|
18
|
+
export async function isSetupSession() {
|
|
19
|
+
const { setupCode } = await getSession();
|
|
20
|
+
return isSetupCode(setupCode);
|
|
21
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { describe, expect, it, vi } from "vitest";
|
|
2
|
+
|
|
3
|
+
describe("getSharedState", () => {
|
|
4
|
+
it("should share a value between copies of the module", async () => {
|
|
5
|
+
const first = await import("./shared-state");
|
|
6
|
+
const value = first.getSharedState("test", () => new Set(["a"]));
|
|
7
|
+
vi.resetModules();
|
|
8
|
+
const second = await import("./shared-state");
|
|
9
|
+
expect(second).not.toBe(first);
|
|
10
|
+
expect(second.getSharedState("test", () => new Set())).toBe(value);
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
it("should keep the values of different names apart", async () => {
|
|
14
|
+
const { getSharedState } = await import("./shared-state");
|
|
15
|
+
expect(getSharedState("a", () => new Set())).not.toBe(getSharedState("b", () => new Set()));
|
|
16
|
+
});
|
|
17
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns a value that is shared by the whole process. Next.js bundles pages (with their server
|
|
3
|
+
* actions) and route handlers separately, so each of them has its own copy of a module's variables.
|
|
4
|
+
*/
|
|
5
|
+
export function getSharedState<T>(name: string, create: () => T): T {
|
|
6
|
+
const key = Symbol.for(`buttler.${name}`);
|
|
7
|
+
const store = globalThis as unknown as Record<symbol, T | undefined>;
|
|
8
|
+
return store[key] ??= create();
|
|
9
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import fs, { constants } from "node:fs/promises";
|
|
2
|
+
import { homedir } from "node:os";
|
|
3
|
+
import path from "node:path";
|
|
4
|
+
|
|
5
|
+
function getButtlerDir() {
|
|
6
|
+
return process.env.BUTTLER_HOME || path.resolve(homedir(), ".buttler");
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export function getFilePath(dir: string, fileName: string) {
|
|
10
|
+
return path.resolve(getButtlerDir(), dir, fileName);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export async function checkFile(dir: string, fileName: string) {
|
|
14
|
+
try {
|
|
15
|
+
await fs.access(getFilePath(dir, fileName), constants.F_OK);
|
|
16
|
+
return true;
|
|
17
|
+
} catch {
|
|
18
|
+
return false;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export async function readFileContent(dir: string, fileName: string) {
|
|
23
|
+
try {
|
|
24
|
+
return await fs.readFile(getFilePath(dir, fileName), "utf8");
|
|
25
|
+
} catch {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export async function saveFile(dir: string, fileName: string, content: string) {
|
|
31
|
+
const dirPath = path.resolve(getButtlerDir(), dir);
|
|
32
|
+
await fs.mkdir(dirPath, { recursive: true });
|
|
33
|
+
const filePath = path.resolve(dirPath, fileName);
|
|
34
|
+
await fs.writeFile(filePath, content, "utf-8");
|
|
35
|
+
return filePath;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export async function removeFile(dir: string, fileName: string) {
|
|
39
|
+
await fs.unlink(getFilePath(dir, fileName));
|
|
40
|
+
}
|