From 930bff82e108a5005b9d7f00e43d0b6a53fe5ad6 Mon Sep 17 00:00:00 2001 From: Willem Date: Sat, 14 Dec 2024 20:16:04 +0100 Subject: [PATCH] Put no2all in nx01 sub package --- .../nostr/fire/NoStrFireStackFishWelder.java | 8 -- .../nostr/fire/NoStrFireStackWelder.java | 76 ------------------- .../nostr/model/message/NoStrMsgToClient.java | 7 -- .../nostr/model/message/NoStrMsgToRelay.java | 7 -- .../nostr/model/share/NoStrShareLink.java | 6 -- .../nostr/nip/tag/NoStrImplTagClient.java | 9 --- .../nip/tag/NoStrImplTagContentWarning.java | 9 --- .../no2all/nostr/nip/tag/NoStrImplTagE.java | 10 --- .../no2all/nostr/nip/tag/NoStrImplTagI.java | 9 --- .../no2all/nostr/nip/tag/NoStrImplTagP.java | 9 --- .../{ => nx01}/no2all/nostr/NoStr.java | 12 +-- .../{ => nx01}/no2all/nostr/NoStrGospel.java | 2 +- .../no2all/nostr/fire/NoStrFirePipe.java | 8 +- .../nostr/fire/NoStrFireStackFishWelder.java | 8 ++ .../nostr/fire/NoStrFireStackWelder.java | 76 +++++++++++++++++++ .../nostr/fire/NoStrFireWaterBoiler.java | 16 ++-- .../nostr/fire/NoStrFireWaterWelder.java | 22 +++--- .../no2all/nostr/model/NoStrIdentity.java | 2 +- .../nostr/model/NoStrIdentityPrivateKey.java | 8 +- .../nostr/model/NoStrIdentityPublicKey.java | 10 +-- .../no2all/nostr/model/NoStrKindValue.java | 6 +- .../nostr/model/NoStrProfileMetaData.java | 6 +- .../no2all/nostr/model/NoStrRelayInfo.java | 8 +- .../nostr/model/NoStrRelayInfoLimitation.java | 8 +- .../nostr/model/NoStrRelayInfoPayment.java | 8 +- .../nostr/model/NoStrRelayInfoRetention.java | 8 +- .../nostr/model/NoStrSubscriptionFilter.java | 10 +-- .../model/NoStrSubscriptionFilterTag.java | 4 +- .../no2all/nostr/model/event/NoStrEvent.java | 8 +- .../nostr/model/event/NoStrEventId.java | 4 +- .../nostr/model/event/NoStrEventKind.java | 8 +- .../model/event/NoStrEventKindCustom.java | 10 +-- .../model/event/NoStrEventKindRange.java | 4 +- .../nostr/model/event/NoStrEventPayload.java | 4 +- .../model/event/NoStrEventSignature.java | 12 +-- .../nostr/model/event/NoStrEventTag.java | 8 +- .../nostr/model/event/NoStrEventTagBase.java | 6 +- .../model/event/NoStrEventTagBaseMono.java | 4 +- .../model/event/NoStrEventTagCustom.java | 2 +- .../nostr/model/event/NoStrEventTagMeta.java | 10 +-- .../model/event/NoStrEventTagMetaCustom.java | 10 +-- .../nostr/model/message/NoStrMsgToClient.java | 7 ++ .../model/message/NoStrMsgToClientAuth.java | 4 +- .../model/message/NoStrMsgToClientCount.java | 4 +- .../model/message/NoStrMsgToClientEose.java | 4 +- .../model/message/NoStrMsgToClientEvent.java | 6 +- .../model/message/NoStrMsgToClientNotice.java | 4 +- .../model/message/NoStrMsgToClientOk.java | 8 +- .../nostr/model/message/NoStrMsgToRelay.java | 7 ++ .../model/message/NoStrMsgToRelayAuth.java | 6 +- .../model/message/NoStrMsgToRelayClose.java | 4 +- .../model/message/NoStrMsgToRelayCount.java | 6 +- .../model/message/NoStrMsgToRelayEvent.java | 6 +- .../model/message/NoStrMsgToRelayReq.java | 6 +- .../model/share/NoStrShareB32LinkBare.java | 8 +- .../model/share/NoStrShareB32LinkTLV.java | 12 +-- .../share/NoStrShareBitChainTapeDeck.java | 8 +- .../share/NoStrShareBitChainTapeStudio.java | 8 +- .../nostr/model/share/NoStrShareLink.java | 6 ++ .../model/share/NoStrShareLinkEvent.java | 12 +-- .../share/NoStrShareLinkEventReference.java | 10 +-- .../nostr/model/share/NoStrShareLinkNote.java | 8 +- .../model/share/NoStrShareLinkPrivateKey.java | 8 +- .../share/NoStrShareLinkPrivateKeySecure.java | 8 +- .../model/share/NoStrShareLinkProfile.java | 8 +- .../model/share/NoStrShareLinkPublicKey.java | 8 +- .../model/share/NoStrShareLinkRelay.java | 6 +- .../no2all/nostr/model/tag/NoStrTagA.java | 16 ++-- .../no2all/nostr/model/tag/NoStrTagAlt.java | 10 +-- .../nostr/model/tag/NoStrTagClient.java | 12 +-- .../model/tag/NoStrTagContentWarning.java | 14 ++-- .../no2all/nostr/model/tag/NoStrTagD.java | 10 +-- .../nostr/model/tag/NoStrTagDescription.java | 10 +-- .../no2all/nostr/model/tag/NoStrTagE.java | 16 ++-- .../no2all/nostr/model/tag/NoStrTagI.java | 14 ++-- .../no2all/nostr/model/tag/NoStrTagImage.java | 12 +-- .../no2all/nostr/model/tag/NoStrTagName.java | 10 +-- .../no2all/nostr/model/tag/NoStrTagNonce.java | 12 +-- .../no2all/nostr/model/tag/NoStrTagP.java | 14 ++-- .../nostr/model/tag/NoStrTagPublishedAt.java | 10 +-- .../no2all/nostr/model/tag/NoStrTagR.java | 10 +-- .../nostr/model/tag/NoStrTagSubject.java | 12 +-- .../nostr/model/tag/NoStrTagSummary.java | 10 +-- .../no2all/nostr/model/tag/NoStrTagT.java | 10 +-- .../no2all/nostr/model/tag/NoStrTagThumb.java | 12 +-- .../no2all/nostr/model/tag/NoStrTagTitle.java | 12 +-- .../no2all/nostr/nip/NoStrImpl.java | 2 +- .../no2all/nostr/nip/NoStrImplBinHex.java | 2 +- .../nostr/nip/NoStrImplBinHexAdapter.java | 2 +- .../no2all/nostr/nip/NoStrImplChuch.java | 4 +- .../no2all/nostr/nip/NoStrImplEventKind.java | 6 +- .../nostr/nip/NoStrImplEventKindRange.java | 4 +- .../no2all/nostr/nip/NoStrImplEventTag.java | 42 +++++----- .../nostr/nip/NoStrImplEventTagArgument.java | 2 +- .../nostr/nip/NoStrImplMessageOkReason.java | 2 +- .../nostr/nip/NoStrImplMessageType.java | 28 +++---- .../nostr/nip/NoStrImplPossibility.java | 2 +- .../no2all/nostr/nip/NoStrImplQFlag.java | 2 +- .../no2all/nostr/nip/NoStrImplQName.java | 2 +- .../no2all/nostr/nip/NoStrImplShareLink.java | 6 +- .../no2all/nostr/nip/NoStrImplShareTLV.java | 2 +- .../no2all/nostr/nip/tag/NoStrImplTagA.java | 4 +- .../nostr/nip/tag/NoStrImplTagClient.java | 9 +++ .../nip/tag/NoStrImplTagContentWarning.java | 9 +++ .../tag/NoStrImplTagContentWarningRGroup.java | 4 +- .../no2all/nostr/nip/tag/NoStrImplTagE.java | 10 +++ .../nostr/nip/tag/NoStrImplTagEMarker.java | 4 +- .../no2all/nostr/nip/tag/NoStrImplTagI.java | 9 +++ .../nostr/nip/tag/NoStrImplTagIClaim.java | 4 +- .../nostr/nip/tag/NoStrImplTagImage.java | 4 +- .../nostr/nip/tag/NoStrImplTagNonce.java | 4 +- .../no2all/nostr/nip/tag/NoStrImplTagP.java | 9 +++ .../nostr/nip/tag/NoStrImplTagSubject.java | 4 +- .../nostr/nip/tag/NoStrImplTagThumb.java | 4 +- .../nostr/nip/tag/NoStrImplTagTitle.java | 4 +- .../no2all/nostr/trust/OctoBech32.java | 2 +- .../no2all/nostr/trust/OctoBech32Bucket.java | 2 +- .../no2all/nostr/trust/OctoBech32String.java | 2 +- .../no2all/nostr/trust/OctoBech32Variant.java | 2 +- .../no2all/nostr/trust/OctoTrust.java | 2 +- .../no2all/nostr/trust/OctoTrustAES.java | 2 +- .../no2all/nostr/trust/OctoTrustAESCurve.java | 2 +- .../nostr/trust/OctoTrustAESCurveX9EC.java | 2 +- .../no2all/nostr/trust/OctoTrustChaChaPx.java | 2 +- .../nostr/trust/OctoTrustException.java | 2 +- .../no2all/nostr/trust/OctoTrustHash.java | 2 +- .../no2all/nostr/trust/OctoTrustSchnorr.java | 2 +- .../nostr/trust/OctoTrustSchnorrPoint.java | 2 +- .../no2all/nostr/model/NoStrIdentityTest.java | 5 +- .../nostr/model/NoStrProfileMetaDataTest.java | 3 +- .../nostr/model/NoStrRelayInfoTest.java | 3 +- .../model/event/NoStrEventSignatureTest.java | 20 +++-- .../nostr/model/event/NoStrEventTagTest.java | 5 +- .../nostr/model/event/NoStrEventTest.java | 7 +- .../model/share/NoStrShareLinkEventTest.java | 6 +- .../share/NoStrShareLinkPrivateKeyTest.java | 5 +- .../share/NoStrShareLinkProfileTest.java | 5 +- .../share/NoStrShareLinkPublicKeyTest.java | 5 +- .../no2all/nostr/model/tag/NoStrTagETest.java | 7 +- .../nip/NoStrImplEventKindRangeTest.java | 4 +- .../nostr/nip/NoStrImplEventKindTest.java | 5 +- .../nip/NoStrImplMessageOkReasonTest.java | 4 +- .../no2all/nostr/nip/NoStrImplTest.java | 4 +- .../nostr/nip/tag/NoStrImplTagATest.java | 4 +- .../nostr/nip/tag/NoStrImplTagIClaimTest.java | 4 +- .../nostr/model/event/note-empty-tags.json | 0 .../model/event/note-text-sign-error.json | 0 .../nostr/model/event/note-text-simple.json | 0 .../no2all/nostr/model/relay-info.json | 0 .../nostr/client/NoStrRelayReadType.java | 9 --- .../nostr/client/NoStrRelayFetchInfo.java | 7 +- .../nostr/client/NoStrRelayReadType.java | 9 +++ .../react/nostr/client/NoStrRtsClient.java | 40 +++++----- .../react/nostr/server/NoStrRtsServer.java | 44 +++++------ .../relay/NoStrArtServerRelayStoreEvent.java | 4 +- .../server/relay/NoStrRtsServerRelay.java | 20 ++--- .../server/relay/NoStrRtsServerRelaySubs.java | 12 +-- .../react/nostr/client/NoStrClientTest.java | 37 ++++----- .../react/nostr/server/NoStrServerTest.java | 21 ++--- .../react/wire/client/No2AllActClient.java | 2 +- .../wire/client/No2AllActClientClose.java | 2 +- .../wire/client/No2AllActClientConnect.java | 2 +- .../client/No2AllActClientSendBinary.java | 2 +- .../client/No2AllActClientSendMessage.java | 2 +- .../react/wire/client/No2AllArtClient.java | 2 +- .../wire/client/No2AllArtClientOnBinary.java | 2 +- .../wire/client/No2AllArtClientOnClose.java | 2 +- .../wire/client/No2AllArtClientOnError.java | 2 +- .../wire/client/No2AllArtClientOnMessage.java | 2 +- .../wire/client/No2AllArtClientOnOpen.java | 2 +- .../wire/client/No2AllArtClientOnStart.java | 2 +- .../react/wire/client/No2AllRtsClient.java | 2 +- .../react/wire/server/No2AllActServer.java | 2 +- .../No2AllActServerBroadcastBinary.java | 2 +- .../No2AllActServerBroadcastMessage.java | 2 +- .../server/No2AllActServerSocketClose.java | 2 +- .../No2AllActServerSocketSendBinary.java | 2 +- .../No2AllActServerSocketSendMessage.java | 2 +- .../react/wire/server/No2AllArtServer.java | 2 +- .../wire/server/No2AllArtServerOnError.java | 2 +- .../wire/server/No2AllArtServerOnStart.java | 2 +- .../wire/server/No2AllArtServerSocket.java | 2 +- .../server/No2AllArtServerSocketOnBinary.java | 2 +- .../server/No2AllArtServerSocketOnClose.java | 2 +- .../server/No2AllArtServerSocketOnError.java | 2 +- .../No2AllArtServerSocketOnMessage.java | 2 +- .../react/wire/server/No2AllRtsServer.java | 2 +- .../react/wire/server/No2AllRtsServerLog.java | 2 +- .../nx01/no2all/wire/jetty/EventServer.java | 14 ++-- .../nx01/zerofungus/server/ZFunRtsServer.java | 6 +- .../nx01/zerofungus/server/ZeroFungus.java | 14 ++-- .../server/service/ZFunRtsConfigJetty.java | 4 +- 192 files changed, 756 insertions(+), 725 deletions(-) delete mode 100644 nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/fire/NoStrFireStackFishWelder.java delete mode 100644 nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/fire/NoStrFireStackWelder.java delete mode 100644 nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToClient.java delete mode 100644 nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToRelay.java delete mode 100644 nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLink.java delete mode 100644 nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagClient.java delete mode 100644 nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagContentWarning.java delete mode 100644 nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagE.java delete mode 100644 nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagI.java delete mode 100644 nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagP.java rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/NoStr.java (55%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/NoStrGospel.java (74%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/fire/NoStrFirePipe.java (90%) create mode 100644 nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/fire/NoStrFireStackFishWelder.java create mode 100644 nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/fire/NoStrFireStackWelder.java rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/fire/NoStrFireWaterBoiler.java (74%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/fire/NoStrFireWaterWelder.java (66%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/NoStrIdentity.java (89%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/NoStrIdentityPrivateKey.java (68%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/NoStrIdentityPublicKey.java (64%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/NoStrKindValue.java (90%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/NoStrProfileMetaData.java (92%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/NoStrRelayInfo.java (96%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/NoStrRelayInfoLimitation.java (94%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/NoStrRelayInfoPayment.java (85%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/NoStrRelayInfoRetention.java (85%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/NoStrSubscriptionFilter.java (91%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/NoStrSubscriptionFilterTag.java (77%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/event/NoStrEvent.java (91%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/event/NoStrEventId.java (68%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/event/NoStrEventKind.java (56%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/event/NoStrEventKindCustom.java (62%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/event/NoStrEventKindRange.java (53%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/event/NoStrEventPayload.java (93%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/event/NoStrEventSignature.java (83%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/event/NoStrEventTag.java (87%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/event/NoStrEventTagBase.java (87%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/event/NoStrEventTagBaseMono.java (88%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/event/NoStrEventTagCustom.java (88%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/event/NoStrEventTagMeta.java (52%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/event/NoStrEventTagMetaCustom.java (69%) create mode 100644 nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToClient.java rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/message/NoStrMsgToClientAuth.java (83%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/message/NoStrMsgToClientCount.java (87%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/message/NoStrMsgToClientEose.java (83%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/message/NoStrMsgToClientEvent.java (81%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/message/NoStrMsgToClientNotice.java (82%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/message/NoStrMsgToClientOk.java (84%) create mode 100644 nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToRelay.java rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/message/NoStrMsgToRelayAuth.java (75%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/message/NoStrMsgToRelayClose.java (83%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/message/NoStrMsgToRelayCount.java (85%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/message/NoStrMsgToRelayEvent.java (75%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/message/NoStrMsgToRelayReq.java (85%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/share/NoStrShareB32LinkBare.java (71%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/share/NoStrShareB32LinkTLV.java (77%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/share/NoStrShareBitChainTapeDeck.java (89%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/share/NoStrShareBitChainTapeStudio.java (86%) create mode 100644 nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLink.java rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/share/NoStrShareLinkEvent.java (73%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/share/NoStrShareLinkEventReference.java (76%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/share/NoStrShareLinkNote.java (63%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/share/NoStrShareLinkPrivateKey.java (66%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/share/NoStrShareLinkPrivateKeySecure.java (84%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/share/NoStrShareLinkProfile.java (72%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/share/NoStrShareLinkPublicKey.java (66%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/share/NoStrShareLinkRelay.java (74%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/tag/NoStrTagA.java (79%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/tag/NoStrTagAlt.java (58%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/tag/NoStrTagClient.java (71%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/tag/NoStrTagContentWarning.java (74%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/tag/NoStrTagD.java (56%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/tag/NoStrTagDescription.java (60%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/tag/NoStrTagE.java (73%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/tag/NoStrTagI.java (70%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/tag/NoStrTagImage.java (76%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/tag/NoStrTagName.java (56%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/tag/NoStrTagNonce.java (68%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/tag/NoStrTagP.java (75%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/tag/NoStrTagPublishedAt.java (67%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/tag/NoStrTagR.java (56%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/tag/NoStrTagSubject.java (70%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/tag/NoStrTagSummary.java (58%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/tag/NoStrTagT.java (56%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/tag/NoStrTagThumb.java (76%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/tag/NoStrTagTitle.java (60%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/nip/NoStrImpl.java (97%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/nip/NoStrImplBinHex.java (65%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/nip/NoStrImplBinHexAdapter.java (92%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/nip/NoStrImplChuch.java (97%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/nip/NoStrImplEventKind.java (93%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/nip/NoStrImplEventKindRange.java (89%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/nip/NoStrImplEventTag.java (74%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/nip/NoStrImplEventTagArgument.java (54%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/nip/NoStrImplMessageOkReason.java (94%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/nip/NoStrImplMessageType.java (64%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/nip/NoStrImplPossibility.java (60%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/nip/NoStrImplQFlag.java (69%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/nip/NoStrImplQName.java (86%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/nip/NoStrImplShareLink.java (84%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/nip/NoStrImplShareTLV.java (93%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/nip/tag/NoStrImplTagA.java (85%) create mode 100644 nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagClient.java create mode 100644 nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagContentWarning.java rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/nip/tag/NoStrImplTagContentWarningRGroup.java (82%) create mode 100644 nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagE.java rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/nip/tag/NoStrImplTagEMarker.java (76%) create mode 100644 nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagI.java rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/nip/tag/NoStrImplTagIClaim.java (87%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/nip/tag/NoStrImplTagImage.java (84%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/nip/tag/NoStrImplTagNonce.java (53%) create mode 100644 nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagP.java rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/nip/tag/NoStrImplTagSubject.java (88%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/nip/tag/NoStrImplTagThumb.java (77%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/nip/tag/NoStrImplTagTitle.java (80%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/trust/OctoBech32.java (99%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/trust/OctoBech32Bucket.java (90%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/trust/OctoBech32String.java (85%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/trust/OctoBech32Variant.java (86%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/trust/OctoTrust.java (95%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/trust/OctoTrustAES.java (97%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/trust/OctoTrustAESCurve.java (98%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/trust/OctoTrustAESCurveX9EC.java (92%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/trust/OctoTrustChaChaPx.java (96%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/trust/OctoTrustException.java (78%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/trust/OctoTrustHash.java (88%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/trust/OctoTrustSchnorr.java (98%) rename nx01-no2all-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/nostr/trust/OctoTrustSchnorrPoint.java (98%) rename nx01-no2all-nostr/src/test/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/NoStrIdentityTest.java (77%) rename nx01-no2all-nostr/src/test/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/NoStrProfileMetaDataTest.java (86%) rename nx01-no2all-nostr/src/test/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/NoStrRelayInfoTest.java (90%) rename nx01-no2all-nostr/src/test/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/event/NoStrEventSignatureTest.java (89%) rename nx01-no2all-nostr/src/test/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/event/NoStrEventTagTest.java (73%) rename nx01-no2all-nostr/src/test/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/event/NoStrEventTest.java (88%) rename nx01-no2all-nostr/src/test/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/share/NoStrShareLinkEventTest.java (80%) rename nx01-no2all-nostr/src/test/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/share/NoStrShareLinkPrivateKeyTest.java (82%) rename nx01-no2all-nostr/src/test/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/share/NoStrShareLinkProfileTest.java (92%) rename nx01-no2all-nostr/src/test/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/share/NoStrShareLinkPublicKeyTest.java (81%) rename nx01-no2all-nostr/src/test/java/love/distributedrebirth/{ => nx01}/no2all/nostr/model/tag/NoStrTagETest.java (71%) rename nx01-no2all-nostr/src/test/java/love/distributedrebirth/{ => nx01}/no2all/nostr/nip/NoStrImplEventKindRangeTest.java (94%) rename nx01-no2all-nostr/src/test/java/love/distributedrebirth/{ => nx01}/no2all/nostr/nip/NoStrImplEventKindTest.java (84%) rename nx01-no2all-nostr/src/test/java/love/distributedrebirth/{ => nx01}/no2all/nostr/nip/NoStrImplMessageOkReasonTest.java (91%) rename nx01-no2all-nostr/src/test/java/love/distributedrebirth/{ => nx01}/no2all/nostr/nip/NoStrImplTest.java (89%) rename nx01-no2all-nostr/src/test/java/love/distributedrebirth/{ => nx01}/no2all/nostr/nip/tag/NoStrImplTagATest.java (76%) rename nx01-no2all-nostr/src/test/java/love/distributedrebirth/{ => nx01}/no2all/nostr/nip/tag/NoStrImplTagIClaimTest.java (92%) rename nx01-no2all-nostr/src/test/resources/love/distributedrebirth/{ => nx01}/no2all/nostr/model/event/note-empty-tags.json (100%) rename nx01-no2all-nostr/src/test/resources/love/distributedrebirth/{ => nx01}/no2all/nostr/model/event/note-text-sign-error.json (100%) rename nx01-no2all-nostr/src/test/resources/love/distributedrebirth/{ => nx01}/no2all/nostr/model/event/note-text-simple.json (100%) rename nx01-no2all-nostr/src/test/resources/love/distributedrebirth/{ => nx01}/no2all/nostr/model/relay-info.json (100%) delete mode 100644 nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/no2all/react/nostr/client/NoStrRelayReadType.java rename nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/nostr/client/NoStrRelayFetchInfo.java (86%) create mode 100644 nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/nx01/no2all/react/nostr/client/NoStrRelayReadType.java rename nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/nostr/client/NoStrRtsClient.java (61%) rename nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/nostr/server/NoStrRtsServer.java (64%) rename nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/nostr/server/relay/NoStrArtServerRelayStoreEvent.java (72%) rename nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/nostr/server/relay/NoStrRtsServerRelay.java (73%) rename nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/nostr/server/relay/NoStrRtsServerRelaySubs.java (74%) rename nx01-no2all-react-nostr/src/test/java/love/distributedrebirth/{ => nx01}/no2all/react/nostr/client/NoStrClientTest.java (68%) rename nx01-no2all-react-nostr/src/test/java/love/distributedrebirth/{ => nx01}/no2all/react/nostr/server/NoStrServerTest.java (70%) rename nx01-no2all-react-wire/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/wire/client/No2AllActClient.java (82%) rename nx01-no2all-react-wire/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/wire/client/No2AllActClientClose.java (89%) rename nx01-no2all-react-wire/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/wire/client/No2AllActClientConnect.java (57%) rename nx01-no2all-react-wire/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/wire/client/No2AllActClientSendBinary.java (80%) rename nx01-no2all-react-wire/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/wire/client/No2AllActClientSendMessage.java (77%) rename nx01-no2all-react-wire/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/wire/client/No2AllArtClient.java (81%) rename nx01-no2all-react-wire/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/wire/client/No2AllArtClientOnBinary.java (80%) rename nx01-no2all-react-wire/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/wire/client/No2AllArtClientOnClose.java (87%) rename nx01-no2all-react-wire/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/wire/client/No2AllArtClientOnError.java (76%) rename nx01-no2all-react-wire/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/wire/client/No2AllArtClientOnMessage.java (77%) rename nx01-no2all-react-wire/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/wire/client/No2AllArtClientOnOpen.java (58%) rename nx01-no2all-react-wire/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/wire/client/No2AllArtClientOnStart.java (82%) rename nx01-no2all-react-wire/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/wire/client/No2AllRtsClient.java (98%) rename nx01-no2all-react-wire/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/wire/server/No2AllActServer.java (82%) rename nx01-no2all-react-wire/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/wire/server/No2AllActServerBroadcastBinary.java (80%) rename nx01-no2all-react-wire/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/wire/server/No2AllActServerBroadcastMessage.java (77%) rename nx01-no2all-react-wire/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/wire/server/No2AllActServerSocketClose.java (89%) rename nx01-no2all-react-wire/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/wire/server/No2AllActServerSocketSendBinary.java (80%) rename nx01-no2all-react-wire/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/wire/server/No2AllActServerSocketSendMessage.java (78%) rename nx01-no2all-react-wire/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/wire/server/No2AllArtServer.java (81%) rename nx01-no2all-react-wire/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/wire/server/No2AllArtServerOnError.java (76%) rename nx01-no2all-react-wire/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/wire/server/No2AllArtServerOnStart.java (58%) rename nx01-no2all-react-wire/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/wire/server/No2AllArtServerSocket.java (87%) rename nx01-no2all-react-wire/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/wire/server/No2AllArtServerSocketOnBinary.java (80%) rename nx01-no2all-react-wire/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/wire/server/No2AllArtServerSocketOnClose.java (87%) rename nx01-no2all-react-wire/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/wire/server/No2AllArtServerSocketOnError.java (77%) rename nx01-no2all-react-wire/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/wire/server/No2AllArtServerSocketOnMessage.java (78%) rename nx01-no2all-react-wire/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/wire/server/No2AllRtsServer.java (98%) rename nx01-no2all-react-wire/src/main/java/love/distributedrebirth/{ => nx01}/no2all/react/wire/server/No2AllRtsServerLog.java (96%) diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/fire/NoStrFireStackFishWelder.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/fire/NoStrFireStackFishWelder.java deleted file mode 100644 index 3e686ba..0000000 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/fire/NoStrFireStackFishWelder.java +++ /dev/null @@ -1,8 +0,0 @@ -package love.distributedrebirth.no2all.nostr.fire; - -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventTag; - -public interface NoStrFireStackFishWelder { - - NoStrFireStackWelder tag(NoStrEventTag eventTag); -} diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/fire/NoStrFireStackWelder.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/fire/NoStrFireStackWelder.java deleted file mode 100644 index 77e24b8..0000000 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/fire/NoStrFireStackWelder.java +++ /dev/null @@ -1,76 +0,0 @@ -package love.distributedrebirth.no2all.nostr.fire; - -import java.util.List; - -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventTag; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventTagMeta; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagA; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagAlt; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagClient; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagContentWarning; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagD; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagDescription; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagE; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagI; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagImage; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagName; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagNonce; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagP; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagPublishedAt; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagR; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagSubject; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagSummary; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagT; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagThumb; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagTitle; - -public class NoStrFireStackWelder implements NoStrFireStackFishWelder, - NoStrTagA.FishWelder, - NoStrTagAlt.FishWelder, - NoStrTagClient.FishWelder, - NoStrTagContentWarning.FishWelder, - NoStrTagD.FishWelder, - NoStrTagDescription.FishWelder, - NoStrTagE.FishWelder, - NoStrTagI.FishWelder, - NoStrTagImage.FishWelder, - NoStrTagName.FishWelder, - NoStrTagNonce.FishWelder, - NoStrTagP.FishWelder, - NoStrTagPublishedAt.FishWelder, - NoStrTagR.FishWelder, - NoStrTagSubject.FishWelder, - NoStrTagSummary.FishWelder, - NoStrTagT.FishWelder, - NoStrTagThumb.FishWelder, - NoStrTagTitle.FishWelder -{ - private final NoStrFireWaterWelder welder; - - protected NoStrFireStackWelder(NoStrFireWaterWelder welder) { - this.welder = welder; - } - - public NoStrFireWaterWelder burn() { - return welder; - } - - @Override - public NoStrFireStackWelder tag(NoStrEventTag eventTag) { - welder.smokeTag(eventTag); - return this; - } - - public NoStrFireStackWelder tags(List eventTags) { - eventTags.forEach(v -> welder.smokeTag(v)); - return this; - } - - public NoStrFireStackWelder tag(NoStrEventTagMeta tag, String... args) { - return tag(NoStrEventTag.valueOf(tag, args)); - } - - public NoStrFireStackWelder tag(String tag, String... args) { - return tag(NoStrEventTagMeta.valueOf(tag), args); - } -} diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToClient.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToClient.java deleted file mode 100644 index 7060b4c..0000000 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToClient.java +++ /dev/null @@ -1,7 +0,0 @@ -package love.distributedrebirth.no2all.nostr.model.message; - -import love.distributedrebirth.no2all.nostr.NoStrGospel; - -public interface NoStrMsgToClient extends NoStrGospel { - // marker -} diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToRelay.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToRelay.java deleted file mode 100644 index 3ee8f39..0000000 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToRelay.java +++ /dev/null @@ -1,7 +0,0 @@ -package love.distributedrebirth.no2all.nostr.model.message; - -import love.distributedrebirth.no2all.nostr.NoStrGospel; - -public interface NoStrMsgToRelay extends NoStrGospel { - // marker -} diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLink.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLink.java deleted file mode 100644 index 16711d2..0000000 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLink.java +++ /dev/null @@ -1,6 +0,0 @@ -package love.distributedrebirth.no2all.nostr.model.share; - -public interface NoStrShareLink { - - String toShareLink(); -} diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagClient.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagClient.java deleted file mode 100644 index bd334df..0000000 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagClient.java +++ /dev/null @@ -1,9 +0,0 @@ -package love.distributedrebirth.no2all.nostr.nip.tag; - -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTagArgument; - -public enum NoStrImplTagClient implements NoStrImplEventTagArgument { - USER_AGENT, - VERSION, - ; -} diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagContentWarning.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagContentWarning.java deleted file mode 100644 index dc71f1d..0000000 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagContentWarning.java +++ /dev/null @@ -1,9 +0,0 @@ -package love.distributedrebirth.no2all.nostr.nip.tag; - -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTagArgument; - -public enum NoStrImplTagContentWarning implements NoStrImplEventTagArgument { - REASON, - RATE_GROUP - ; -} diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagE.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagE.java deleted file mode 100644 index 40649bb..0000000 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagE.java +++ /dev/null @@ -1,10 +0,0 @@ -package love.distributedrebirth.no2all.nostr.nip.tag; - -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTagArgument; - -public enum NoStrImplTagE implements NoStrImplEventTagArgument { - EVENT_ID, - RELAY_URL, - MARKER, - ; -} diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagI.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagI.java deleted file mode 100644 index 76346f0..0000000 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagI.java +++ /dev/null @@ -1,9 +0,0 @@ -package love.distributedrebirth.no2all.nostr.nip.tag; - -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTagArgument; - -public enum NoStrImplTagI implements NoStrImplEventTagArgument { - PLATFORM_IDENTITY, - PROOF, - ; -} diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagP.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagP.java deleted file mode 100644 index b689d4b..0000000 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagP.java +++ /dev/null @@ -1,9 +0,0 @@ -package love.distributedrebirth.no2all.nostr.nip.tag; - -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTagArgument; - -public enum NoStrImplTagP implements NoStrImplEventTagArgument { - PUBLIC_KEY, - PET_NAME, - ; -} diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/NoStr.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/NoStr.java similarity index 55% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/NoStr.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/NoStr.java index 97566b7..b62e2f9 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/NoStr.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/NoStr.java @@ -1,12 +1,12 @@ -package love.distributedrebirth.no2all.nostr; +package love.distributedrebirth.nx01.no2all.nostr; import java.util.function.Consumer; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireWaterBoiler; -import love.distributedrebirth.no2all.nostr.fire.NoStrFirePipe; -import love.distributedrebirth.no2all.nostr.model.NoStrIdentity; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToClient; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToRelay; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFirePipe; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireWaterBoiler; +import love.distributedrebirth.nx01.no2all.nostr.model.NoStrIdentity; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToClient; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToRelay; public enum NoStr { FACTORY; diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/NoStrGospel.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/NoStrGospel.java similarity index 74% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/NoStrGospel.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/NoStrGospel.java index 3e37b98..664281c 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/NoStrGospel.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/NoStrGospel.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr; +package love.distributedrebirth.nx01.no2all.nostr; import jakarta.json.JsonValue; diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/fire/NoStrFirePipe.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/fire/NoStrFirePipe.java similarity index 90% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/fire/NoStrFirePipe.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/fire/NoStrFirePipe.java index 80bf4b1..a623a4d 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/fire/NoStrFirePipe.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/fire/NoStrFirePipe.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.fire; +package love.distributedrebirth.nx01.no2all.nostr.fire; import java.io.StringReader; import java.util.Objects; @@ -9,9 +9,9 @@ import jakarta.json.Json; import jakarta.json.JsonArray; import jakarta.json.JsonReader; import jakarta.json.JsonValue; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToClient; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToRelay; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplMessageType; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToClient; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToRelay; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplMessageType; public final class NoStrFirePipe { private static final String ERROR_INVALID_JSON = "Invalid json; "; // on json parse diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/fire/NoStrFireStackFishWelder.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/fire/NoStrFireStackFishWelder.java new file mode 100644 index 0000000..85f62d0 --- /dev/null +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/fire/NoStrFireStackFishWelder.java @@ -0,0 +1,8 @@ +package love.distributedrebirth.nx01.no2all.nostr.fire; + +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventTag; + +public interface NoStrFireStackFishWelder { + + NoStrFireStackWelder tag(NoStrEventTag eventTag); +} diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/fire/NoStrFireStackWelder.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/fire/NoStrFireStackWelder.java new file mode 100644 index 0000000..1dd0d52 --- /dev/null +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/fire/NoStrFireStackWelder.java @@ -0,0 +1,76 @@ +package love.distributedrebirth.nx01.no2all.nostr.fire; + +import java.util.List; + +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventTag; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventTagMeta; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagA; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagAlt; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagClient; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagContentWarning; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagD; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagDescription; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagE; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagI; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagImage; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagName; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagNonce; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagP; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagPublishedAt; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagR; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagSubject; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagSummary; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagT; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagThumb; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagTitle; + +public class NoStrFireStackWelder implements NoStrFireStackFishWelder, + NoStrTagA.FishWelder, + NoStrTagAlt.FishWelder, + NoStrTagClient.FishWelder, + NoStrTagContentWarning.FishWelder, + NoStrTagD.FishWelder, + NoStrTagDescription.FishWelder, + NoStrTagE.FishWelder, + NoStrTagI.FishWelder, + NoStrTagImage.FishWelder, + NoStrTagName.FishWelder, + NoStrTagNonce.FishWelder, + NoStrTagP.FishWelder, + NoStrTagPublishedAt.FishWelder, + NoStrTagR.FishWelder, + NoStrTagSubject.FishWelder, + NoStrTagSummary.FishWelder, + NoStrTagT.FishWelder, + NoStrTagThumb.FishWelder, + NoStrTagTitle.FishWelder +{ + private final NoStrFireWaterWelder welder; + + protected NoStrFireStackWelder(NoStrFireWaterWelder welder) { + this.welder = welder; + } + + public NoStrFireWaterWelder burn() { + return welder; + } + + @Override + public NoStrFireStackWelder tag(NoStrEventTag eventTag) { + welder.smokeTag(eventTag); + return this; + } + + public NoStrFireStackWelder tags(List eventTags) { + eventTags.forEach(v -> welder.smokeTag(v)); + return this; + } + + public NoStrFireStackWelder tag(NoStrEventTagMeta tag, String... args) { + return tag(NoStrEventTag.valueOf(tag, args)); + } + + public NoStrFireStackWelder tag(String tag, String... args) { + return tag(NoStrEventTagMeta.valueOf(tag), args); + } +} diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/fire/NoStrFireWaterBoiler.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/fire/NoStrFireWaterBoiler.java similarity index 74% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/fire/NoStrFireWaterBoiler.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/fire/NoStrFireWaterBoiler.java index f93d5fe..03dfbfb 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/fire/NoStrFireWaterBoiler.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/fire/NoStrFireWaterBoiler.java @@ -1,17 +1,17 @@ -package love.distributedrebirth.no2all.nostr.fire; +package love.distributedrebirth.nx01.no2all.nostr.fire; import java.util.List; import java.util.Objects; import java.util.Optional; import java.util.stream.Collectors; -import love.distributedrebirth.no2all.nostr.model.NoStrIdentity; -import love.distributedrebirth.no2all.nostr.model.NoStrIdentityPublicKey; -import love.distributedrebirth.no2all.nostr.model.NoStrProfileMetaData; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEvent; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagP; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventKind; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTag; +import love.distributedrebirth.nx01.no2all.nostr.model.NoStrIdentity; +import love.distributedrebirth.nx01.no2all.nostr.model.NoStrIdentityPublicKey; +import love.distributedrebirth.nx01.no2all.nostr.model.NoStrProfileMetaData; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEvent; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagP; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventKind; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTag; public final class NoStrFireWaterBoiler { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/fire/NoStrFireWaterWelder.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/fire/NoStrFireWaterWelder.java similarity index 66% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/fire/NoStrFireWaterWelder.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/fire/NoStrFireWaterWelder.java index 72b5362..f01508d 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/fire/NoStrFireWaterWelder.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/fire/NoStrFireWaterWelder.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.fire; +package love.distributedrebirth.nx01.no2all.nostr.fire; import java.time.Instant; import java.util.ArrayList; @@ -6,16 +6,16 @@ import java.util.List; import java.util.Objects; import java.util.Optional; -import love.distributedrebirth.no2all.nostr.model.NoStrIdentity; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEvent; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventKind; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventPayload; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventSignature; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventTag; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventTagMeta; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagClient; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventKind; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTag; +import love.distributedrebirth.nx01.no2all.nostr.model.NoStrIdentity; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEvent; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventKind; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventPayload; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventSignature; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventTag; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventTagMeta; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagClient; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventKind; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTag; public class NoStrFireWaterWelder { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrIdentity.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrIdentity.java similarity index 89% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrIdentity.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrIdentity.java index d3427b4..bb172df 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrIdentity.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrIdentity.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.model; +package love.distributedrebirth.nx01.no2all.nostr.model; import java.util.Objects; diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrIdentityPrivateKey.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrIdentityPrivateKey.java similarity index 68% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrIdentityPrivateKey.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrIdentityPrivateKey.java index 91072bc..1dbe417 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrIdentityPrivateKey.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrIdentityPrivateKey.java @@ -1,10 +1,10 @@ -package love.distributedrebirth.no2all.nostr.model; +package love.distributedrebirth.nx01.no2all.nostr.model; import org.x4o.xml.o4o.octo.OctoBitFormat; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplBinHexAdapter; -import love.distributedrebirth.no2all.nostr.trust.OctoTrust; -import love.distributedrebirth.no2all.nostr.trust.OctoTrustException; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplBinHexAdapter; +import love.distributedrebirth.nx01.no2all.nostr.trust.OctoTrust; +import love.distributedrebirth.nx01.no2all.nostr.trust.OctoTrustException; public final class NoStrIdentityPrivateKey extends NoStrImplBinHexAdapter { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrIdentityPublicKey.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrIdentityPublicKey.java similarity index 64% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrIdentityPublicKey.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrIdentityPublicKey.java index 06b7118..51181a2 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrIdentityPublicKey.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrIdentityPublicKey.java @@ -1,11 +1,11 @@ -package love.distributedrebirth.no2all.nostr.model; +package love.distributedrebirth.nx01.no2all.nostr.model; import org.x4o.xml.o4o.octo.OctoBitFormat; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplBinHexAdapter; -import love.distributedrebirth.no2all.nostr.trust.OctoTrust; -import love.distributedrebirth.no2all.nostr.trust.OctoTrustException; -import love.distributedrebirth.no2all.nostr.trust.OctoTrustSchnorr; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplBinHexAdapter; +import love.distributedrebirth.nx01.no2all.nostr.trust.OctoTrust; +import love.distributedrebirth.nx01.no2all.nostr.trust.OctoTrustException; +import love.distributedrebirth.nx01.no2all.nostr.trust.OctoTrustSchnorr; public final class NoStrIdentityPublicKey extends NoStrImplBinHexAdapter { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrKindValue.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrKindValue.java similarity index 90% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrKindValue.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrKindValue.java index 4ccd3fd..bb0afdb 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrKindValue.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrKindValue.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.model; +package love.distributedrebirth.nx01.no2all.nostr.model; import java.util.List; @@ -7,8 +7,8 @@ import jakarta.json.JsonArray; import jakarta.json.JsonObject; import jakarta.json.JsonObjectBuilder; import jakarta.json.JsonValue; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplChuch; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplQName; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplChuch; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplQName; public final class NoStrKindValue { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrProfileMetaData.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrProfileMetaData.java similarity index 92% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrProfileMetaData.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrProfileMetaData.java index 4a80de1..c25ede7 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrProfileMetaData.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrProfileMetaData.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.model; +package love.distributedrebirth.nx01.no2all.nostr.model; import java.util.HashMap; import java.util.Map; @@ -7,8 +7,8 @@ import jakarta.json.Json; import jakarta.json.JsonObject; import jakarta.json.JsonString; import jakarta.json.JsonValue; -import love.distributedrebirth.no2all.nostr.NoStrGospel; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplQName; +import love.distributedrebirth.nx01.no2all.nostr.NoStrGospel; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplQName; public final class NoStrProfileMetaData implements NoStrGospel { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrRelayInfo.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrRelayInfo.java similarity index 96% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrRelayInfo.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrRelayInfo.java index cfd7b38..72200af 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrRelayInfo.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrRelayInfo.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.model; +package love.distributedrebirth.nx01.no2all.nostr.model; import java.util.ArrayList; import java.util.List; @@ -8,9 +8,9 @@ import jakarta.json.JsonArray; import jakarta.json.JsonObject; import jakarta.json.JsonObjectBuilder; import jakarta.json.JsonValue; -import love.distributedrebirth.no2all.nostr.NoStrGospel; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplChuch; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplQName; +import love.distributedrebirth.nx01.no2all.nostr.NoStrGospel; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplChuch; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplQName; public final class NoStrRelayInfo implements NoStrGospel { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrRelayInfoLimitation.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrRelayInfoLimitation.java similarity index 94% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrRelayInfoLimitation.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrRelayInfoLimitation.java index 5d8c5d3..ff0f6cb 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrRelayInfoLimitation.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrRelayInfoLimitation.java @@ -1,12 +1,12 @@ -package love.distributedrebirth.no2all.nostr.model; +package love.distributedrebirth.nx01.no2all.nostr.model; import jakarta.json.Json; import jakarta.json.JsonObject; import jakarta.json.JsonObjectBuilder; import jakarta.json.JsonValue; -import love.distributedrebirth.no2all.nostr.NoStrGospel; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplChuch; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplQName; +import love.distributedrebirth.nx01.no2all.nostr.NoStrGospel; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplChuch; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplQName; public final class NoStrRelayInfoLimitation implements NoStrGospel { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrRelayInfoPayment.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrRelayInfoPayment.java similarity index 85% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrRelayInfoPayment.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrRelayInfoPayment.java index cd8f10a..bd20b03 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrRelayInfoPayment.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrRelayInfoPayment.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.model; +package love.distributedrebirth.nx01.no2all.nostr.model; import java.util.ArrayList; import java.util.List; @@ -7,9 +7,9 @@ import jakarta.json.Json; import jakarta.json.JsonObject; import jakarta.json.JsonObjectBuilder; import jakarta.json.JsonValue; -import love.distributedrebirth.no2all.nostr.NoStrGospel; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplChuch; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplQName; +import love.distributedrebirth.nx01.no2all.nostr.NoStrGospel; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplChuch; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplQName; public final class NoStrRelayInfoPayment implements NoStrGospel { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrRelayInfoRetention.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrRelayInfoRetention.java similarity index 85% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrRelayInfoRetention.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrRelayInfoRetention.java index ce9a16a..423db94 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrRelayInfoRetention.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrRelayInfoRetention.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.model; +package love.distributedrebirth.nx01.no2all.nostr.model; import java.util.ArrayList; import java.util.List; @@ -7,9 +7,9 @@ import jakarta.json.Json; import jakarta.json.JsonObject; import jakarta.json.JsonObjectBuilder; import jakarta.json.JsonValue; -import love.distributedrebirth.no2all.nostr.NoStrGospel; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplChuch; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplQName; +import love.distributedrebirth.nx01.no2all.nostr.NoStrGospel; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplChuch; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplQName; public final class NoStrRelayInfoRetention implements NoStrGospel { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrSubscriptionFilter.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrSubscriptionFilter.java similarity index 91% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrSubscriptionFilter.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrSubscriptionFilter.java index d6c4ce9..38749f2 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrSubscriptionFilter.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrSubscriptionFilter.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.model; +package love.distributedrebirth.nx01.no2all.nostr.model; import java.util.ArrayList; import java.util.HashMap; @@ -12,10 +12,10 @@ import jakarta.json.JsonObject; import jakarta.json.JsonObjectBuilder; import jakarta.json.JsonString; import jakarta.json.JsonValue; -import love.distributedrebirth.no2all.nostr.NoStrGospel; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventTagMeta; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplChuch; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplQName; +import love.distributedrebirth.nx01.no2all.nostr.NoStrGospel; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventTagMeta; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplChuch; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplQName; public final class NoStrSubscriptionFilter implements NoStrGospel { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrSubscriptionFilterTag.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrSubscriptionFilterTag.java similarity index 77% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrSubscriptionFilterTag.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrSubscriptionFilterTag.java index ce482e9..4664d80 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/NoStrSubscriptionFilterTag.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrSubscriptionFilterTag.java @@ -1,9 +1,9 @@ -package love.distributedrebirth.no2all.nostr.model; +package love.distributedrebirth.nx01.no2all.nostr.model; import java.util.ArrayList; import java.util.List; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventTagMeta; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventTagMeta; public final class NoStrSubscriptionFilterTag { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEvent.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEvent.java similarity index 91% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEvent.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEvent.java index d5371fe..2d58ce0 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEvent.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEvent.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.model.event; +package love.distributedrebirth.nx01.no2all.nostr.model.event; import java.time.Instant; import java.util.ArrayList; @@ -11,9 +11,9 @@ import jakarta.json.JsonArray; import jakarta.json.JsonObject; import jakarta.json.JsonString; import jakarta.json.JsonValue; -import love.distributedrebirth.no2all.nostr.NoStrGospel; -import love.distributedrebirth.no2all.nostr.model.NoStrIdentityPublicKey; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplQName; +import love.distributedrebirth.nx01.no2all.nostr.NoStrGospel; +import love.distributedrebirth.nx01.no2all.nostr.model.NoStrIdentityPublicKey; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplQName; public final class NoStrEvent implements NoStrGospel { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventId.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventId.java similarity index 68% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventId.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventId.java index 830aab7..693a200 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventId.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventId.java @@ -1,8 +1,8 @@ -package love.distributedrebirth.no2all.nostr.model.event; +package love.distributedrebirth.nx01.no2all.nostr.model.event; import org.x4o.xml.o4o.octo.OctoBitFormat; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplBinHexAdapter; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplBinHexAdapter; public final class NoStrEventId extends NoStrImplBinHexAdapter { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventKind.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventKind.java similarity index 56% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventKind.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventKind.java index e7bd9a5..5795c49 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventKind.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventKind.java @@ -1,8 +1,8 @@ -package love.distributedrebirth.no2all.nostr.model.event; +package love.distributedrebirth.nx01.no2all.nostr.model.event; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventKind; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplPossibility; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplQFlag; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventKind; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplPossibility; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplQFlag; public interface NoStrEventKind extends NoStrImplQFlag { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventKindCustom.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventKindCustom.java similarity index 62% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventKindCustom.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventKindCustom.java index ffee227..d7eac12 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventKindCustom.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventKindCustom.java @@ -1,9 +1,9 @@ -package love.distributedrebirth.no2all.nostr.model.event; +package love.distributedrebirth.nx01.no2all.nostr.model.event; -import love.distributedrebirth.no2all.nostr.nip.NoStrImpl; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventKindRange; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplPossibility; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplQFlag; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImpl; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventKindRange; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplPossibility; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplQFlag; public final class NoStrEventKindCustom implements NoStrEventKind { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventKindRange.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventKindRange.java similarity index 53% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventKindRange.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventKindRange.java index ae4a68b..be29ade 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventKindRange.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventKindRange.java @@ -1,6 +1,6 @@ -package love.distributedrebirth.no2all.nostr.model.event; +package love.distributedrebirth.nx01.no2all.nostr.model.event; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplQFlag; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplQFlag; public interface NoStrEventKindRange extends NoStrImplQFlag { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventPayload.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventPayload.java similarity index 93% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventPayload.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventPayload.java index 4fd0b7b..06a0d18 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventPayload.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventPayload.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.model.event; +package love.distributedrebirth.nx01.no2all.nostr.model.event; import java.time.Instant; import java.util.ArrayList; @@ -6,7 +6,7 @@ import java.util.List; import java.util.Objects; import java.util.Optional; -import love.distributedrebirth.no2all.nostr.model.NoStrIdentityPublicKey; +import love.distributedrebirth.nx01.no2all.nostr.model.NoStrIdentityPublicKey; public final class NoStrEventPayload { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventSignature.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventSignature.java similarity index 83% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventSignature.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventSignature.java index 16ec528..c8ca693 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventSignature.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventSignature.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.model.event; +package love.distributedrebirth.nx01.no2all.nostr.model.event; import java.io.StringWriter; import java.nio.charset.StandardCharsets; @@ -8,11 +8,11 @@ import org.x4o.xml.o4o.octo.OctoBitFormat; import jakarta.json.Json; import jakarta.json.JsonArray; import jakarta.json.JsonWriter; -import love.distributedrebirth.no2all.nostr.model.NoStrIdentityPrivateKey; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplBinHexAdapter; -import love.distributedrebirth.no2all.nostr.trust.OctoTrust; -import love.distributedrebirth.no2all.nostr.trust.OctoTrustHash; -import love.distributedrebirth.no2all.nostr.trust.OctoTrustSchnorr; +import love.distributedrebirth.nx01.no2all.nostr.model.NoStrIdentityPrivateKey; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplBinHexAdapter; +import love.distributedrebirth.nx01.no2all.nostr.trust.OctoTrust; +import love.distributedrebirth.nx01.no2all.nostr.trust.OctoTrustHash; +import love.distributedrebirth.nx01.no2all.nostr.trust.OctoTrustSchnorr; public final class NoStrEventSignature extends NoStrImplBinHexAdapter { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventTag.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventTag.java similarity index 87% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventTag.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventTag.java index 6812ce2..fe51c0b 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventTag.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventTag.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.model.event; +package love.distributedrebirth.nx01.no2all.nostr.model.event; import java.util.ArrayList; import java.util.List; @@ -9,9 +9,9 @@ import java.util.stream.Collectors; import jakarta.json.Json; import jakarta.json.JsonArray; import jakarta.json.JsonValue; -import love.distributedrebirth.no2all.nostr.NoStrGospel; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTag; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTagArgument; +import love.distributedrebirth.nx01.no2all.nostr.NoStrGospel; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTag; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTagArgument; public interface NoStrEventTag extends NoStrGospel { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventTagBase.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventTagBase.java similarity index 87% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventTagBase.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventTagBase.java index 96affb9..65b848d 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventTagBase.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventTagBase.java @@ -1,10 +1,10 @@ -package love.distributedrebirth.no2all.nostr.model.event; +package love.distributedrebirth.nx01.no2all.nostr.model.event; import java.util.Objects; import java.util.Optional; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTagArgument; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplQName; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTagArgument; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplQName; public class NoStrEventTagBase implements NoStrEventTag { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventTagBaseMono.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventTagBaseMono.java similarity index 88% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventTagBaseMono.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventTagBaseMono.java index 1fae047..a1eaabf 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventTagBaseMono.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventTagBaseMono.java @@ -1,9 +1,9 @@ -package love.distributedrebirth.no2all.nostr.model.event; +package love.distributedrebirth.nx01.no2all.nostr.model.event; import java.util.Objects; import java.util.Optional; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplQName; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplQName; public class NoStrEventTagBaseMono implements NoStrEventTag { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventTagCustom.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventTagCustom.java similarity index 88% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventTagCustom.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventTagCustom.java index f0f7f13..0f6a857 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventTagCustom.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventTagCustom.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.model.event; +package love.distributedrebirth.nx01.no2all.nostr.model.event; import java.util.Objects; diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventTagMeta.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventTagMeta.java similarity index 52% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventTagMeta.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventTagMeta.java index 75058a5..f5545a4 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventTagMeta.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventTagMeta.java @@ -1,9 +1,9 @@ -package love.distributedrebirth.no2all.nostr.model.event; +package love.distributedrebirth.nx01.no2all.nostr.model.event; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTag; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplPossibility; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplQFlag; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplQName; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTag; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplPossibility; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplQFlag; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplQName; public interface NoStrEventTagMeta extends NoStrImplQName, NoStrImplQFlag { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventTagMetaCustom.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventTagMetaCustom.java similarity index 69% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventTagMetaCustom.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventTagMetaCustom.java index f94eb2a..a409917 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventTagMetaCustom.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventTagMetaCustom.java @@ -1,11 +1,11 @@ -package love.distributedrebirth.no2all.nostr.model.event; +package love.distributedrebirth.nx01.no2all.nostr.model.event; import java.util.Objects; -import love.distributedrebirth.no2all.nostr.nip.NoStrImpl; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTag; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplPossibility; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplQFlag; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImpl; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTag; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplPossibility; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplQFlag; public class NoStrEventTagMetaCustom implements NoStrEventTagMeta { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToClient.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToClient.java new file mode 100644 index 0000000..6bbd749 --- /dev/null +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToClient.java @@ -0,0 +1,7 @@ +package love.distributedrebirth.nx01.no2all.nostr.model.message; + +import love.distributedrebirth.nx01.no2all.nostr.NoStrGospel; + +public interface NoStrMsgToClient extends NoStrGospel { + // marker +} diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToClientAuth.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToClientAuth.java similarity index 83% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToClientAuth.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToClientAuth.java index da1bccd..1bbe48a 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToClientAuth.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToClientAuth.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.model.message; +package love.distributedrebirth.nx01.no2all.nostr.model.message; import java.util.Objects; @@ -6,7 +6,7 @@ import jakarta.json.Json; import jakarta.json.JsonArray; import jakarta.json.JsonString; import jakarta.json.JsonValue; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplMessageType; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplMessageType; public final class NoStrMsgToClientAuth implements NoStrMsgToClient { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToClientCount.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToClientCount.java similarity index 87% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToClientCount.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToClientCount.java index a4ef1ca..18d7e44 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToClientCount.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToClientCount.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.model.message; +package love.distributedrebirth.nx01.no2all.nostr.model.message; import java.util.Objects; @@ -6,7 +6,7 @@ import jakarta.json.Json; import jakarta.json.JsonArray; import jakarta.json.JsonString; import jakarta.json.JsonValue; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplMessageType; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplMessageType; public final class NoStrMsgToClientCount implements NoStrMsgToClient { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToClientEose.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToClientEose.java similarity index 83% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToClientEose.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToClientEose.java index 1aa80d0..bd1d579 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToClientEose.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToClientEose.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.model.message; +package love.distributedrebirth.nx01.no2all.nostr.model.message; import java.util.Objects; @@ -6,7 +6,7 @@ import jakarta.json.Json; import jakarta.json.JsonArray; import jakarta.json.JsonString; import jakarta.json.JsonValue; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplMessageType; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplMessageType; public final class NoStrMsgToClientEose implements NoStrMsgToClient { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToClientEvent.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToClientEvent.java similarity index 81% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToClientEvent.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToClientEvent.java index 571f94c..1164414 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToClientEvent.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToClientEvent.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.model.message; +package love.distributedrebirth.nx01.no2all.nostr.model.message; import java.util.Objects; @@ -6,8 +6,8 @@ import jakarta.json.Json; import jakarta.json.JsonArray; import jakarta.json.JsonString; import jakarta.json.JsonValue; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEvent; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplMessageType; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEvent; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplMessageType; public final class NoStrMsgToClientEvent implements NoStrMsgToClient { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToClientNotice.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToClientNotice.java similarity index 82% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToClientNotice.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToClientNotice.java index a23dc5e..a83546d 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToClientNotice.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToClientNotice.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.model.message; +package love.distributedrebirth.nx01.no2all.nostr.model.message; import java.util.Objects; @@ -6,7 +6,7 @@ import jakarta.json.Json; import jakarta.json.JsonArray; import jakarta.json.JsonString; import jakarta.json.JsonValue; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplMessageType; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplMessageType; public final class NoStrMsgToClientNotice implements NoStrMsgToClient { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToClientOk.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToClientOk.java similarity index 84% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToClientOk.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToClientOk.java index 1dfe7d2..965e1eb 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToClientOk.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToClientOk.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.model.message; +package love.distributedrebirth.nx01.no2all.nostr.model.message; import java.util.Objects; @@ -6,9 +6,9 @@ import jakarta.json.Json; import jakarta.json.JsonArray; import jakarta.json.JsonString; import jakarta.json.JsonValue; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventId; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplMessageOkReason; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplMessageType; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventId; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplMessageOkReason; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplMessageType; public final class NoStrMsgToClientOk implements NoStrMsgToClient { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToRelay.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToRelay.java new file mode 100644 index 0000000..9a2ccd7 --- /dev/null +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToRelay.java @@ -0,0 +1,7 @@ +package love.distributedrebirth.nx01.no2all.nostr.model.message; + +import love.distributedrebirth.nx01.no2all.nostr.NoStrGospel; + +public interface NoStrMsgToRelay extends NoStrGospel { + // marker +} diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToRelayAuth.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToRelayAuth.java similarity index 75% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToRelayAuth.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToRelayAuth.java index dfdd981..c6f1a5b 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToRelayAuth.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToRelayAuth.java @@ -1,12 +1,12 @@ -package love.distributedrebirth.no2all.nostr.model.message; +package love.distributedrebirth.nx01.no2all.nostr.model.message; import java.util.Objects; import jakarta.json.Json; import jakarta.json.JsonArray; import jakarta.json.JsonValue; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEvent; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplMessageType; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEvent; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplMessageType; public final class NoStrMsgToRelayAuth implements NoStrMsgToRelay { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToRelayClose.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToRelayClose.java similarity index 83% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToRelayClose.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToRelayClose.java index dc6d1e7..ae76251 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToRelayClose.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToRelayClose.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.model.message; +package love.distributedrebirth.nx01.no2all.nostr.model.message; import java.util.Objects; @@ -6,7 +6,7 @@ import jakarta.json.Json; import jakarta.json.JsonArray; import jakarta.json.JsonString; import jakarta.json.JsonValue; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplMessageType; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplMessageType; public final class NoStrMsgToRelayClose implements NoStrMsgToRelay { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToRelayCount.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToRelayCount.java similarity index 85% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToRelayCount.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToRelayCount.java index 5ffba4a..7a4fd21 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToRelayCount.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToRelayCount.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.model.message; +package love.distributedrebirth.nx01.no2all.nostr.model.message; import java.util.ArrayList; import java.util.Arrays; @@ -10,8 +10,8 @@ import jakarta.json.Json; import jakarta.json.JsonArray; import jakarta.json.JsonString; import jakarta.json.JsonValue; -import love.distributedrebirth.no2all.nostr.model.NoStrSubscriptionFilter; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplMessageType; +import love.distributedrebirth.nx01.no2all.nostr.model.NoStrSubscriptionFilter; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplMessageType; public final class NoStrMsgToRelayCount implements NoStrMsgToRelay { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToRelayEvent.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToRelayEvent.java similarity index 75% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToRelayEvent.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToRelayEvent.java index fd5f026..44b32fe 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToRelayEvent.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToRelayEvent.java @@ -1,12 +1,12 @@ -package love.distributedrebirth.no2all.nostr.model.message; +package love.distributedrebirth.nx01.no2all.nostr.model.message; import java.util.Objects; import jakarta.json.Json; import jakarta.json.JsonArray; import jakarta.json.JsonValue; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEvent; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplMessageType; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEvent; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplMessageType; public final class NoStrMsgToRelayEvent implements NoStrMsgToRelay { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToRelayReq.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToRelayReq.java similarity index 85% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToRelayReq.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToRelayReq.java index a1d856d..5d92396 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/message/NoStrMsgToRelayReq.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/message/NoStrMsgToRelayReq.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.model.message; +package love.distributedrebirth.nx01.no2all.nostr.model.message; import java.util.ArrayList; import java.util.Arrays; @@ -10,8 +10,8 @@ import jakarta.json.Json; import jakarta.json.JsonArray; import jakarta.json.JsonString; import jakarta.json.JsonValue; -import love.distributedrebirth.no2all.nostr.model.NoStrSubscriptionFilter; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplMessageType; +import love.distributedrebirth.nx01.no2all.nostr.model.NoStrSubscriptionFilter; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplMessageType; public final class NoStrMsgToRelayReq implements NoStrMsgToRelay { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareB32LinkBare.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareB32LinkBare.java similarity index 71% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareB32LinkBare.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareB32LinkBare.java index 6e0ba40..b336950 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareB32LinkBare.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareB32LinkBare.java @@ -1,10 +1,10 @@ -package love.distributedrebirth.no2all.nostr.model.share; +package love.distributedrebirth.nx01.no2all.nostr.model.share; import java.util.Objects; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplShareLink; -import love.distributedrebirth.no2all.nostr.trust.OctoBech32; -import love.distributedrebirth.no2all.nostr.trust.OctoBech32String; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplShareLink; +import love.distributedrebirth.nx01.no2all.nostr.trust.OctoBech32; +import love.distributedrebirth.nx01.no2all.nostr.trust.OctoBech32String; public abstract class NoStrShareB32LinkBare implements NoStrShareLink { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareB32LinkTLV.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareB32LinkTLV.java similarity index 77% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareB32LinkTLV.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareB32LinkTLV.java index 8958f4a..4164696 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareB32LinkTLV.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareB32LinkTLV.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.model.share; +package love.distributedrebirth.nx01.no2all.nostr.model.share; import java.util.Optional; import java.util.function.Consumer; @@ -6,11 +6,11 @@ import java.util.function.Consumer; import org.x4o.xml.o4o.io.tlv.TLVChainOctoBit; import org.x4o.xml.o4o.octo.OctoBitFormat; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplShareLink; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplShareTLV; -import love.distributedrebirth.no2all.nostr.trust.OctoBech32; -import love.distributedrebirth.no2all.nostr.trust.OctoBech32Bucket; -import love.distributedrebirth.no2all.nostr.trust.OctoBech32String; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplShareLink; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplShareTLV; +import love.distributedrebirth.nx01.no2all.nostr.trust.OctoBech32; +import love.distributedrebirth.nx01.no2all.nostr.trust.OctoBech32Bucket; +import love.distributedrebirth.nx01.no2all.nostr.trust.OctoBech32String; public abstract class NoStrShareB32LinkTLV implements NoStrShareLink { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareBitChainTapeDeck.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareBitChainTapeDeck.java similarity index 89% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareBitChainTapeDeck.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareBitChainTapeDeck.java index 3faa2d2..3510900 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareBitChainTapeDeck.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareBitChainTapeDeck.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.model.share; +package love.distributedrebirth.nx01.no2all.nostr.model.share; import java.nio.ByteBuffer; import java.util.ArrayList; @@ -11,9 +11,9 @@ import org.x4o.xml.o4o.io.tlv.TLVChainOctoBitFrame; import org.x4o.xml.o4o.octo.OctoBitConverter; import org.x4o.xml.o4o.octo.OctoBitFormat; -import love.distributedrebirth.no2all.nostr.model.NoStrIdentityPublicKey; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventKind; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplShareTLV; +import love.distributedrebirth.nx01.no2all.nostr.model.NoStrIdentityPublicKey; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventKind; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplShareTLV; public class NoStrShareBitChainTapeDeck { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareBitChainTapeStudio.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareBitChainTapeStudio.java similarity index 86% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareBitChainTapeStudio.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareBitChainTapeStudio.java index b7b78fa..5869786 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareBitChainTapeStudio.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareBitChainTapeStudio.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.model.share; +package love.distributedrebirth.nx01.no2all.nostr.model.share; import java.util.List; import java.util.Objects; @@ -8,9 +8,9 @@ import org.x4o.xml.o4o.io.tlv.TLVChainOctoBit; import org.x4o.xml.o4o.octo.OctoBitConverter; import org.x4o.xml.o4o.octo.OctoBitFormat; -import love.distributedrebirth.no2all.nostr.model.NoStrIdentityPublicKey; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventKind; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplShareTLV; +import love.distributedrebirth.nx01.no2all.nostr.model.NoStrIdentityPublicKey; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventKind; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplShareTLV; public class NoStrShareBitChainTapeStudio extends NoStrShareBitChainTapeDeck { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLink.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLink.java new file mode 100644 index 0000000..ccea329 --- /dev/null +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLink.java @@ -0,0 +1,6 @@ +package love.distributedrebirth.nx01.no2all.nostr.model.share; + +public interface NoStrShareLink { + + String toShareLink(); +} diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkEvent.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkEvent.java similarity index 73% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkEvent.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkEvent.java index c71a20c..0554e95 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkEvent.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkEvent.java @@ -1,13 +1,13 @@ -package love.distributedrebirth.no2all.nostr.model.share; +package love.distributedrebirth.nx01.no2all.nostr.model.share; import java.util.List; import java.util.Optional; -import love.distributedrebirth.no2all.nostr.model.NoStrIdentityPublicKey; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventId; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventKind; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplShareLink; -import love.distributedrebirth.no2all.nostr.trust.OctoBech32String; +import love.distributedrebirth.nx01.no2all.nostr.model.NoStrIdentityPublicKey; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventId; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventKind; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplShareLink; +import love.distributedrebirth.nx01.no2all.nostr.trust.OctoBech32String; public final class NoStrShareLinkEvent extends NoStrShareB32LinkTLV { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkEventReference.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkEventReference.java similarity index 76% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkEventReference.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkEventReference.java index 381974e..fa35ce8 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkEventReference.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkEventReference.java @@ -1,14 +1,14 @@ -package love.distributedrebirth.no2all.nostr.model.share; +package love.distributedrebirth.nx01.no2all.nostr.model.share; import java.util.List; import java.util.Objects; import org.x4o.xml.o4o.octo.OctoBitFormat; -import love.distributedrebirth.no2all.nostr.model.NoStrIdentityPublicKey; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventKind; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplShareLink; -import love.distributedrebirth.no2all.nostr.trust.OctoBech32String; +import love.distributedrebirth.nx01.no2all.nostr.model.NoStrIdentityPublicKey; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventKind; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplShareLink; +import love.distributedrebirth.nx01.no2all.nostr.trust.OctoBech32String; public final class NoStrShareLinkEventReference extends NoStrShareB32LinkTLV { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkNote.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkNote.java similarity index 63% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkNote.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkNote.java index 74a6801..408ec3a 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkNote.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkNote.java @@ -1,8 +1,8 @@ -package love.distributedrebirth.no2all.nostr.model.share; +package love.distributedrebirth.nx01.no2all.nostr.model.share; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventId; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplShareLink; -import love.distributedrebirth.no2all.nostr.trust.OctoBech32String; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventId; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplShareLink; +import love.distributedrebirth.nx01.no2all.nostr.trust.OctoBech32String; public final class NoStrShareLinkNote extends NoStrShareB32LinkBare { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkPrivateKey.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkPrivateKey.java similarity index 66% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkPrivateKey.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkPrivateKey.java index 94afa49..68bdd61 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkPrivateKey.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkPrivateKey.java @@ -1,8 +1,8 @@ -package love.distributedrebirth.no2all.nostr.model.share; +package love.distributedrebirth.nx01.no2all.nostr.model.share; -import love.distributedrebirth.no2all.nostr.model.NoStrIdentityPrivateKey; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplShareLink; -import love.distributedrebirth.no2all.nostr.trust.OctoBech32String; +import love.distributedrebirth.nx01.no2all.nostr.model.NoStrIdentityPrivateKey; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplShareLink; +import love.distributedrebirth.nx01.no2all.nostr.trust.OctoBech32String; public final class NoStrShareLinkPrivateKey extends NoStrShareB32LinkBare { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkPrivateKeySecure.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkPrivateKeySecure.java similarity index 84% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkPrivateKeySecure.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkPrivateKeySecure.java index 19012d5..08562e3 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkPrivateKeySecure.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkPrivateKeySecure.java @@ -1,8 +1,8 @@ -package love.distributedrebirth.no2all.nostr.model.share; +package love.distributedrebirth.nx01.no2all.nostr.model.share; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplShareLink; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplShareTLV; -import love.distributedrebirth.no2all.nostr.trust.OctoBech32String; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplShareLink; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplShareTLV; +import love.distributedrebirth.nx01.no2all.nostr.trust.OctoBech32String; public final class NoStrShareLinkPrivateKeySecure extends NoStrShareB32LinkTLV { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkProfile.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkProfile.java similarity index 72% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkProfile.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkProfile.java index 41078a1..11292fd 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkProfile.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkProfile.java @@ -1,10 +1,10 @@ -package love.distributedrebirth.no2all.nostr.model.share; +package love.distributedrebirth.nx01.no2all.nostr.model.share; import java.util.List; -import love.distributedrebirth.no2all.nostr.model.NoStrIdentityPublicKey; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplShareLink; -import love.distributedrebirth.no2all.nostr.trust.OctoBech32String; +import love.distributedrebirth.nx01.no2all.nostr.model.NoStrIdentityPublicKey; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplShareLink; +import love.distributedrebirth.nx01.no2all.nostr.trust.OctoBech32String; public final class NoStrShareLinkProfile extends NoStrShareB32LinkTLV { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkPublicKey.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkPublicKey.java similarity index 66% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkPublicKey.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkPublicKey.java index 450bcf2..8b2f7c6 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkPublicKey.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkPublicKey.java @@ -1,8 +1,8 @@ -package love.distributedrebirth.no2all.nostr.model.share; +package love.distributedrebirth.nx01.no2all.nostr.model.share; -import love.distributedrebirth.no2all.nostr.model.NoStrIdentityPublicKey; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplShareLink; -import love.distributedrebirth.no2all.nostr.trust.OctoBech32String; +import love.distributedrebirth.nx01.no2all.nostr.model.NoStrIdentityPublicKey; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplShareLink; +import love.distributedrebirth.nx01.no2all.nostr.trust.OctoBech32String; public final class NoStrShareLinkPublicKey extends NoStrShareB32LinkBare { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkRelay.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkRelay.java similarity index 74% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkRelay.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkRelay.java index f64a803..525773f 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkRelay.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkRelay.java @@ -1,9 +1,9 @@ -package love.distributedrebirth.no2all.nostr.model.share; +package love.distributedrebirth.nx01.no2all.nostr.model.share; import org.x4o.xml.o4o.octo.OctoBitFormat; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplShareLink; -import love.distributedrebirth.no2all.nostr.trust.OctoBech32String; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplShareLink; +import love.distributedrebirth.nx01.no2all.nostr.trust.OctoBech32String; public final class NoStrShareLinkRelay extends NoStrShareB32LinkTLV { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagA.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagA.java similarity index 79% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagA.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagA.java index b0373b1..d489ecc 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagA.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagA.java @@ -1,14 +1,14 @@ -package love.distributedrebirth.no2all.nostr.model.tag; +package love.distributedrebirth.nx01.no2all.nostr.model.tag; import java.util.Optional; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackFishWelder; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackWelder; -import love.distributedrebirth.no2all.nostr.model.NoStrIdentityPublicKey; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventKind; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventTagBase; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTag; -import love.distributedrebirth.no2all.nostr.nip.tag.NoStrImplTagA; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackFishWelder; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackWelder; +import love.distributedrebirth.nx01.no2all.nostr.model.NoStrIdentityPublicKey; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventKind; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventTagBase; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTag; +import love.distributedrebirth.nx01.no2all.nostr.nip.tag.NoStrImplTagA; public final class NoStrTagA extends NoStrEventTagBase { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagAlt.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagAlt.java similarity index 58% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagAlt.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagAlt.java index e62c637..540b5c5 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagAlt.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagAlt.java @@ -1,9 +1,9 @@ -package love.distributedrebirth.no2all.nostr.model.tag; +package love.distributedrebirth.nx01.no2all.nostr.model.tag; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackFishWelder; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackWelder; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventTagBaseMono; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTag; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackFishWelder; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackWelder; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventTagBaseMono; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTag; public final class NoStrTagAlt extends NoStrEventTagBaseMono { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagClient.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagClient.java similarity index 71% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagClient.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagClient.java index 7cf3201..3c93b70 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagClient.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagClient.java @@ -1,12 +1,12 @@ -package love.distributedrebirth.no2all.nostr.model.tag; +package love.distributedrebirth.nx01.no2all.nostr.model.tag; import java.util.Optional; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackFishWelder; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackWelder; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventTagBase; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTag; -import love.distributedrebirth.no2all.nostr.nip.tag.NoStrImplTagClient; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackFishWelder; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackWelder; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventTagBase; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTag; +import love.distributedrebirth.nx01.no2all.nostr.nip.tag.NoStrImplTagClient; public final class NoStrTagClient extends NoStrEventTagBase { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagContentWarning.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagContentWarning.java similarity index 74% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagContentWarning.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagContentWarning.java index 9c273ff..b79114d 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagContentWarning.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagContentWarning.java @@ -1,13 +1,13 @@ -package love.distributedrebirth.no2all.nostr.model.tag; +package love.distributedrebirth.nx01.no2all.nostr.model.tag; import java.util.Optional; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackFishWelder; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackWelder; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventTagBase; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTag; -import love.distributedrebirth.no2all.nostr.nip.tag.NoStrImplTagContentWarning; -import love.distributedrebirth.no2all.nostr.nip.tag.NoStrImplTagContentWarningRGroup; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackFishWelder; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackWelder; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventTagBase; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTag; +import love.distributedrebirth.nx01.no2all.nostr.nip.tag.NoStrImplTagContentWarning; +import love.distributedrebirth.nx01.no2all.nostr.nip.tag.NoStrImplTagContentWarningRGroup; public final class NoStrTagContentWarning extends NoStrEventTagBase { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagD.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagD.java similarity index 56% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagD.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagD.java index a50dd5f..a40f94d 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagD.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagD.java @@ -1,9 +1,9 @@ -package love.distributedrebirth.no2all.nostr.model.tag; +package love.distributedrebirth.nx01.no2all.nostr.model.tag; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackFishWelder; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackWelder; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventTagBaseMono; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTag; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackFishWelder; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackWelder; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventTagBaseMono; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTag; public final class NoStrTagD extends NoStrEventTagBaseMono { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagDescription.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagDescription.java similarity index 60% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagDescription.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagDescription.java index 32d9653..4867cd0 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagDescription.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagDescription.java @@ -1,9 +1,9 @@ -package love.distributedrebirth.no2all.nostr.model.tag; +package love.distributedrebirth.nx01.no2all.nostr.model.tag; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackFishWelder; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackWelder; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventTagBaseMono; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTag; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackFishWelder; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackWelder; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventTagBaseMono; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTag; public final class NoStrTagDescription extends NoStrEventTagBaseMono { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagE.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagE.java similarity index 73% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagE.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagE.java index a890a9c..086ee6e 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagE.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagE.java @@ -1,14 +1,14 @@ -package love.distributedrebirth.no2all.nostr.model.tag; +package love.distributedrebirth.nx01.no2all.nostr.model.tag; import java.util.Optional; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackFishWelder; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackWelder; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventId; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventTagBase; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTag; -import love.distributedrebirth.no2all.nostr.nip.tag.NoStrImplTagE; -import love.distributedrebirth.no2all.nostr.nip.tag.NoStrImplTagEMarker; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackFishWelder; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackWelder; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventId; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventTagBase; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTag; +import love.distributedrebirth.nx01.no2all.nostr.nip.tag.NoStrImplTagE; +import love.distributedrebirth.nx01.no2all.nostr.nip.tag.NoStrImplTagEMarker; public final class NoStrTagE extends NoStrEventTagBase { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagI.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagI.java similarity index 70% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagI.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagI.java index 5d6ece0..6be99b2 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagI.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagI.java @@ -1,13 +1,13 @@ -package love.distributedrebirth.no2all.nostr.model.tag; +package love.distributedrebirth.nx01.no2all.nostr.model.tag; import java.util.Optional; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackFishWelder; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackWelder; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventTagBase; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTag; -import love.distributedrebirth.no2all.nostr.nip.tag.NoStrImplTagI; -import love.distributedrebirth.no2all.nostr.nip.tag.NoStrImplTagIClaim; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackFishWelder; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackWelder; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventTagBase; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTag; +import love.distributedrebirth.nx01.no2all.nostr.nip.tag.NoStrImplTagI; +import love.distributedrebirth.nx01.no2all.nostr.nip.tag.NoStrImplTagIClaim; public final class NoStrTagI extends NoStrEventTagBase { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagImage.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagImage.java similarity index 76% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagImage.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagImage.java index 6a60579..842c979 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagImage.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagImage.java @@ -1,12 +1,12 @@ -package love.distributedrebirth.no2all.nostr.model.tag; +package love.distributedrebirth.nx01.no2all.nostr.model.tag; import java.util.Optional; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackFishWelder; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackWelder; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventTagBase; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTag; -import love.distributedrebirth.no2all.nostr.nip.tag.NoStrImplTagImage; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackFishWelder; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackWelder; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventTagBase; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTag; +import love.distributedrebirth.nx01.no2all.nostr.nip.tag.NoStrImplTagImage; public final class NoStrTagImage extends NoStrEventTagBase { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagName.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagName.java similarity index 56% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagName.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagName.java index da58f7c..64aa9a7 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagName.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagName.java @@ -1,9 +1,9 @@ -package love.distributedrebirth.no2all.nostr.model.tag; +package love.distributedrebirth.nx01.no2all.nostr.model.tag; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackFishWelder; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackWelder; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventTagBaseMono; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTag; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackFishWelder; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackWelder; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventTagBaseMono; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTag; public final class NoStrTagName extends NoStrEventTagBaseMono { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagNonce.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagNonce.java similarity index 68% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagNonce.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagNonce.java index 10eb592..9597acf 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagNonce.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagNonce.java @@ -1,10 +1,10 @@ -package love.distributedrebirth.no2all.nostr.model.tag; +package love.distributedrebirth.nx01.no2all.nostr.model.tag; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackFishWelder; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackWelder; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventTagBase; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTag; -import love.distributedrebirth.no2all.nostr.nip.tag.NoStrImplTagNonce; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackFishWelder; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackWelder; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventTagBase; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTag; +import love.distributedrebirth.nx01.no2all.nostr.nip.tag.NoStrImplTagNonce; public final class NoStrTagNonce extends NoStrEventTagBase { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagP.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagP.java similarity index 75% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagP.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagP.java index 228a7e9..56112c4 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagP.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagP.java @@ -1,13 +1,13 @@ -package love.distributedrebirth.no2all.nostr.model.tag; +package love.distributedrebirth.nx01.no2all.nostr.model.tag; import java.util.Optional; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackFishWelder; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackWelder; -import love.distributedrebirth.no2all.nostr.model.NoStrIdentityPublicKey; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventTagBase; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTag; -import love.distributedrebirth.no2all.nostr.nip.tag.NoStrImplTagP; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackFishWelder; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackWelder; +import love.distributedrebirth.nx01.no2all.nostr.model.NoStrIdentityPublicKey; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventTagBase; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTag; +import love.distributedrebirth.nx01.no2all.nostr.nip.tag.NoStrImplTagP; public final class NoStrTagP extends NoStrEventTagBase { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagPublishedAt.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagPublishedAt.java similarity index 67% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagPublishedAt.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagPublishedAt.java index 9d3dc14..520d9f6 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagPublishedAt.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagPublishedAt.java @@ -1,11 +1,11 @@ -package love.distributedrebirth.no2all.nostr.model.tag; +package love.distributedrebirth.nx01.no2all.nostr.model.tag; import java.time.Instant; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackFishWelder; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackWelder; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventTagBaseMono; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTag; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackFishWelder; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackWelder; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventTagBaseMono; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTag; public final class NoStrTagPublishedAt extends NoStrEventTagBaseMono { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagR.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagR.java similarity index 56% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagR.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagR.java index 8871fed..13f985e 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagR.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagR.java @@ -1,9 +1,9 @@ -package love.distributedrebirth.no2all.nostr.model.tag; +package love.distributedrebirth.nx01.no2all.nostr.model.tag; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackFishWelder; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackWelder; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventTagBaseMono; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTag; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackFishWelder; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackWelder; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventTagBaseMono; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTag; public final class NoStrTagR extends NoStrEventTagBaseMono { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagSubject.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagSubject.java similarity index 70% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagSubject.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagSubject.java index 20345b6..a7edb50 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagSubject.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagSubject.java @@ -1,10 +1,10 @@ -package love.distributedrebirth.no2all.nostr.model.tag; +package love.distributedrebirth.nx01.no2all.nostr.model.tag; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackFishWelder; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackWelder; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventTagBase; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTag; -import love.distributedrebirth.no2all.nostr.nip.tag.NoStrImplTagSubject; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackFishWelder; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackWelder; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventTagBase; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTag; +import love.distributedrebirth.nx01.no2all.nostr.nip.tag.NoStrImplTagSubject; public final class NoStrTagSubject extends NoStrEventTagBase { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagSummary.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagSummary.java similarity index 58% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagSummary.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagSummary.java index 239956e..1b1ab3b 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagSummary.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagSummary.java @@ -1,9 +1,9 @@ -package love.distributedrebirth.no2all.nostr.model.tag; +package love.distributedrebirth.nx01.no2all.nostr.model.tag; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackFishWelder; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackWelder; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventTagBaseMono; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTag; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackFishWelder; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackWelder; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventTagBaseMono; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTag; public final class NoStrTagSummary extends NoStrEventTagBaseMono { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagT.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagT.java similarity index 56% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagT.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagT.java index 2290b01..6bccacf 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagT.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagT.java @@ -1,9 +1,9 @@ -package love.distributedrebirth.no2all.nostr.model.tag; +package love.distributedrebirth.nx01.no2all.nostr.model.tag; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackFishWelder; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackWelder; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventTagBaseMono; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTag; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackFishWelder; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackWelder; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventTagBaseMono; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTag; public final class NoStrTagT extends NoStrEventTagBaseMono { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagThumb.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagThumb.java similarity index 76% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagThumb.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagThumb.java index dfbb429..56aed16 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagThumb.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagThumb.java @@ -1,12 +1,12 @@ -package love.distributedrebirth.no2all.nostr.model.tag; +package love.distributedrebirth.nx01.no2all.nostr.model.tag; import java.util.Optional; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackFishWelder; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackWelder; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventTagBase; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTag; -import love.distributedrebirth.no2all.nostr.nip.tag.NoStrImplTagThumb; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackFishWelder; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackWelder; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventTagBase; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTag; +import love.distributedrebirth.nx01.no2all.nostr.nip.tag.NoStrImplTagThumb; public final class NoStrTagThumb extends NoStrEventTagBase { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagTitle.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagTitle.java similarity index 60% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagTitle.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagTitle.java index eb24e2a..62b5113 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagTitle.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagTitle.java @@ -1,10 +1,10 @@ -package love.distributedrebirth.no2all.nostr.model.tag; +package love.distributedrebirth.nx01.no2all.nostr.model.tag; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackFishWelder; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireStackWelder; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventTagBase; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTag; -import love.distributedrebirth.no2all.nostr.nip.tag.NoStrImplTagTitle; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackFishWelder; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireStackWelder; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventTagBase; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTag; +import love.distributedrebirth.nx01.no2all.nostr.nip.tag.NoStrImplTagTitle; public final class NoStrTagTitle extends NoStrEventTagBase { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImpl.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImpl.java similarity index 97% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImpl.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImpl.java index e4f0e9e..7e95f25 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImpl.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImpl.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.nip; +package love.distributedrebirth.nx01.no2all.nostr.nip; import java.util.Arrays; import java.util.Collections; diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplBinHex.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplBinHex.java similarity index 65% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplBinHex.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplBinHex.java index 1ba9f01..e5fa21b 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplBinHex.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplBinHex.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.nip; +package love.distributedrebirth.nx01.no2all.nostr.nip; public interface NoStrImplBinHex { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplBinHexAdapter.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplBinHexAdapter.java similarity index 92% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplBinHexAdapter.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplBinHexAdapter.java index e4296c6..d5ae4d5 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplBinHexAdapter.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplBinHexAdapter.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.nip; +package love.distributedrebirth.nx01.no2all.nostr.nip; import java.util.Objects; diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplChuch.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplChuch.java similarity index 97% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplChuch.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplChuch.java index cda7a43..c347d50 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplChuch.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplChuch.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.nip; +package love.distributedrebirth.nx01.no2all.nostr.nip; import java.util.List; import java.util.function.BiConsumer; @@ -11,7 +11,7 @@ import jakarta.json.JsonObject; import jakarta.json.JsonObjectBuilder; import jakarta.json.JsonString; import jakarta.json.JsonValue; -import love.distributedrebirth.no2all.nostr.NoStrGospel; +import love.distributedrebirth.nx01.no2all.nostr.NoStrGospel; public final class NoStrImplChuch { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplEventKind.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplEventKind.java similarity index 93% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplEventKind.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplEventKind.java index c28ede3..63666be 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplEventKind.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplEventKind.java @@ -1,12 +1,12 @@ -package love.distributedrebirth.no2all.nostr.nip; +package love.distributedrebirth.nx01.no2all.nostr.nip; import java.util.Arrays; import java.util.Collections; import java.util.Map; import java.util.stream.Collectors; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventKind; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventKindRange; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventKind; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventKindRange; public enum NoStrImplEventKind implements NoStrEventKind { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplEventKindRange.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplEventKindRange.java similarity index 89% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplEventKindRange.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplEventKindRange.java index 4d4092f..db54b71 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplEventKindRange.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplEventKindRange.java @@ -1,6 +1,6 @@ -package love.distributedrebirth.no2all.nostr.nip; +package love.distributedrebirth.nx01.no2all.nostr.nip; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventKindRange; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventKindRange; public enum NoStrImplEventKindRange implements NoStrEventKindRange { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplEventTag.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplEventTag.java similarity index 74% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplEventTag.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplEventTag.java index 2469f16..ad6f0dd 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplEventTag.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplEventTag.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.nip; +package love.distributedrebirth.nx01.no2all.nostr.nip; import java.util.Arrays; import java.util.Collections; @@ -8,26 +8,26 @@ import java.util.Optional; import java.util.function.Function; import java.util.stream.Collectors; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventTag; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventTagMeta; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagA; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagClient; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagContentWarning; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagD; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagDescription; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagE; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagI; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagImage; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagName; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagNonce; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagP; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagPublishedAt; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagR; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagSubject; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagSummary; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagT; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagThumb; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagTitle; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventTag; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventTagMeta; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagA; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagClient; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagContentWarning; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagD; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagDescription; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagE; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagI; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagImage; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagName; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagNonce; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagP; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagPublishedAt; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagR; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagSubject; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagSummary; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagT; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagThumb; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagTitle; public enum NoStrImplEventTag implements NoStrEventTagMeta { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplEventTagArgument.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplEventTagArgument.java similarity index 54% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplEventTagArgument.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplEventTagArgument.java index 76984b5..735fd6f 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplEventTagArgument.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplEventTagArgument.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.nip; +package love.distributedrebirth.nx01.no2all.nostr.nip; public interface NoStrImplEventTagArgument { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplMessageOkReason.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplMessageOkReason.java similarity index 94% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplMessageOkReason.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplMessageOkReason.java index 814dc87..5f224fa 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplMessageOkReason.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplMessageOkReason.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.nip; +package love.distributedrebirth.nx01.no2all.nostr.nip; import java.util.Objects; diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplMessageType.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplMessageType.java similarity index 64% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplMessageType.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplMessageType.java index 5c8dace..e986440 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplMessageType.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplMessageType.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.nip; +package love.distributedrebirth.nx01.no2all.nostr.nip; import java.util.Arrays; import java.util.Objects; @@ -8,19 +8,19 @@ import java.util.function.Function; import java.util.stream.Collectors; import jakarta.json.JsonArray; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToClient; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToRelay; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToClientAuth; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToClientCount; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToClientEose; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToClientEvent; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToClientNotice; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToClientOk; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToRelayAuth; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToRelayClose; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToRelayCount; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToRelayEvent; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToRelayReq; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToClient; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToClientAuth; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToClientCount; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToClientEose; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToClientEvent; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToClientNotice; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToClientOk; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToRelay; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToRelayAuth; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToRelayClose; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToRelayCount; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToRelayEvent; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToRelayReq; public enum NoStrImplMessageType implements NoStrImplQName { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplPossibility.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplPossibility.java similarity index 60% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplPossibility.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplPossibility.java index 75bd1c8..e3128d7 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplPossibility.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplPossibility.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.nip; +package love.distributedrebirth.nx01.no2all.nostr.nip; public interface NoStrImplPossibility extends NoStrImplQFlag { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplQFlag.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplQFlag.java similarity index 69% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplQFlag.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplQFlag.java index 2d4cce4..dc311e0 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplQFlag.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplQFlag.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.nip; +package love.distributedrebirth.nx01.no2all.nostr.nip; public interface NoStrImplQFlag { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplQName.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplQName.java similarity index 86% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplQName.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplQName.java index b8195e0..08b25e5 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplQName.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplQName.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.nip; +package love.distributedrebirth.nx01.no2all.nostr.nip; import java.util.Optional; diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplShareLink.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplShareLink.java similarity index 84% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplShareLink.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplShareLink.java index 92a3d93..0138fe2 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplShareLink.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplShareLink.java @@ -1,9 +1,9 @@ -package love.distributedrebirth.no2all.nostr.nip; +package love.distributedrebirth.nx01.no2all.nostr.nip; import java.util.Objects; -import love.distributedrebirth.no2all.nostr.trust.OctoBech32; -import love.distributedrebirth.no2all.nostr.trust.OctoBech32String; +import love.distributedrebirth.nx01.no2all.nostr.trust.OctoBech32; +import love.distributedrebirth.nx01.no2all.nostr.trust.OctoBech32String; public enum NoStrImplShareLink { // TODO: add NIP dep // bare value bach32 diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplShareTLV.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplShareTLV.java similarity index 93% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplShareTLV.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplShareTLV.java index c23c1fb..1e1bdc0 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplShareTLV.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplShareTLV.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.nip; +package love.distributedrebirth.nx01.no2all.nostr.nip; import org.x4o.xml.o4o.io.tlv.TLVChainOctoBitFrameType; diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagA.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagA.java similarity index 85% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagA.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagA.java index a297440..f6a2e6a 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagA.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagA.java @@ -1,6 +1,6 @@ -package love.distributedrebirth.no2all.nostr.nip.tag; +package love.distributedrebirth.nx01.no2all.nostr.nip.tag; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTagArgument; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTagArgument; public enum NoStrImplTagA implements NoStrImplEventTagArgument { ADDRESS, diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagClient.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagClient.java new file mode 100644 index 0000000..1b8e6b3 --- /dev/null +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagClient.java @@ -0,0 +1,9 @@ +package love.distributedrebirth.nx01.no2all.nostr.nip.tag; + +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTagArgument; + +public enum NoStrImplTagClient implements NoStrImplEventTagArgument { + USER_AGENT, + VERSION, + ; +} diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagContentWarning.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagContentWarning.java new file mode 100644 index 0000000..62edbc7 --- /dev/null +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagContentWarning.java @@ -0,0 +1,9 @@ +package love.distributedrebirth.nx01.no2all.nostr.nip.tag; + +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTagArgument; + +public enum NoStrImplTagContentWarning implements NoStrImplEventTagArgument { + REASON, + RATE_GROUP + ; +} diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagContentWarningRGroup.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagContentWarningRGroup.java similarity index 82% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagContentWarningRGroup.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagContentWarningRGroup.java index ede5f5f..824b21b 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagContentWarningRGroup.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagContentWarningRGroup.java @@ -1,8 +1,8 @@ -package love.distributedrebirth.no2all.nostr.nip.tag; +package love.distributedrebirth.nx01.no2all.nostr.nip.tag; import java.util.Optional; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplQName; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplQName; public enum NoStrImplTagContentWarningRGroup implements NoStrImplQName { // from: https://en.wikipedia.org/wiki/Motion_Picture_Association_film_rating_system#Rating_components diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagE.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagE.java new file mode 100644 index 0000000..499d7e0 --- /dev/null +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagE.java @@ -0,0 +1,10 @@ +package love.distributedrebirth.nx01.no2all.nostr.nip.tag; + +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTagArgument; + +public enum NoStrImplTagE implements NoStrImplEventTagArgument { + EVENT_ID, + RELAY_URL, + MARKER, + ; +} diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagEMarker.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagEMarker.java similarity index 76% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagEMarker.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagEMarker.java index c9ddce1..c9f1a4f 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagEMarker.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagEMarker.java @@ -1,8 +1,8 @@ -package love.distributedrebirth.no2all.nostr.nip.tag; +package love.distributedrebirth.nx01.no2all.nostr.nip.tag; import java.util.Optional; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplQName; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplQName; public enum NoStrImplTagEMarker implements NoStrImplQName { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagI.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagI.java new file mode 100644 index 0000000..04d4f55 --- /dev/null +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagI.java @@ -0,0 +1,9 @@ +package love.distributedrebirth.nx01.no2all.nostr.nip.tag; + +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTagArgument; + +public enum NoStrImplTagI implements NoStrImplEventTagArgument { + PLATFORM_IDENTITY, + PROOF, + ; +} diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagIClaim.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagIClaim.java similarity index 87% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagIClaim.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagIClaim.java index 8e81330..2c0df9d 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagIClaim.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagIClaim.java @@ -1,8 +1,8 @@ -package love.distributedrebirth.no2all.nostr.nip.tag; +package love.distributedrebirth.nx01.no2all.nostr.nip.tag; import java.util.Optional; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplQName; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplQName; public enum NoStrImplTagIClaim implements NoStrImplQName { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagImage.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagImage.java similarity index 84% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagImage.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagImage.java index fcdeac2..abe148a 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagImage.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagImage.java @@ -1,6 +1,6 @@ -package love.distributedrebirth.no2all.nostr.nip.tag; +package love.distributedrebirth.nx01.no2all.nostr.nip.tag; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTagArgument; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTagArgument; public enum NoStrImplTagImage implements NoStrImplEventTagArgument { URL, diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagNonce.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagNonce.java similarity index 53% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagNonce.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagNonce.java index 3b63603..13b98f8 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagNonce.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagNonce.java @@ -1,6 +1,6 @@ -package love.distributedrebirth.no2all.nostr.nip.tag; +package love.distributedrebirth.nx01.no2all.nostr.nip.tag; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTagArgument; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTagArgument; public enum NoStrImplTagNonce implements NoStrImplEventTagArgument { BEARER_PROOF, diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagP.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagP.java new file mode 100644 index 0000000..01ebf4a --- /dev/null +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagP.java @@ -0,0 +1,9 @@ +package love.distributedrebirth.nx01.no2all.nostr.nip.tag; + +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTagArgument; + +public enum NoStrImplTagP implements NoStrImplEventTagArgument { + PUBLIC_KEY, + PET_NAME, + ; +} diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagSubject.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagSubject.java similarity index 88% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagSubject.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagSubject.java index 4514a54..4ad9a41 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagSubject.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagSubject.java @@ -1,8 +1,8 @@ -package love.distributedrebirth.no2all.nostr.nip.tag; +package love.distributedrebirth.nx01.no2all.nostr.nip.tag; import java.util.Locale; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTagArgument; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTagArgument; public enum NoStrImplTagSubject implements NoStrImplEventTagArgument { SUBJECT, diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagThumb.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagThumb.java similarity index 77% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagThumb.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagThumb.java index e5961e3..e2a0755 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagThumb.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagThumb.java @@ -1,6 +1,6 @@ -package love.distributedrebirth.no2all.nostr.nip.tag; +package love.distributedrebirth.nx01.no2all.nostr.nip.tag; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTagArgument; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTagArgument; public enum NoStrImplTagThumb implements NoStrImplEventTagArgument { URL, diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagTitle.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagTitle.java similarity index 80% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagTitle.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagTitle.java index 8675170..e8738e0 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagTitle.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagTitle.java @@ -1,6 +1,6 @@ -package love.distributedrebirth.no2all.nostr.nip.tag; +package love.distributedrebirth.nx01.no2all.nostr.nip.tag; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTagArgument; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTagArgument; public enum NoStrImplTagTitle implements NoStrImplEventTagArgument { TITLE, diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoBech32.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoBech32.java similarity index 99% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoBech32.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoBech32.java index e8be978..c0a7f78 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoBech32.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoBech32.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.trust; +package love.distributedrebirth.nx01.no2all.nostr.trust; import java.util.ArrayList; import java.util.Arrays; diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoBech32Bucket.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoBech32Bucket.java similarity index 90% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoBech32Bucket.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoBech32Bucket.java index 80017e6..a5f3c6e 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoBech32Bucket.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoBech32Bucket.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.trust; +package love.distributedrebirth.nx01.no2all.nostr.trust; import java.util.Objects; diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoBech32String.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoBech32String.java similarity index 85% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoBech32String.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoBech32String.java index 6a68aa7..f340dc2 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoBech32String.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoBech32String.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.trust; +package love.distributedrebirth.nx01.no2all.nostr.trust; import java.util.Objects; diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoBech32Variant.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoBech32Variant.java similarity index 86% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoBech32Variant.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoBech32Variant.java index 6135012..7b64e77 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoBech32Variant.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoBech32Variant.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.trust; +package love.distributedrebirth.nx01.no2all.nostr.trust; public enum OctoBech32Variant { //[BIP-0173](https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki) diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoTrust.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoTrust.java similarity index 95% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoTrust.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoTrust.java index a06cbfc..1552a20 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoTrust.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoTrust.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.trust; +package love.distributedrebirth.nx01.no2all.nostr.trust; import java.math.BigInteger; import java.security.NoSuchAlgorithmException; diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoTrustAES.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoTrustAES.java similarity index 97% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoTrustAES.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoTrustAES.java index 7b6eec4..5cfb887 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoTrustAES.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoTrustAES.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.trust; +package love.distributedrebirth.nx01.no2all.nostr.trust; import java.security.InvalidAlgorithmParameterException; import java.security.InvalidKeyException; diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoTrustAESCurve.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoTrustAESCurve.java similarity index 98% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoTrustAESCurve.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoTrustAESCurve.java index 7497120..8096974 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoTrustAESCurve.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoTrustAESCurve.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.trust; +package love.distributedrebirth.nx01.no2all.nostr.trust; import org.bouncycastle.crypto.agreement.ECDHBasicAgreement; import org.bouncycastle.crypto.params.ECDomainParameters; diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoTrustAESCurveX9EC.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoTrustAESCurveX9EC.java similarity index 92% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoTrustAESCurveX9EC.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoTrustAESCurveX9EC.java index 8ee3c8d..8765c2e 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoTrustAESCurveX9EC.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoTrustAESCurveX9EC.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.trust; +package love.distributedrebirth.nx01.no2all.nostr.trust; import org.bouncycastle.asn1.sec.SECNamedCurves; import org.bouncycastle.asn1.x9.X9ECParameters; diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoTrustChaChaPx.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoTrustChaChaPx.java similarity index 96% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoTrustChaChaPx.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoTrustChaChaPx.java index 081f277..d236b0c 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoTrustChaChaPx.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoTrustChaChaPx.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.trust; +package love.distributedrebirth.nx01.no2all.nostr.trust; import java.nio.ByteBuffer; import java.security.InvalidAlgorithmParameterException; diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoTrustException.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoTrustException.java similarity index 78% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoTrustException.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoTrustException.java index b5c1259..bfa5b13 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoTrustException.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoTrustException.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.trust; +package love.distributedrebirth.nx01.no2all.nostr.trust; @SuppressWarnings("serial") public class OctoTrustException extends RuntimeException { diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoTrustHash.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoTrustHash.java similarity index 88% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoTrustHash.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoTrustHash.java index c0cec56..d684e1b 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoTrustHash.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoTrustHash.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.trust; +package love.distributedrebirth.nx01.no2all.nostr.trust; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoTrustSchnorr.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoTrustSchnorr.java similarity index 98% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoTrustSchnorr.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoTrustSchnorr.java index 6fc2423..93a670d 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoTrustSchnorr.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoTrustSchnorr.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.trust; +package love.distributedrebirth.nx01.no2all.nostr.trust; import java.math.BigInteger; import java.util.Arrays; diff --git a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoTrustSchnorrPoint.java b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoTrustSchnorrPoint.java similarity index 98% rename from nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoTrustSchnorrPoint.java rename to nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoTrustSchnorrPoint.java index 41621da..f643be4 100644 --- a/nx01-no2all-nostr/src/main/java/love/distributedrebirth/no2all/nostr/trust/OctoTrustSchnorrPoint.java +++ b/nx01-no2all-nostr/src/main/java/love/distributedrebirth/nx01/no2all/nostr/trust/OctoTrustSchnorrPoint.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.trust; +package love.distributedrebirth.nx01.no2all.nostr.trust; import java.math.BigInteger; diff --git a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/NoStrIdentityTest.java b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrIdentityTest.java similarity index 77% rename from nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/NoStrIdentityTest.java rename to nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrIdentityTest.java index 9dc5ae3..6f5a973 100644 --- a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/NoStrIdentityTest.java +++ b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrIdentityTest.java @@ -1,8 +1,11 @@ -package love.distributedrebirth.no2all.nostr.model; +package love.distributedrebirth.nx01.no2all.nostr.model; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; +import love.distributedrebirth.nx01.no2all.nostr.model.NoStrIdentity; +import love.distributedrebirth.nx01.no2all.nostr.model.NoStrIdentityPrivateKey; + public class NoStrIdentityTest { @Test diff --git a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/NoStrProfileMetaDataTest.java b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrProfileMetaDataTest.java similarity index 86% rename from nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/NoStrProfileMetaDataTest.java rename to nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrProfileMetaDataTest.java index b63c1f2..897eeb3 100644 --- a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/NoStrProfileMetaDataTest.java +++ b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrProfileMetaDataTest.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.model; +package love.distributedrebirth.nx01.no2all.nostr.model; import java.io.StringReader; @@ -8,6 +8,7 @@ import org.junit.jupiter.api.Test; import jakarta.json.Json; import jakarta.json.JsonObject; import jakarta.json.JsonReader; +import love.distributedrebirth.nx01.no2all.nostr.model.NoStrProfileMetaData; public class NoStrProfileMetaDataTest { diff --git a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/NoStrRelayInfoTest.java b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrRelayInfoTest.java similarity index 90% rename from nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/NoStrRelayInfoTest.java rename to nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrRelayInfoTest.java index 2f4979e..047f971 100644 --- a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/NoStrRelayInfoTest.java +++ b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/NoStrRelayInfoTest.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.model; +package love.distributedrebirth.nx01.no2all.nostr.model; import java.io.InputStreamReader; @@ -7,6 +7,7 @@ import org.junit.jupiter.api.Test; import jakarta.json.Json; import jakarta.json.JsonReader; +import love.distributedrebirth.nx01.no2all.nostr.model.NoStrRelayInfo; public class NoStrRelayInfoTest { diff --git a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventSignatureTest.java b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventSignatureTest.java similarity index 89% rename from nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventSignatureTest.java rename to nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventSignatureTest.java index 1e31aaa..d4607ca 100644 --- a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventSignatureTest.java +++ b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventSignatureTest.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.model.event; +package love.distributedrebirth.nx01.no2all.nostr.model.event; import java.io.InputStreamReader; import java.nio.charset.StandardCharsets; @@ -13,13 +13,17 @@ import org.x4o.xml.o4o.octo.OctoBitFormat; import jakarta.json.Json; import jakarta.json.JsonReader; -import love.distributedrebirth.no2all.nostr.model.NoStrIdentity; -import love.distributedrebirth.no2all.nostr.model.NoStrIdentityPrivateKey; -import love.distributedrebirth.no2all.nostr.model.tag.NoStrTagNonce; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTag; -import love.distributedrebirth.no2all.nostr.nip.tag.NoStrImplTagNonce; -import love.distributedrebirth.no2all.nostr.trust.OctoTrust; -import love.distributedrebirth.no2all.nostr.trust.OctoTrustHash; +import love.distributedrebirth.nx01.no2all.nostr.model.NoStrIdentity; +import love.distributedrebirth.nx01.no2all.nostr.model.NoStrIdentityPrivateKey; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEvent; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventPayload; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventSignature; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventTag; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagNonce; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTag; +import love.distributedrebirth.nx01.no2all.nostr.nip.tag.NoStrImplTagNonce; +import love.distributedrebirth.nx01.no2all.nostr.trust.OctoTrust; +import love.distributedrebirth.nx01.no2all.nostr.trust.OctoTrustHash; public class NoStrEventSignatureTest { diff --git a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventTagTest.java b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventTagTest.java similarity index 73% rename from nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventTagTest.java rename to nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventTagTest.java index f700f43..de31c11 100644 --- a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventTagTest.java +++ b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventTagTest.java @@ -1,11 +1,12 @@ -package love.distributedrebirth.no2all.nostr.model.event; +package love.distributedrebirth.nx01.no2all.nostr.model.event; import java.util.Optional; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTag; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventTag; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTag; public class NoStrEventTagTest { diff --git a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventTest.java b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventTest.java similarity index 88% rename from nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventTest.java rename to nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventTest.java index a534ade..f8ab844 100644 --- a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/event/NoStrEventTest.java +++ b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/event/NoStrEventTest.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.model.event; +package love.distributedrebirth.nx01.no2all.nostr.model.event; import java.io.InputStreamReader; import java.io.StringWriter; @@ -14,7 +14,10 @@ import jakarta.json.JsonReader; import jakarta.json.JsonWriter; import jakarta.json.JsonWriterFactory; import jakarta.json.stream.JsonGenerator; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventTag; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEvent; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventPayload; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventTag; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventTag; public class NoStrEventTest { diff --git a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkEventTest.java b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkEventTest.java similarity index 80% rename from nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkEventTest.java rename to nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkEventTest.java index 25dfc6d..9bd956d 100644 --- a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkEventTest.java +++ b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkEventTest.java @@ -1,9 +1,11 @@ -package love.distributedrebirth.no2all.nostr.model.share; +package love.distributedrebirth.nx01.no2all.nostr.model.share; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventId; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventId; +import love.distributedrebirth.nx01.no2all.nostr.model.share.NoStrShareLinkEvent; +import love.distributedrebirth.nx01.no2all.nostr.model.share.NoStrShareLinkNote; public class NoStrShareLinkEventTest { diff --git a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkPrivateKeyTest.java b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkPrivateKeyTest.java similarity index 82% rename from nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkPrivateKeyTest.java rename to nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkPrivateKeyTest.java index bd13e87..cd35463 100644 --- a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkPrivateKeyTest.java +++ b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkPrivateKeyTest.java @@ -1,9 +1,10 @@ -package love.distributedrebirth.no2all.nostr.model.share; +package love.distributedrebirth.nx01.no2all.nostr.model.share; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; -import love.distributedrebirth.no2all.nostr.model.NoStrIdentityPrivateKey; +import love.distributedrebirth.nx01.no2all.nostr.model.NoStrIdentityPrivateKey; +import love.distributedrebirth.nx01.no2all.nostr.model.share.NoStrShareLinkPrivateKey; public class NoStrShareLinkPrivateKeyTest { diff --git a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkProfileTest.java b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkProfileTest.java similarity index 92% rename from nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkProfileTest.java rename to nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkProfileTest.java index aea6729..b42a443 100644 --- a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkProfileTest.java +++ b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkProfileTest.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.nostr.model.share; +package love.distributedrebirth.nx01.no2all.nostr.model.share; import java.util.Base64; import java.util.List; @@ -7,7 +7,8 @@ import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.x4o.xml.o4o.octo.OctoBitFormat; -import love.distributedrebirth.no2all.nostr.model.NoStrIdentityPublicKey; +import love.distributedrebirth.nx01.no2all.nostr.model.NoStrIdentityPublicKey; +import love.distributedrebirth.nx01.no2all.nostr.model.share.NoStrShareLinkProfile; public class NoStrShareLinkProfileTest { diff --git a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkPublicKeyTest.java b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkPublicKeyTest.java similarity index 81% rename from nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkPublicKeyTest.java rename to nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkPublicKeyTest.java index ba87101..1375959 100644 --- a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/share/NoStrShareLinkPublicKeyTest.java +++ b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/share/NoStrShareLinkPublicKeyTest.java @@ -1,9 +1,10 @@ -package love.distributedrebirth.no2all.nostr.model.share; +package love.distributedrebirth.nx01.no2all.nostr.model.share; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; -import love.distributedrebirth.no2all.nostr.model.NoStrIdentityPublicKey; +import love.distributedrebirth.nx01.no2all.nostr.model.NoStrIdentityPublicKey; +import love.distributedrebirth.nx01.no2all.nostr.model.share.NoStrShareLinkPublicKey; public class NoStrShareLinkPublicKeyTest { diff --git a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagETest.java b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagETest.java similarity index 71% rename from nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagETest.java rename to nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagETest.java index 3a59c71..1c85f1c 100644 --- a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/model/tag/NoStrTagETest.java +++ b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/model/tag/NoStrTagETest.java @@ -1,12 +1,13 @@ -package love.distributedrebirth.no2all.nostr.model.tag; +package love.distributedrebirth.nx01.no2all.nostr.model.tag; import java.util.Optional; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventId; -import love.distributedrebirth.no2all.nostr.nip.tag.NoStrImplTagEMarker; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventId; +import love.distributedrebirth.nx01.no2all.nostr.model.tag.NoStrTagE; +import love.distributedrebirth.nx01.no2all.nostr.nip.tag.NoStrImplTagEMarker; public class NoStrTagETest { diff --git a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplEventKindRangeTest.java b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplEventKindRangeTest.java similarity index 94% rename from nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplEventKindRangeTest.java rename to nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplEventKindRangeTest.java index 271fb9e..5b11b2d 100644 --- a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplEventKindRangeTest.java +++ b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplEventKindRangeTest.java @@ -1,8 +1,10 @@ -package love.distributedrebirth.no2all.nostr.nip; +package love.distributedrebirth.nx01.no2all.nostr.nip; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventKindRange; + public class NoStrImplEventKindRangeTest { @Test diff --git a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplEventKindTest.java b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplEventKindTest.java similarity index 84% rename from nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplEventKindTest.java rename to nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplEventKindTest.java index b862d6c..8f3fa91 100644 --- a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplEventKindTest.java +++ b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplEventKindTest.java @@ -1,8 +1,11 @@ -package love.distributedrebirth.no2all.nostr.nip; +package love.distributedrebirth.nx01.no2all.nostr.nip; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImpl; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventKind; + public class NoStrImplEventKindTest { @Test diff --git a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplMessageOkReasonTest.java b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplMessageOkReasonTest.java similarity index 91% rename from nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplMessageOkReasonTest.java rename to nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplMessageOkReasonTest.java index 61abf76..a9cdf41 100644 --- a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplMessageOkReasonTest.java +++ b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplMessageOkReasonTest.java @@ -1,8 +1,10 @@ -package love.distributedrebirth.no2all.nostr.nip; +package love.distributedrebirth.nx01.no2all.nostr.nip; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplMessageOkReason; + public class NoStrImplMessageOkReasonTest { @Test diff --git a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplTest.java b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplTest.java similarity index 89% rename from nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplTest.java rename to nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplTest.java index 627b35b..497c61a 100644 --- a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/nip/NoStrImplTest.java +++ b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/nip/NoStrImplTest.java @@ -1,8 +1,10 @@ -package love.distributedrebirth.no2all.nostr.nip; +package love.distributedrebirth.nx01.no2all.nostr.nip; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImpl; + public class NoStrImplTest { @Test diff --git a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagATest.java b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagATest.java similarity index 76% rename from nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagATest.java rename to nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagATest.java index 05ff542..49c35cc 100644 --- a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagATest.java +++ b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagATest.java @@ -1,8 +1,10 @@ -package love.distributedrebirth.no2all.nostr.nip.tag; +package love.distributedrebirth.nx01.no2all.nostr.nip.tag; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; +import love.distributedrebirth.nx01.no2all.nostr.nip.tag.NoStrImplTagA; + public class NoStrImplTagATest { @Test diff --git a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagIClaimTest.java b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagIClaimTest.java similarity index 92% rename from nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagIClaimTest.java rename to nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagIClaimTest.java index 846c92a..c6d1974 100644 --- a/nx01-no2all-nostr/src/test/java/love/distributedrebirth/no2all/nostr/nip/tag/NoStrImplTagIClaimTest.java +++ b/nx01-no2all-nostr/src/test/java/love/distributedrebirth/nx01/no2all/nostr/nip/tag/NoStrImplTagIClaimTest.java @@ -1,10 +1,12 @@ -package love.distributedrebirth.no2all.nostr.nip.tag; +package love.distributedrebirth.nx01.no2all.nostr.nip.tag; import java.util.Optional; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; +import love.distributedrebirth.nx01.no2all.nostr.nip.tag.NoStrImplTagIClaim; + public class NoStrImplTagIClaimTest { private static final String TEST_FOOBAR = "foobar:junit"; diff --git a/nx01-no2all-nostr/src/test/resources/love/distributedrebirth/no2all/nostr/model/event/note-empty-tags.json b/nx01-no2all-nostr/src/test/resources/love/distributedrebirth/nx01/no2all/nostr/model/event/note-empty-tags.json similarity index 100% rename from nx01-no2all-nostr/src/test/resources/love/distributedrebirth/no2all/nostr/model/event/note-empty-tags.json rename to nx01-no2all-nostr/src/test/resources/love/distributedrebirth/nx01/no2all/nostr/model/event/note-empty-tags.json diff --git a/nx01-no2all-nostr/src/test/resources/love/distributedrebirth/no2all/nostr/model/event/note-text-sign-error.json b/nx01-no2all-nostr/src/test/resources/love/distributedrebirth/nx01/no2all/nostr/model/event/note-text-sign-error.json similarity index 100% rename from nx01-no2all-nostr/src/test/resources/love/distributedrebirth/no2all/nostr/model/event/note-text-sign-error.json rename to nx01-no2all-nostr/src/test/resources/love/distributedrebirth/nx01/no2all/nostr/model/event/note-text-sign-error.json diff --git a/nx01-no2all-nostr/src/test/resources/love/distributedrebirth/no2all/nostr/model/event/note-text-simple.json b/nx01-no2all-nostr/src/test/resources/love/distributedrebirth/nx01/no2all/nostr/model/event/note-text-simple.json similarity index 100% rename from nx01-no2all-nostr/src/test/resources/love/distributedrebirth/no2all/nostr/model/event/note-text-simple.json rename to nx01-no2all-nostr/src/test/resources/love/distributedrebirth/nx01/no2all/nostr/model/event/note-text-simple.json diff --git a/nx01-no2all-nostr/src/test/resources/love/distributedrebirth/no2all/nostr/model/relay-info.json b/nx01-no2all-nostr/src/test/resources/love/distributedrebirth/nx01/no2all/nostr/model/relay-info.json similarity index 100% rename from nx01-no2all-nostr/src/test/resources/love/distributedrebirth/no2all/nostr/model/relay-info.json rename to nx01-no2all-nostr/src/test/resources/love/distributedrebirth/nx01/no2all/nostr/model/relay-info.json diff --git a/nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/no2all/react/nostr/client/NoStrRelayReadType.java b/nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/no2all/react/nostr/client/NoStrRelayReadType.java deleted file mode 100644 index ab04b48..0000000 --- a/nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/no2all/react/nostr/client/NoStrRelayReadType.java +++ /dev/null @@ -1,9 +0,0 @@ -package love.distributedrebirth.no2all.react.nostr.client; - -public enum NoStrRelayReadType { - - NONE, - ALL, - - ; -} diff --git a/nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/no2all/react/nostr/client/NoStrRelayFetchInfo.java b/nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/nx01/no2all/react/nostr/client/NoStrRelayFetchInfo.java similarity index 86% rename from nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/no2all/react/nostr/client/NoStrRelayFetchInfo.java rename to nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/nx01/no2all/react/nostr/client/NoStrRelayFetchInfo.java index d40fc8f..b0bd210 100644 --- a/nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/no2all/react/nostr/client/NoStrRelayFetchInfo.java +++ b/nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/nx01/no2all/react/nostr/client/NoStrRelayFetchInfo.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.react.nostr.client; +package love.distributedrebirth.nx01.no2all.react.nostr.client; import java.io.IOException; import java.io.StringReader; @@ -6,14 +6,11 @@ import java.net.URI; import java.net.http.HttpClient; import java.net.http.HttpRequest; import java.net.http.HttpResponse; - - -import love.distributedrebirth.no2all.nostr.model.NoStrRelayInfo; - import java.net.http.HttpResponse.BodyHandlers; import jakarta.json.Json; import jakarta.json.JsonReader; +import love.distributedrebirth.nx01.no2all.nostr.model.NoStrRelayInfo; public class NoStrRelayFetchInfo { diff --git a/nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/nx01/no2all/react/nostr/client/NoStrRelayReadType.java b/nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/nx01/no2all/react/nostr/client/NoStrRelayReadType.java new file mode 100644 index 0000000..908400b --- /dev/null +++ b/nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/nx01/no2all/react/nostr/client/NoStrRelayReadType.java @@ -0,0 +1,9 @@ +package love.distributedrebirth.nx01.no2all.react.nostr.client; + +public enum NoStrRelayReadType { + + NONE, + ALL, + + ; +} diff --git a/nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/no2all/react/nostr/client/NoStrRtsClient.java b/nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/nx01/no2all/react/nostr/client/NoStrRtsClient.java similarity index 61% rename from nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/no2all/react/nostr/client/NoStrRtsClient.java rename to nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/nx01/no2all/react/nostr/client/NoStrRtsClient.java index 7d8ee1d..c14ec8e 100644 --- a/nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/no2all/react/nostr/client/NoStrRtsClient.java +++ b/nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/nx01/no2all/react/nostr/client/NoStrRtsClient.java @@ -1,24 +1,24 @@ -package love.distributedrebirth.no2all.react.nostr.client; +package love.distributedrebirth.nx01.no2all.react.nostr.client; -import love.distributedrebirth.no2all.nostr.NoStr; -import love.distributedrebirth.no2all.nostr.fire.NoStrFirePipe; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToRelay; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToClientAuth; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToClientCount; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToClientEose; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToClientEvent; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToClientNotice; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToClientOk; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToRelayAuth; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToRelayClose; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToRelayCount; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToRelayEvent; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToRelayReq; -import love.distributedrebirth.no2all.react.wire.client.No2AllActClientClose; -import love.distributedrebirth.no2all.react.wire.client.No2AllActClientSendMessage; -import love.distributedrebirth.no2all.react.wire.client.No2AllArtClient; -import love.distributedrebirth.no2all.react.wire.client.No2AllArtClientOnMessage; -import love.distributedrebirth.no2all.react.wire.client.No2AllRtsClient; +import love.distributedrebirth.nx01.no2all.nostr.NoStr; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFirePipe; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToClientAuth; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToClientCount; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToClientEose; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToClientEvent; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToClientNotice; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToClientOk; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToRelay; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToRelayAuth; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToRelayClose; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToRelayCount; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToRelayEvent; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToRelayReq; +import love.distributedrebirth.nx01.no2all.react.wire.client.No2AllActClientClose; +import love.distributedrebirth.nx01.no2all.react.wire.client.No2AllActClientSendMessage; +import love.distributedrebirth.nx01.no2all.react.wire.client.No2AllArtClient; +import love.distributedrebirth.nx01.no2all.react.wire.client.No2AllArtClientOnMessage; +import love.distributedrebirth.nx01.no2all.react.wire.client.No2AllRtsClient; import love.distributedrebirth.nx01.warp.core.react.WarpReact; import love.distributedrebirth.nx01.warp.core.react.WarpReactPlasma; import love.distributedrebirth.nx01.warp.core.react.WarpReactPlasmaCoil; diff --git a/nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/no2all/react/nostr/server/NoStrRtsServer.java b/nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/nx01/no2all/react/nostr/server/NoStrRtsServer.java similarity index 64% rename from nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/no2all/react/nostr/server/NoStrRtsServer.java rename to nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/nx01/no2all/react/nostr/server/NoStrRtsServer.java index 89d0ab8..b1d8f39 100644 --- a/nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/no2all/react/nostr/server/NoStrRtsServer.java +++ b/nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/nx01/no2all/react/nostr/server/NoStrRtsServer.java @@ -1,26 +1,26 @@ -package love.distributedrebirth.no2all.react.nostr.server; +package love.distributedrebirth.nx01.no2all.react.nostr.server; -import love.distributedrebirth.no2all.nostr.NoStr; -import love.distributedrebirth.no2all.nostr.fire.NoStrFirePipe; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToClient; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToClientAuth; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToClientCount; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToClientEose; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToClientEvent; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToClientNotice; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToClientOk; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToRelayAuth; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToRelayClose; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToRelayCount; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToRelayEvent; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToRelayReq; -import love.distributedrebirth.no2all.react.wire.server.No2AllActServerBroadcastMessage; -import love.distributedrebirth.no2all.react.wire.server.No2AllActServerSocketClose; -import love.distributedrebirth.no2all.react.wire.server.No2AllActServerSocketSendMessage; -import love.distributedrebirth.no2all.react.wire.server.No2AllArtServer; -import love.distributedrebirth.no2all.react.wire.server.No2AllArtServerSocket; -import love.distributedrebirth.no2all.react.wire.server.No2AllArtServerSocketOnMessage; -import love.distributedrebirth.no2all.react.wire.server.No2AllRtsServer; +import love.distributedrebirth.nx01.no2all.nostr.NoStr; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFirePipe; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToClient; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToClientAuth; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToClientCount; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToClientEose; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToClientEvent; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToClientNotice; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToClientOk; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToRelayAuth; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToRelayClose; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToRelayCount; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToRelayEvent; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToRelayReq; +import love.distributedrebirth.nx01.no2all.react.wire.server.No2AllActServerBroadcastMessage; +import love.distributedrebirth.nx01.no2all.react.wire.server.No2AllActServerSocketClose; +import love.distributedrebirth.nx01.no2all.react.wire.server.No2AllActServerSocketSendMessage; +import love.distributedrebirth.nx01.no2all.react.wire.server.No2AllArtServer; +import love.distributedrebirth.nx01.no2all.react.wire.server.No2AllArtServerSocket; +import love.distributedrebirth.nx01.no2all.react.wire.server.No2AllArtServerSocketOnMessage; +import love.distributedrebirth.nx01.no2all.react.wire.server.No2AllRtsServer; import love.distributedrebirth.nx01.warp.core.react.WarpReact; import love.distributedrebirth.nx01.warp.core.react.WarpReactPlasma; import love.distributedrebirth.nx01.warp.core.react.WarpReactPlasmaCoil; diff --git a/nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/no2all/react/nostr/server/relay/NoStrArtServerRelayStoreEvent.java b/nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/nx01/no2all/react/nostr/server/relay/NoStrArtServerRelayStoreEvent.java similarity index 72% rename from nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/no2all/react/nostr/server/relay/NoStrArtServerRelayStoreEvent.java rename to nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/nx01/no2all/react/nostr/server/relay/NoStrArtServerRelayStoreEvent.java index edbc6a2..2778a54 100644 --- a/nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/no2all/react/nostr/server/relay/NoStrArtServerRelayStoreEvent.java +++ b/nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/nx01/no2all/react/nostr/server/relay/NoStrArtServerRelayStoreEvent.java @@ -1,6 +1,6 @@ -package love.distributedrebirth.no2all.react.nostr.server.relay; +package love.distributedrebirth.nx01.no2all.react.nostr.server.relay; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEvent; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEvent; public final class NoStrArtServerRelayStoreEvent { diff --git a/nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/no2all/react/nostr/server/relay/NoStrRtsServerRelay.java b/nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/nx01/no2all/react/nostr/server/relay/NoStrRtsServerRelay.java similarity index 73% rename from nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/no2all/react/nostr/server/relay/NoStrRtsServerRelay.java rename to nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/nx01/no2all/react/nostr/server/relay/NoStrRtsServerRelay.java index 9de7d9f..99a9b25 100644 --- a/nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/no2all/react/nostr/server/relay/NoStrRtsServerRelay.java +++ b/nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/nx01/no2all/react/nostr/server/relay/NoStrRtsServerRelay.java @@ -1,16 +1,16 @@ -package love.distributedrebirth.no2all.react.nostr.server.relay; +package love.distributedrebirth.nx01.no2all.react.nostr.server.relay; import java.util.logging.Logger; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEvent; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEventSignature; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToClientOk; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToRelayEvent; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplMessageOkReason; -import love.distributedrebirth.no2all.react.nostr.server.NoStrRtsServer; -import love.distributedrebirth.no2all.react.wire.server.No2AllArtServer; -import love.distributedrebirth.no2all.react.wire.server.No2AllArtServerSocket; -import love.distributedrebirth.no2all.react.wire.server.No2AllRtsServer; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEvent; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEventSignature; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToClientOk; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToRelayEvent; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplMessageOkReason; +import love.distributedrebirth.nx01.no2all.react.nostr.server.NoStrRtsServer; +import love.distributedrebirth.nx01.no2all.react.wire.server.No2AllArtServer; +import love.distributedrebirth.nx01.no2all.react.wire.server.No2AllArtServerSocket; +import love.distributedrebirth.nx01.no2all.react.wire.server.No2AllRtsServer; import love.distributedrebirth.nx01.warp.core.react.WarpReact; import love.distributedrebirth.nx01.warp.core.react.WarpReactPlasma; import love.distributedrebirth.nx01.warp.core.react.WarpReactPlasmaPulse; diff --git a/nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/no2all/react/nostr/server/relay/NoStrRtsServerRelaySubs.java b/nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/nx01/no2all/react/nostr/server/relay/NoStrRtsServerRelaySubs.java similarity index 74% rename from nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/no2all/react/nostr/server/relay/NoStrRtsServerRelaySubs.java rename to nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/nx01/no2all/react/nostr/server/relay/NoStrRtsServerRelaySubs.java index 8fa6ead..4c5d8cf 100644 --- a/nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/no2all/react/nostr/server/relay/NoStrRtsServerRelaySubs.java +++ b/nx01-no2all-react-nostr/src/main/java/love/distributedrebirth/nx01/no2all/react/nostr/server/relay/NoStrRtsServerRelaySubs.java @@ -1,10 +1,10 @@ -package love.distributedrebirth.no2all.react.nostr.server.relay; +package love.distributedrebirth.nx01.no2all.react.nostr.server.relay; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToRelayClose; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToRelayReq; -import love.distributedrebirth.no2all.react.wire.server.No2AllArtServer; -import love.distributedrebirth.no2all.react.wire.server.No2AllArtServerSocket; -import love.distributedrebirth.no2all.react.wire.server.No2AllRtsServer; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToRelayClose; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToRelayReq; +import love.distributedrebirth.nx01.no2all.react.wire.server.No2AllArtServer; +import love.distributedrebirth.nx01.no2all.react.wire.server.No2AllArtServerSocket; +import love.distributedrebirth.nx01.no2all.react.wire.server.No2AllRtsServer; import love.distributedrebirth.nx01.warp.core.react.WarpReact; import love.distributedrebirth.nx01.warp.core.react.WarpReactPlasma; import love.distributedrebirth.nx01.warp.core.react.WarpReactPlasmaPulse; diff --git a/nx01-no2all-react-nostr/src/test/java/love/distributedrebirth/no2all/react/nostr/client/NoStrClientTest.java b/nx01-no2all-react-nostr/src/test/java/love/distributedrebirth/nx01/no2all/react/nostr/client/NoStrClientTest.java similarity index 68% rename from nx01-no2all-react-nostr/src/test/java/love/distributedrebirth/no2all/react/nostr/client/NoStrClientTest.java rename to nx01-no2all-react-nostr/src/test/java/love/distributedrebirth/nx01/no2all/react/nostr/client/NoStrClientTest.java index bfc4961..e531284 100644 --- a/nx01-no2all-react-nostr/src/test/java/love/distributedrebirth/no2all/react/nostr/client/NoStrClientTest.java +++ b/nx01-no2all-react-nostr/src/test/java/love/distributedrebirth/nx01/no2all/react/nostr/client/NoStrClientTest.java @@ -1,27 +1,28 @@ -package love.distributedrebirth.no2all.react.nostr.client; +package love.distributedrebirth.nx01.no2all.react.nostr.client; import java.net.URI; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; -import love.distributedrebirth.no2all.nostr.NoStr; -import love.distributedrebirth.no2all.nostr.fire.NoStrFireWaterBoiler; -import love.distributedrebirth.no2all.nostr.model.NoStrIdentity; -import love.distributedrebirth.no2all.nostr.model.NoStrIdentityPrivateKey; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEvent; -import love.distributedrebirth.no2all.nostr.model.message.NoStrMsgToRelayEvent; -import love.distributedrebirth.no2all.nostr.nip.NoStrImplEventKind; -import love.distributedrebirth.no2all.react.wire.client.No2AllActClient; -import love.distributedrebirth.no2all.react.wire.client.No2AllActClientClose; -import love.distributedrebirth.no2all.react.wire.client.No2AllActClientConnect; -import love.distributedrebirth.no2all.react.wire.client.No2AllArtClient; -import love.distributedrebirth.no2all.react.wire.client.No2AllArtClientOnClose; -import love.distributedrebirth.no2all.react.wire.client.No2AllArtClientOnError; -import love.distributedrebirth.no2all.react.wire.client.No2AllArtClientOnMessage; -import love.distributedrebirth.no2all.react.wire.client.No2AllArtClientOnOpen; -import love.distributedrebirth.no2all.react.wire.client.No2AllArtClientOnStart; -import love.distributedrebirth.no2all.react.wire.client.No2AllRtsClient; +import love.distributedrebirth.nx01.no2all.nostr.NoStr; +import love.distributedrebirth.nx01.no2all.nostr.fire.NoStrFireWaterBoiler; +import love.distributedrebirth.nx01.no2all.nostr.model.NoStrIdentity; +import love.distributedrebirth.nx01.no2all.nostr.model.NoStrIdentityPrivateKey; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEvent; +import love.distributedrebirth.nx01.no2all.nostr.model.message.NoStrMsgToRelayEvent; +import love.distributedrebirth.nx01.no2all.nostr.nip.NoStrImplEventKind; +import love.distributedrebirth.nx01.no2all.react.nostr.client.NoStrRtsClient; +import love.distributedrebirth.nx01.no2all.react.wire.client.No2AllActClient; +import love.distributedrebirth.nx01.no2all.react.wire.client.No2AllActClientClose; +import love.distributedrebirth.nx01.no2all.react.wire.client.No2AllActClientConnect; +import love.distributedrebirth.nx01.no2all.react.wire.client.No2AllArtClient; +import love.distributedrebirth.nx01.no2all.react.wire.client.No2AllArtClientOnClose; +import love.distributedrebirth.nx01.no2all.react.wire.client.No2AllArtClientOnError; +import love.distributedrebirth.nx01.no2all.react.wire.client.No2AllArtClientOnMessage; +import love.distributedrebirth.nx01.no2all.react.wire.client.No2AllArtClientOnOpen; +import love.distributedrebirth.nx01.no2all.react.wire.client.No2AllArtClientOnStart; +import love.distributedrebirth.nx01.no2all.react.wire.client.No2AllRtsClient; import love.distributedrebirth.nx01.no2all.wire.ojw.OjwWireClientEndpoint; import love.distributedrebirth.nx01.warp.core.WarpCoreReactor; import love.distributedrebirth.nx01.warp.core.WarpCoreSpeedMonitor; diff --git a/nx01-no2all-react-nostr/src/test/java/love/distributedrebirth/no2all/react/nostr/server/NoStrServerTest.java b/nx01-no2all-react-nostr/src/test/java/love/distributedrebirth/nx01/no2all/react/nostr/server/NoStrServerTest.java similarity index 70% rename from nx01-no2all-react-nostr/src/test/java/love/distributedrebirth/no2all/react/nostr/server/NoStrServerTest.java rename to nx01-no2all-react-nostr/src/test/java/love/distributedrebirth/nx01/no2all/react/nostr/server/NoStrServerTest.java index d3bdebd..a3001c0 100644 --- a/nx01-no2all-react-nostr/src/test/java/love/distributedrebirth/no2all/react/nostr/server/NoStrServerTest.java +++ b/nx01-no2all-react-nostr/src/test/java/love/distributedrebirth/nx01/no2all/react/nostr/server/NoStrServerTest.java @@ -1,16 +1,17 @@ -package love.distributedrebirth.no2all.react.nostr.server; +package love.distributedrebirth.nx01.no2all.react.nostr.server; import java.net.InetSocketAddress; -import love.distributedrebirth.no2all.react.nostr.server.relay.NoStrRtsServerRelay; -import love.distributedrebirth.no2all.react.nostr.server.relay.NoStrRtsServerRelaySubs; -import love.distributedrebirth.no2all.react.wire.server.No2AllActServer; -import love.distributedrebirth.no2all.react.wire.server.No2AllArtServer; -import love.distributedrebirth.no2all.react.wire.server.No2AllArtServerOnStart; -import love.distributedrebirth.no2all.react.wire.server.No2AllArtServerSocket; -import love.distributedrebirth.no2all.react.wire.server.No2AllArtServerSocketOnClose; -import love.distributedrebirth.no2all.react.wire.server.No2AllRtsServerLog; -import love.distributedrebirth.no2all.react.wire.server.No2AllRtsServer; +import love.distributedrebirth.nx01.no2all.react.nostr.server.NoStrRtsServer; +import love.distributedrebirth.nx01.no2all.react.nostr.server.relay.NoStrRtsServerRelay; +import love.distributedrebirth.nx01.no2all.react.nostr.server.relay.NoStrRtsServerRelaySubs; +import love.distributedrebirth.nx01.no2all.react.wire.server.No2AllActServer; +import love.distributedrebirth.nx01.no2all.react.wire.server.No2AllArtServer; +import love.distributedrebirth.nx01.no2all.react.wire.server.No2AllArtServerOnStart; +import love.distributedrebirth.nx01.no2all.react.wire.server.No2AllArtServerSocket; +import love.distributedrebirth.nx01.no2all.react.wire.server.No2AllArtServerSocketOnClose; +import love.distributedrebirth.nx01.no2all.react.wire.server.No2AllRtsServer; +import love.distributedrebirth.nx01.no2all.react.wire.server.No2AllRtsServerLog; import love.distributedrebirth.nx01.no2all.wire.ojw.OjwWireServer; import love.distributedrebirth.nx01.no2all.wire.ojw.OjwWireServerEndpoint; import love.distributedrebirth.nx01.warp.core.WarpCoreReactor; diff --git a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllActClient.java b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllActClient.java similarity index 82% rename from nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllActClient.java rename to nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllActClient.java index 695c7f2..f1029d1 100644 --- a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllActClient.java +++ b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllActClient.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.react.wire.client; +package love.distributedrebirth.nx01.no2all.react.wire.client; import love.distributedrebirth.nx01.no2all.wire.WireClientEndpoint; diff --git a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllActClientClose.java b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllActClientClose.java similarity index 89% rename from nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllActClientClose.java rename to nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllActClientClose.java index d9a4cf5..f004c44 100644 --- a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllActClientClose.java +++ b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllActClientClose.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.react.wire.client; +package love.distributedrebirth.nx01.no2all.react.wire.client; public final class No2AllActClientClose { diff --git a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllActClientConnect.java b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllActClientConnect.java similarity index 57% rename from nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllActClientConnect.java rename to nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllActClientConnect.java index 9047459..f05484c 100644 --- a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllActClientConnect.java +++ b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllActClientConnect.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.react.wire.client; +package love.distributedrebirth.nx01.no2all.react.wire.client; public final class No2AllActClientConnect { diff --git a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllActClientSendBinary.java b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllActClientSendBinary.java similarity index 80% rename from nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllActClientSendBinary.java rename to nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllActClientSendBinary.java index 6baaefb..bd93442 100644 --- a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllActClientSendBinary.java +++ b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllActClientSendBinary.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.react.wire.client; +package love.distributedrebirth.nx01.no2all.react.wire.client; import java.nio.ByteBuffer; diff --git a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllActClientSendMessage.java b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllActClientSendMessage.java similarity index 77% rename from nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllActClientSendMessage.java rename to nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllActClientSendMessage.java index 72628d4..f876330 100644 --- a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllActClientSendMessage.java +++ b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllActClientSendMessage.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.react.wire.client; +package love.distributedrebirth.nx01.no2all.react.wire.client; public final class No2AllActClientSendMessage { diff --git a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllArtClient.java b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllArtClient.java similarity index 81% rename from nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllArtClient.java rename to nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllArtClient.java index ca5f30a..d22b295 100644 --- a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllArtClient.java +++ b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllArtClient.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.react.wire.client; +package love.distributedrebirth.nx01.no2all.react.wire.client; import love.distributedrebirth.nx01.warp.core.react.WarpReactPlasma; import love.distributedrebirth.nx01.warp.core.space.AbstractSpacePlasma; diff --git a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllArtClientOnBinary.java b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllArtClientOnBinary.java similarity index 80% rename from nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllArtClientOnBinary.java rename to nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllArtClientOnBinary.java index 382115f..55429bc 100644 --- a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllArtClientOnBinary.java +++ b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllArtClientOnBinary.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.react.wire.client; +package love.distributedrebirth.nx01.no2all.react.wire.client; import java.nio.ByteBuffer; diff --git a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllArtClientOnClose.java b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllArtClientOnClose.java similarity index 87% rename from nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllArtClientOnClose.java rename to nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllArtClientOnClose.java index 129fa9e..fa9a8fd 100644 --- a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllArtClientOnClose.java +++ b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllArtClientOnClose.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.react.wire.client; +package love.distributedrebirth.nx01.no2all.react.wire.client; public final class No2AllArtClientOnClose { diff --git a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllArtClientOnError.java b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllArtClientOnError.java similarity index 76% rename from nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllArtClientOnError.java rename to nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllArtClientOnError.java index fa47579..5f407e0 100644 --- a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllArtClientOnError.java +++ b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllArtClientOnError.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.react.wire.client; +package love.distributedrebirth.nx01.no2all.react.wire.client; public final class No2AllArtClientOnError { diff --git a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllArtClientOnMessage.java b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllArtClientOnMessage.java similarity index 77% rename from nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllArtClientOnMessage.java rename to nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllArtClientOnMessage.java index 7deeb1b..5bb52fb 100644 --- a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllArtClientOnMessage.java +++ b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllArtClientOnMessage.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.react.wire.client; +package love.distributedrebirth.nx01.no2all.react.wire.client; public final class No2AllArtClientOnMessage { diff --git a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllArtClientOnOpen.java b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllArtClientOnOpen.java similarity index 58% rename from nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllArtClientOnOpen.java rename to nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllArtClientOnOpen.java index 7bb6613..69e942f 100644 --- a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllArtClientOnOpen.java +++ b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllArtClientOnOpen.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.react.wire.client; +package love.distributedrebirth.nx01.no2all.react.wire.client; public final class No2AllArtClientOnOpen { diff --git a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllArtClientOnStart.java b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllArtClientOnStart.java similarity index 82% rename from nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllArtClientOnStart.java rename to nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllArtClientOnStart.java index 04cbba3..696a9c6 100644 --- a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllArtClientOnStart.java +++ b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllArtClientOnStart.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.react.wire.client; +package love.distributedrebirth.nx01.no2all.react.wire.client; import love.distributedrebirth.nx01.warp.core.react.WarpReactPlasma; import love.distributedrebirth.nx01.warp.core.space.AbstractSpacePlasma; diff --git a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllRtsClient.java b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllRtsClient.java similarity index 98% rename from nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllRtsClient.java rename to nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllRtsClient.java index d3b0f8d..97e8039 100644 --- a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/client/No2AllRtsClient.java +++ b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/client/No2AllRtsClient.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.react.wire.client; +package love.distributedrebirth.nx01.no2all.react.wire.client; import java.nio.ByteBuffer; diff --git a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllActServer.java b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllActServer.java similarity index 82% rename from nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllActServer.java rename to nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllActServer.java index 43da7c6..9edb1de 100644 --- a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllActServer.java +++ b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllActServer.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.react.wire.server; +package love.distributedrebirth.nx01.no2all.react.wire.server; import love.distributedrebirth.nx01.no2all.wire.WireServerEndpoint; diff --git a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllActServerBroadcastBinary.java b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllActServerBroadcastBinary.java similarity index 80% rename from nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllActServerBroadcastBinary.java rename to nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllActServerBroadcastBinary.java index 8a29be6..b6138a8 100644 --- a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllActServerBroadcastBinary.java +++ b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllActServerBroadcastBinary.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.react.wire.server; +package love.distributedrebirth.nx01.no2all.react.wire.server; import java.nio.ByteBuffer; diff --git a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllActServerBroadcastMessage.java b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllActServerBroadcastMessage.java similarity index 77% rename from nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllActServerBroadcastMessage.java rename to nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllActServerBroadcastMessage.java index fcbe07a..d480b45 100644 --- a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllActServerBroadcastMessage.java +++ b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllActServerBroadcastMessage.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.react.wire.server; +package love.distributedrebirth.nx01.no2all.react.wire.server; public final class No2AllActServerBroadcastMessage { diff --git a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllActServerSocketClose.java b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllActServerSocketClose.java similarity index 89% rename from nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllActServerSocketClose.java rename to nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllActServerSocketClose.java index 24312f0..a2ac61f 100644 --- a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllActServerSocketClose.java +++ b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllActServerSocketClose.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.react.wire.server; +package love.distributedrebirth.nx01.no2all.react.wire.server; public final class No2AllActServerSocketClose { diff --git a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllActServerSocketSendBinary.java b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllActServerSocketSendBinary.java similarity index 80% rename from nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllActServerSocketSendBinary.java rename to nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllActServerSocketSendBinary.java index 01a656e..ccc0783 100644 --- a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllActServerSocketSendBinary.java +++ b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllActServerSocketSendBinary.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.react.wire.server; +package love.distributedrebirth.nx01.no2all.react.wire.server; import java.nio.ByteBuffer; diff --git a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllActServerSocketSendMessage.java b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllActServerSocketSendMessage.java similarity index 78% rename from nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllActServerSocketSendMessage.java rename to nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllActServerSocketSendMessage.java index b147ce0..bb13a12 100644 --- a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllActServerSocketSendMessage.java +++ b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllActServerSocketSendMessage.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.react.wire.server; +package love.distributedrebirth.nx01.no2all.react.wire.server; public final class No2AllActServerSocketSendMessage { diff --git a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllArtServer.java b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllArtServer.java similarity index 81% rename from nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllArtServer.java rename to nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllArtServer.java index 6800335..45a05c7 100644 --- a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllArtServer.java +++ b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllArtServer.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.react.wire.server; +package love.distributedrebirth.nx01.no2all.react.wire.server; import love.distributedrebirth.nx01.warp.core.react.WarpReactPlasma; import love.distributedrebirth.nx01.warp.core.space.AbstractSpacePlasma; diff --git a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllArtServerOnError.java b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllArtServerOnError.java similarity index 76% rename from nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllArtServerOnError.java rename to nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllArtServerOnError.java index b81751a..4f85d98 100644 --- a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllArtServerOnError.java +++ b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllArtServerOnError.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.react.wire.server; +package love.distributedrebirth.nx01.no2all.react.wire.server; public final class No2AllArtServerOnError { diff --git a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllArtServerOnStart.java b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllArtServerOnStart.java similarity index 58% rename from nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllArtServerOnStart.java rename to nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllArtServerOnStart.java index 0a69368..b660471 100644 --- a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllArtServerOnStart.java +++ b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllArtServerOnStart.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.react.wire.server; +package love.distributedrebirth.nx01.no2all.react.wire.server; public final class No2AllArtServerOnStart { diff --git a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllArtServerSocket.java b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllArtServerSocket.java similarity index 87% rename from nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllArtServerSocket.java rename to nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllArtServerSocket.java index 2a7a477..1d83bbc 100644 --- a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllArtServerSocket.java +++ b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllArtServerSocket.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.react.wire.server; +package love.distributedrebirth.nx01.no2all.react.wire.server; import love.distributedrebirth.nx01.warp.core.react.WarpReactPlasma; import love.distributedrebirth.nx01.warp.core.space.AbstractSpacePlasma; diff --git a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllArtServerSocketOnBinary.java b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllArtServerSocketOnBinary.java similarity index 80% rename from nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllArtServerSocketOnBinary.java rename to nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllArtServerSocketOnBinary.java index 8be8e6e..4c8d733 100644 --- a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllArtServerSocketOnBinary.java +++ b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllArtServerSocketOnBinary.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.react.wire.server; +package love.distributedrebirth.nx01.no2all.react.wire.server; import java.nio.ByteBuffer; diff --git a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllArtServerSocketOnClose.java b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllArtServerSocketOnClose.java similarity index 87% rename from nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllArtServerSocketOnClose.java rename to nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllArtServerSocketOnClose.java index dc74bcd..5124daa 100644 --- a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllArtServerSocketOnClose.java +++ b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllArtServerSocketOnClose.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.react.wire.server; +package love.distributedrebirth.nx01.no2all.react.wire.server; public final class No2AllArtServerSocketOnClose { diff --git a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllArtServerSocketOnError.java b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllArtServerSocketOnError.java similarity index 77% rename from nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllArtServerSocketOnError.java rename to nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllArtServerSocketOnError.java index 1c5ee6a..be5521f 100644 --- a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllArtServerSocketOnError.java +++ b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllArtServerSocketOnError.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.react.wire.server; +package love.distributedrebirth.nx01.no2all.react.wire.server; public final class No2AllArtServerSocketOnError { diff --git a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllArtServerSocketOnMessage.java b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllArtServerSocketOnMessage.java similarity index 78% rename from nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllArtServerSocketOnMessage.java rename to nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllArtServerSocketOnMessage.java index d123dbb..c60e1e3 100644 --- a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllArtServerSocketOnMessage.java +++ b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllArtServerSocketOnMessage.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.react.wire.server; +package love.distributedrebirth.nx01.no2all.react.wire.server; public final class No2AllArtServerSocketOnMessage { diff --git a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllRtsServer.java b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllRtsServer.java similarity index 98% rename from nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllRtsServer.java rename to nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllRtsServer.java index e6193a5..5b39e4b 100644 --- a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllRtsServer.java +++ b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllRtsServer.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.react.wire.server; +package love.distributedrebirth.nx01.no2all.react.wire.server; import java.nio.ByteBuffer; diff --git a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllRtsServerLog.java b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllRtsServerLog.java similarity index 96% rename from nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllRtsServerLog.java rename to nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllRtsServerLog.java index ff90abc..d0df498 100644 --- a/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/no2all/react/wire/server/No2AllRtsServerLog.java +++ b/nx01-no2all-react-wire/src/main/java/love/distributedrebirth/nx01/no2all/react/wire/server/No2AllRtsServerLog.java @@ -1,4 +1,4 @@ -package love.distributedrebirth.no2all.react.wire.server; +package love.distributedrebirth.nx01.no2all.react.wire.server; import java.util.logging.Logger; diff --git a/nx01-no2all-wire-jetty/src/test/java/love/distributedrebirth/nx01/no2all/wire/jetty/EventServer.java b/nx01-no2all-wire-jetty/src/test/java/love/distributedrebirth/nx01/no2all/wire/jetty/EventServer.java index 9bd4106..663f545 100644 --- a/nx01-no2all-wire-jetty/src/test/java/love/distributedrebirth/nx01/no2all/wire/jetty/EventServer.java +++ b/nx01-no2all-wire-jetty/src/test/java/love/distributedrebirth/nx01/no2all/wire/jetty/EventServer.java @@ -11,17 +11,17 @@ import org.eclipse.jetty.websocket.server.config.JettyWebSocketServletContainerI import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import love.distributedrebirth.no2all.react.wire.server.No2AllActServer; -import love.distributedrebirth.no2all.react.wire.server.No2AllActServerSocketSendMessage; -import love.distributedrebirth.no2all.react.wire.server.No2AllArtServer; -import love.distributedrebirth.no2all.react.wire.server.No2AllArtServerSocket; -import love.distributedrebirth.no2all.react.wire.server.No2AllArtServerSocketOnMessage; -import love.distributedrebirth.no2all.react.wire.server.No2AllRtsServerLog; +import love.distributedrebirth.nx01.no2all.react.wire.server.No2AllActServer; +import love.distributedrebirth.nx01.no2all.react.wire.server.No2AllActServerSocketSendMessage; +import love.distributedrebirth.nx01.no2all.react.wire.server.No2AllArtServer; +import love.distributedrebirth.nx01.no2all.react.wire.server.No2AllArtServerSocket; +import love.distributedrebirth.nx01.no2all.react.wire.server.No2AllArtServerSocketOnMessage; +import love.distributedrebirth.nx01.no2all.react.wire.server.No2AllRtsServer; +import love.distributedrebirth.nx01.no2all.react.wire.server.No2AllRtsServerLog; import love.distributedrebirth.nx01.no2all.wire.jetty.JettyWireServerEndpoint; import love.distributedrebirth.nx01.warp.core.WarpCoreReactor; import love.distributedrebirth.nx01.warp.core.WarpCoreSpeedMonitor; import love.distributedrebirth.nx01.warp.core.react.WarpReactPlasma; -import love.distributedrebirth.no2all.react.wire.server.No2AllRtsServer; public class EventServer { diff --git a/nx01-zerofungus-server/src/main/java/love/distributedrebirth/nx01/zerofungus/server/ZFunRtsServer.java b/nx01-zerofungus-server/src/main/java/love/distributedrebirth/nx01/zerofungus/server/ZFunRtsServer.java index c754dfb..b347b25 100644 --- a/nx01-zerofungus-server/src/main/java/love/distributedrebirth/nx01/zerofungus/server/ZFunRtsServer.java +++ b/nx01-zerofungus-server/src/main/java/love/distributedrebirth/nx01/zerofungus/server/ZFunRtsServer.java @@ -10,9 +10,9 @@ import javax.sql.DataSource; import jakarta.json.Json; import jakarta.json.JsonWriter; -import love.distributedrebirth.no2all.nostr.model.event.NoStrEvent; -import love.distributedrebirth.no2all.react.nostr.server.relay.NoStrArtServerRelayStoreEvent; -import love.distributedrebirth.no2all.react.nostr.server.relay.NoStrRtsServerRelay; +import love.distributedrebirth.nx01.no2all.nostr.model.event.NoStrEvent; +import love.distributedrebirth.nx01.no2all.react.nostr.server.relay.NoStrArtServerRelayStoreEvent; +import love.distributedrebirth.nx01.no2all.react.nostr.server.relay.NoStrRtsServerRelay; import love.distributedrebirth.nx01.warp.core.react.WarpReact; import love.distributedrebirth.nx01.warp.core.react.WarpReactPlasma; import love.distributedrebirth.nx01.warp.core.react.WarpReactPlasmaPulse; diff --git a/nx01-zerofungus-server/src/main/java/love/distributedrebirth/nx01/zerofungus/server/ZeroFungus.java b/nx01-zerofungus-server/src/main/java/love/distributedrebirth/nx01/zerofungus/server/ZeroFungus.java index 65703e6..d941ff9 100644 --- a/nx01-zerofungus-server/src/main/java/love/distributedrebirth/nx01/zerofungus/server/ZeroFungus.java +++ b/nx01-zerofungus-server/src/main/java/love/distributedrebirth/nx01/zerofungus/server/ZeroFungus.java @@ -6,13 +6,13 @@ import java.util.Arrays; import java.util.Iterator; import java.util.List; -import love.distributedrebirth.no2all.react.nostr.client.NoStrRtsClient; -import love.distributedrebirth.no2all.react.nostr.server.NoStrRtsServer; -import love.distributedrebirth.no2all.react.nostr.server.relay.NoStrRtsServerRelay; -import love.distributedrebirth.no2all.react.nostr.server.relay.NoStrRtsServerRelaySubs; -import love.distributedrebirth.no2all.react.wire.client.No2AllRtsClient; -import love.distributedrebirth.no2all.react.wire.server.No2AllRtsServer; -import love.distributedrebirth.no2all.react.wire.server.No2AllRtsServerLog; +import love.distributedrebirth.nx01.no2all.react.nostr.client.NoStrRtsClient; +import love.distributedrebirth.nx01.no2all.react.nostr.server.NoStrRtsServer; +import love.distributedrebirth.nx01.no2all.react.nostr.server.relay.NoStrRtsServerRelay; +import love.distributedrebirth.nx01.no2all.react.nostr.server.relay.NoStrRtsServerRelaySubs; +import love.distributedrebirth.nx01.no2all.react.wire.client.No2AllRtsClient; +import love.distributedrebirth.nx01.no2all.react.wire.server.No2AllRtsServer; +import love.distributedrebirth.nx01.no2all.react.wire.server.No2AllRtsServerLog; import love.distributedrebirth.nx01.warp.core.WarpCoreReactor; import love.distributedrebirth.nx01.warp.core.WarpCoreSpeedMonitor; import love.distributedrebirth.nx01.zerofungus.server.service.ZFunRtsConfigJetty; diff --git a/nx01-zerofungus-server/src/main/java/love/distributedrebirth/nx01/zerofungus/server/service/ZFunRtsConfigJetty.java b/nx01-zerofungus-server/src/main/java/love/distributedrebirth/nx01/zerofungus/server/service/ZFunRtsConfigJetty.java index ba97990..445d66d 100644 --- a/nx01-zerofungus-server/src/main/java/love/distributedrebirth/nx01/zerofungus/server/service/ZFunRtsConfigJetty.java +++ b/nx01-zerofungus-server/src/main/java/love/distributedrebirth/nx01/zerofungus/server/service/ZFunRtsConfigJetty.java @@ -20,8 +20,8 @@ import org.eclipse.jetty.webapp.WebAppContext; import org.eclipse.jetty.webapp.WebInfConfiguration; import org.eclipse.jetty.websocket.server.config.JettyWebSocketServletContainerInitializer; -import love.distributedrebirth.no2all.react.wire.server.No2AllActServer; -import love.distributedrebirth.no2all.react.wire.server.No2AllRtsServer; +import love.distributedrebirth.nx01.no2all.react.wire.server.No2AllActServer; +import love.distributedrebirth.nx01.no2all.react.wire.server.No2AllRtsServer; import love.distributedrebirth.nx01.no2all.wire.jetty.JettyWireServerEndpoint; import love.distributedrebirth.nx01.warp.core.react.WarpReact; import love.distributedrebirth.nx01.warp.core.react.WarpReactPlasma;