@xyo-network/xns-record-payload-plugins 3.4.1 → 3.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/Address/Payload.d.ts +17 -0
- package/dist/browser/Address/Payload.d.ts.map +1 -0
- package/dist/browser/Address/index.d.ts +2 -0
- package/dist/browser/Address/index.d.ts.map +1 -0
- package/dist/browser/DNS/Witness/Config.d.ts +25 -0
- package/dist/browser/DNS/Witness/Config.d.ts.map +1 -0
- package/dist/browser/DNS/Witness/Params.d.ts +5 -0
- package/dist/browser/DNS/Witness/Params.d.ts.map +1 -0
- package/dist/browser/DNS/Witness/Payload/Payload.d.ts +4 -0
- package/dist/browser/DNS/Witness/Payload/Payload.d.ts.map +1 -0
- package/dist/browser/DNS/Witness/Payload/Request.d.ts +33 -0
- package/dist/browser/DNS/Witness/Payload/Request.d.ts.map +1 -0
- package/dist/browser/DNS/Witness/Payload/Response.d.ts +26 -0
- package/dist/browser/DNS/Witness/Payload/Response.d.ts.map +1 -0
- package/dist/browser/DNS/Witness/Payload/index.d.ts +4 -0
- package/dist/browser/DNS/Witness/Payload/index.d.ts.map +1 -0
- package/dist/browser/DNS/Witness/Schema.d.ts +3 -0
- package/dist/browser/DNS/Witness/Schema.d.ts.map +1 -0
- package/dist/browser/DNS/Witness/index.d.ts +5 -0
- package/dist/browser/DNS/Witness/index.d.ts.map +1 -0
- package/dist/browser/DNS/index.d.ts +3 -0
- package/dist/browser/DNS/index.d.ts.map +1 -0
- package/dist/browser/DNS/types/Answer.d.ts +5 -0
- package/dist/browser/DNS/types/Answer.d.ts.map +1 -0
- package/dist/browser/DNS/types/Header.d.ts +70 -0
- package/dist/browser/DNS/types/Header.d.ts.map +1 -0
- package/dist/browser/DNS/types/OperationCodes.d.ts +4 -0
- package/dist/browser/DNS/types/OperationCodes.d.ts.map +1 -0
- package/dist/browser/DNS/types/Record.d.ts +8 -0
- package/dist/browser/DNS/types/Record.d.ts.map +1 -0
- package/dist/browser/DNS/types/Request.d.ts +23 -0
- package/dist/browser/DNS/types/Request.d.ts.map +1 -0
- package/dist/browser/DNS/types/ResourceRecord.d.ts +5 -0
- package/dist/browser/DNS/types/ResourceRecord.d.ts.map +1 -0
- package/dist/browser/DNS/types/Response.d.ts +11 -0
- package/dist/browser/DNS/types/Response.d.ts.map +1 -0
- package/dist/browser/DNS/types/ResponseCodes.d.ts +4 -0
- package/dist/browser/DNS/types/ResponseCodes.d.ts.map +1 -0
- package/dist/browser/DNS/types/index.d.ts +9 -0
- package/dist/browser/DNS/types/index.d.ts.map +1 -0
- package/dist/browser/Domain/Domain.d.ts +43 -0
- package/dist/browser/Domain/Domain.d.ts.map +1 -0
- package/dist/browser/Domain/DomainLease.d.ts +33 -0
- package/dist/browser/Domain/DomainLease.d.ts.map +1 -0
- package/dist/browser/Domain/index.d.ts +3 -0
- package/dist/browser/Domain/index.d.ts.map +1 -0
- package/dist/browser/DomainEstimate/DomainEstimate.d.ts +10 -0
- package/dist/browser/DomainEstimate/DomainEstimate.d.ts.map +1 -0
- package/dist/browser/DomainEstimate/index.d.ts +2 -0
- package/dist/browser/DomainEstimate/index.d.ts.map +1 -0
- package/dist/browser/DomainRegistration/DomainRegistration.d.ts +38 -0
- package/dist/browser/DomainRegistration/DomainRegistration.d.ts.map +1 -0
- package/dist/browser/DomainRegistration/DomainRegistrationLease.d.ts +34 -0
- package/dist/browser/DomainRegistration/DomainRegistrationLease.d.ts.map +1 -0
- package/dist/browser/DomainRegistration/index.d.ts +3 -0
- package/dist/browser/DomainRegistration/index.d.ts.map +1 -0
- package/dist/browser/Duration/Duration.d.ts +11 -0
- package/dist/browser/Duration/Duration.d.ts.map +1 -0
- package/dist/browser/Duration/index.d.ts +3 -0
- package/dist/browser/Duration/index.d.ts.map +1 -0
- package/dist/browser/Duration/validation/index.d.ts +3 -0
- package/dist/browser/Duration/validation/index.d.ts.map +1 -0
- package/dist/browser/Duration/validation/validateBoundWitness.d.ts +3 -0
- package/dist/browser/Duration/validation/validateBoundWitness.d.ts.map +1 -0
- package/dist/browser/Duration/validation/validateBoundWitnessAndDuration.d.ts +5 -0
- package/dist/browser/Duration/validation/validateBoundWitnessAndDuration.d.ts.map +1 -0
- package/dist/browser/Duration/validation/validateBoundWitnessWithDuration.d.ts +5 -0
- package/dist/browser/Duration/validation/validateBoundWitnessWithDuration.d.ts.map +1 -0
- package/dist/browser/Duration/validation/validateDuration.d.ts +5 -0
- package/dist/browser/Duration/validation/validateDuration.d.ts.map +1 -0
- package/dist/browser/Hash/Payload.d.ts +17 -0
- package/dist/browser/Hash/Payload.d.ts.map +1 -0
- package/dist/browser/Hash/index.d.ts +2 -0
- package/dist/browser/Hash/index.d.ts.map +1 -0
- package/dist/browser/diviner/DomainLeaseEstimateDiviner/ErrorDetails/ErrorCodes.d.ts +4 -0
- package/dist/browser/diviner/DomainLeaseEstimateDiviner/ErrorDetails/ErrorCodes.d.ts.map +1 -0
- package/dist/browser/diviner/DomainLeaseEstimateDiviner/ErrorDetails/Payload.d.ts +33 -0
- package/dist/browser/diviner/DomainLeaseEstimateDiviner/ErrorDetails/Payload.d.ts.map +1 -0
- package/dist/browser/diviner/DomainLeaseEstimateDiviner/ErrorDetails/index.d.ts +3 -0
- package/dist/browser/diviner/DomainLeaseEstimateDiviner/ErrorDetails/index.d.ts.map +1 -0
- package/dist/browser/diviner/DomainLeaseEstimateDiviner/Schema.d.ts +3 -0
- package/dist/browser/diviner/DomainLeaseEstimateDiviner/Schema.d.ts.map +1 -0
- package/dist/browser/diviner/DomainLeaseEstimateDiviner/index.d.ts +3 -0
- package/dist/browser/diviner/DomainLeaseEstimateDiviner/index.d.ts.map +1 -0
- package/dist/browser/diviner/index.d.ts +3 -0
- package/dist/browser/diviner/index.d.ts.map +1 -0
- package/dist/browser/diviner/lib/index.d.ts +2 -0
- package/dist/browser/diviner/lib/index.d.ts.map +1 -0
- package/dist/browser/diviner/lib/parseEstimatesFromArray.d.ts +16 -0
- package/dist/browser/diviner/lib/parseEstimatesFromArray.d.ts.map +1 -0
- package/dist/browser/index.d.ts +9 -629
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.mjs +20 -5
- package/dist/browser/index.mjs.map +1 -1
- package/dist/neutral/Address/Payload.d.ts +17 -0
- package/dist/neutral/Address/Payload.d.ts.map +1 -0
- package/dist/neutral/Address/index.d.ts +2 -0
- package/dist/neutral/Address/index.d.ts.map +1 -0
- package/dist/neutral/DNS/Witness/Config.d.ts +25 -0
- package/dist/neutral/DNS/Witness/Config.d.ts.map +1 -0
- package/dist/neutral/DNS/Witness/Params.d.ts +5 -0
- package/dist/neutral/DNS/Witness/Params.d.ts.map +1 -0
- package/dist/neutral/DNS/Witness/Payload/Payload.d.ts +4 -0
- package/dist/neutral/DNS/Witness/Payload/Payload.d.ts.map +1 -0
- package/dist/neutral/DNS/Witness/Payload/Request.d.ts +33 -0
- package/dist/neutral/DNS/Witness/Payload/Request.d.ts.map +1 -0
- package/dist/neutral/DNS/Witness/Payload/Response.d.ts +26 -0
- package/dist/neutral/DNS/Witness/Payload/Response.d.ts.map +1 -0
- package/dist/neutral/DNS/Witness/Payload/index.d.ts +4 -0
- package/dist/neutral/DNS/Witness/Payload/index.d.ts.map +1 -0
- package/dist/neutral/DNS/Witness/Schema.d.ts +3 -0
- package/dist/neutral/DNS/Witness/Schema.d.ts.map +1 -0
- package/dist/neutral/DNS/Witness/index.d.ts +5 -0
- package/dist/neutral/DNS/Witness/index.d.ts.map +1 -0
- package/dist/neutral/DNS/index.d.ts +3 -0
- package/dist/neutral/DNS/index.d.ts.map +1 -0
- package/dist/neutral/DNS/types/Answer.d.ts +5 -0
- package/dist/neutral/DNS/types/Answer.d.ts.map +1 -0
- package/dist/neutral/DNS/types/Header.d.ts +70 -0
- package/dist/neutral/DNS/types/Header.d.ts.map +1 -0
- package/dist/neutral/DNS/types/OperationCodes.d.ts +4 -0
- package/dist/neutral/DNS/types/OperationCodes.d.ts.map +1 -0
- package/dist/neutral/DNS/types/Record.d.ts +8 -0
- package/dist/neutral/DNS/types/Record.d.ts.map +1 -0
- package/dist/neutral/DNS/types/Request.d.ts +23 -0
- package/dist/neutral/DNS/types/Request.d.ts.map +1 -0
- package/dist/neutral/DNS/types/ResourceRecord.d.ts +5 -0
- package/dist/neutral/DNS/types/ResourceRecord.d.ts.map +1 -0
- package/dist/neutral/DNS/types/Response.d.ts +11 -0
- package/dist/neutral/DNS/types/Response.d.ts.map +1 -0
- package/dist/neutral/DNS/types/ResponseCodes.d.ts +4 -0
- package/dist/neutral/DNS/types/ResponseCodes.d.ts.map +1 -0
- package/dist/neutral/DNS/types/index.d.ts +9 -0
- package/dist/neutral/DNS/types/index.d.ts.map +1 -0
- package/dist/neutral/Domain/Domain.d.ts +43 -0
- package/dist/neutral/Domain/Domain.d.ts.map +1 -0
- package/dist/neutral/Domain/DomainLease.d.ts +33 -0
- package/dist/neutral/Domain/DomainLease.d.ts.map +1 -0
- package/dist/neutral/Domain/index.d.ts +3 -0
- package/dist/neutral/Domain/index.d.ts.map +1 -0
- package/dist/neutral/DomainEstimate/DomainEstimate.d.ts +10 -0
- package/dist/neutral/DomainEstimate/DomainEstimate.d.ts.map +1 -0
- package/dist/neutral/DomainEstimate/index.d.ts +2 -0
- package/dist/neutral/DomainEstimate/index.d.ts.map +1 -0
- package/dist/neutral/DomainRegistration/DomainRegistration.d.ts +38 -0
- package/dist/neutral/DomainRegistration/DomainRegistration.d.ts.map +1 -0
- package/dist/neutral/DomainRegistration/DomainRegistrationLease.d.ts +34 -0
- package/dist/neutral/DomainRegistration/DomainRegistrationLease.d.ts.map +1 -0
- package/dist/neutral/DomainRegistration/index.d.ts +3 -0
- package/dist/neutral/DomainRegistration/index.d.ts.map +1 -0
- package/dist/neutral/Duration/Duration.d.ts +11 -0
- package/dist/neutral/Duration/Duration.d.ts.map +1 -0
- package/dist/neutral/Duration/index.d.ts +3 -0
- package/dist/neutral/Duration/index.d.ts.map +1 -0
- package/dist/neutral/Duration/validation/index.d.ts +3 -0
- package/dist/neutral/Duration/validation/index.d.ts.map +1 -0
- package/dist/neutral/Duration/validation/validateBoundWitness.d.ts +3 -0
- package/dist/neutral/Duration/validation/validateBoundWitness.d.ts.map +1 -0
- package/dist/neutral/Duration/validation/validateBoundWitnessAndDuration.d.ts +5 -0
- package/dist/neutral/Duration/validation/validateBoundWitnessAndDuration.d.ts.map +1 -0
- package/dist/neutral/Duration/validation/validateBoundWitnessWithDuration.d.ts +5 -0
- package/dist/neutral/Duration/validation/validateBoundWitnessWithDuration.d.ts.map +1 -0
- package/dist/neutral/Duration/validation/validateDuration.d.ts +5 -0
- package/dist/neutral/Duration/validation/validateDuration.d.ts.map +1 -0
- package/dist/neutral/Hash/Payload.d.ts +17 -0
- package/dist/neutral/Hash/Payload.d.ts.map +1 -0
- package/dist/neutral/Hash/index.d.ts +2 -0
- package/dist/neutral/Hash/index.d.ts.map +1 -0
- package/dist/neutral/diviner/DomainLeaseEstimateDiviner/ErrorDetails/ErrorCodes.d.ts +4 -0
- package/dist/neutral/diviner/DomainLeaseEstimateDiviner/ErrorDetails/ErrorCodes.d.ts.map +1 -0
- package/dist/neutral/diviner/DomainLeaseEstimateDiviner/ErrorDetails/Payload.d.ts +33 -0
- package/dist/neutral/diviner/DomainLeaseEstimateDiviner/ErrorDetails/Payload.d.ts.map +1 -0
- package/dist/neutral/diviner/DomainLeaseEstimateDiviner/ErrorDetails/index.d.ts +3 -0
- package/dist/neutral/diviner/DomainLeaseEstimateDiviner/ErrorDetails/index.d.ts.map +1 -0
- package/dist/neutral/diviner/DomainLeaseEstimateDiviner/Schema.d.ts +3 -0
- package/dist/neutral/diviner/DomainLeaseEstimateDiviner/Schema.d.ts.map +1 -0
- package/dist/neutral/diviner/DomainLeaseEstimateDiviner/index.d.ts +3 -0
- package/dist/neutral/diviner/DomainLeaseEstimateDiviner/index.d.ts.map +1 -0
- package/dist/neutral/diviner/index.d.ts +3 -0
- package/dist/neutral/diviner/index.d.ts.map +1 -0
- package/dist/neutral/diviner/lib/index.d.ts +2 -0
- package/dist/neutral/diviner/lib/index.d.ts.map +1 -0
- package/dist/neutral/diviner/lib/parseEstimatesFromArray.d.ts +16 -0
- package/dist/neutral/diviner/lib/parseEstimatesFromArray.d.ts.map +1 -0
- package/dist/neutral/index.d.ts +9 -629
- package/dist/neutral/index.d.ts.map +1 -0
- package/dist/neutral/index.mjs +20 -5
- package/dist/neutral/index.mjs.map +1 -1
- package/dist/node/Address/Payload.d.ts +17 -0
- package/dist/node/Address/Payload.d.ts.map +1 -0
- package/dist/node/Address/index.d.ts +2 -0
- package/dist/node/Address/index.d.ts.map +1 -0
- package/dist/node/DNS/Witness/Config.d.ts +25 -0
- package/dist/node/DNS/Witness/Config.d.ts.map +1 -0
- package/dist/node/DNS/Witness/Params.d.ts +5 -0
- package/dist/node/DNS/Witness/Params.d.ts.map +1 -0
- package/dist/node/DNS/Witness/Payload/Payload.d.ts +4 -0
- package/dist/node/DNS/Witness/Payload/Payload.d.ts.map +1 -0
- package/dist/node/DNS/Witness/Payload/Request.d.ts +33 -0
- package/dist/node/DNS/Witness/Payload/Request.d.ts.map +1 -0
- package/dist/node/DNS/Witness/Payload/Response.d.ts +26 -0
- package/dist/node/DNS/Witness/Payload/Response.d.ts.map +1 -0
- package/dist/node/DNS/Witness/Payload/index.d.ts +4 -0
- package/dist/node/DNS/Witness/Payload/index.d.ts.map +1 -0
- package/dist/node/DNS/Witness/Schema.d.ts +3 -0
- package/dist/node/DNS/Witness/Schema.d.ts.map +1 -0
- package/dist/node/DNS/Witness/index.d.ts +5 -0
- package/dist/node/DNS/Witness/index.d.ts.map +1 -0
- package/dist/node/DNS/index.d.ts +3 -0
- package/dist/node/DNS/index.d.ts.map +1 -0
- package/dist/node/DNS/types/Answer.d.ts +5 -0
- package/dist/node/DNS/types/Answer.d.ts.map +1 -0
- package/dist/node/DNS/types/Header.d.ts +70 -0
- package/dist/node/DNS/types/Header.d.ts.map +1 -0
- package/dist/node/DNS/types/OperationCodes.d.ts +4 -0
- package/dist/node/DNS/types/OperationCodes.d.ts.map +1 -0
- package/dist/node/DNS/types/Record.d.ts +8 -0
- package/dist/node/DNS/types/Record.d.ts.map +1 -0
- package/dist/node/DNS/types/Request.d.ts +23 -0
- package/dist/node/DNS/types/Request.d.ts.map +1 -0
- package/dist/node/DNS/types/ResourceRecord.d.ts +5 -0
- package/dist/node/DNS/types/ResourceRecord.d.ts.map +1 -0
- package/dist/node/DNS/types/Response.d.ts +11 -0
- package/dist/node/DNS/types/Response.d.ts.map +1 -0
- package/dist/node/DNS/types/ResponseCodes.d.ts +4 -0
- package/dist/node/DNS/types/ResponseCodes.d.ts.map +1 -0
- package/dist/node/DNS/types/index.d.ts +9 -0
- package/dist/node/DNS/types/index.d.ts.map +1 -0
- package/dist/node/Domain/Domain.d.ts +43 -0
- package/dist/node/Domain/Domain.d.ts.map +1 -0
- package/dist/node/Domain/DomainLease.d.ts +33 -0
- package/dist/node/Domain/DomainLease.d.ts.map +1 -0
- package/dist/node/Domain/index.d.ts +3 -0
- package/dist/node/Domain/index.d.ts.map +1 -0
- package/dist/node/DomainEstimate/DomainEstimate.d.ts +10 -0
- package/dist/node/DomainEstimate/DomainEstimate.d.ts.map +1 -0
- package/dist/node/DomainEstimate/index.d.ts +2 -0
- package/dist/node/DomainEstimate/index.d.ts.map +1 -0
- package/dist/node/DomainRegistration/DomainRegistration.d.ts +38 -0
- package/dist/node/DomainRegistration/DomainRegistration.d.ts.map +1 -0
- package/dist/node/DomainRegistration/DomainRegistrationLease.d.ts +34 -0
- package/dist/node/DomainRegistration/DomainRegistrationLease.d.ts.map +1 -0
- package/dist/node/DomainRegistration/index.d.ts +3 -0
- package/dist/node/DomainRegistration/index.d.ts.map +1 -0
- package/dist/node/Duration/Duration.d.ts +11 -0
- package/dist/node/Duration/Duration.d.ts.map +1 -0
- package/dist/node/Duration/index.d.ts +3 -0
- package/dist/node/Duration/index.d.ts.map +1 -0
- package/dist/node/Duration/validation/index.d.ts +3 -0
- package/dist/node/Duration/validation/index.d.ts.map +1 -0
- package/dist/node/Duration/validation/validateBoundWitness.d.ts +3 -0
- package/dist/node/Duration/validation/validateBoundWitness.d.ts.map +1 -0
- package/dist/node/Duration/validation/validateBoundWitnessAndDuration.d.ts +5 -0
- package/dist/node/Duration/validation/validateBoundWitnessAndDuration.d.ts.map +1 -0
- package/dist/node/Duration/validation/validateBoundWitnessWithDuration.d.ts +5 -0
- package/dist/node/Duration/validation/validateBoundWitnessWithDuration.d.ts.map +1 -0
- package/dist/node/Duration/validation/validateDuration.d.ts +5 -0
- package/dist/node/Duration/validation/validateDuration.d.ts.map +1 -0
- package/dist/node/Hash/Payload.d.ts +17 -0
- package/dist/node/Hash/Payload.d.ts.map +1 -0
- package/dist/node/Hash/index.d.ts +2 -0
- package/dist/node/Hash/index.d.ts.map +1 -0
- package/dist/node/diviner/DomainLeaseEstimateDiviner/ErrorDetails/ErrorCodes.d.ts +4 -0
- package/dist/node/diviner/DomainLeaseEstimateDiviner/ErrorDetails/ErrorCodes.d.ts.map +1 -0
- package/dist/node/diviner/DomainLeaseEstimateDiviner/ErrorDetails/Payload.d.ts +33 -0
- package/dist/node/diviner/DomainLeaseEstimateDiviner/ErrorDetails/Payload.d.ts.map +1 -0
- package/dist/node/diviner/DomainLeaseEstimateDiviner/ErrorDetails/index.d.ts +3 -0
- package/dist/node/diviner/DomainLeaseEstimateDiviner/ErrorDetails/index.d.ts.map +1 -0
- package/dist/node/diviner/DomainLeaseEstimateDiviner/Schema.d.ts +3 -0
- package/dist/node/diviner/DomainLeaseEstimateDiviner/Schema.d.ts.map +1 -0
- package/dist/node/diviner/DomainLeaseEstimateDiviner/index.d.ts +3 -0
- package/dist/node/diviner/DomainLeaseEstimateDiviner/index.d.ts.map +1 -0
- package/dist/node/diviner/index.d.ts +3 -0
- package/dist/node/diviner/index.d.ts.map +1 -0
- package/dist/node/diviner/lib/index.d.ts +2 -0
- package/dist/node/diviner/lib/index.d.ts.map +1 -0
- package/dist/node/diviner/lib/parseEstimatesFromArray.d.ts +16 -0
- package/dist/node/diviner/lib/parseEstimatesFromArray.d.ts.map +1 -0
- package/dist/node/index.d.ts +9 -629
- package/dist/node/index.d.ts.map +1 -0
- package/dist/node/index.mjs +20 -5
- package/dist/node/index.mjs.map +1 -1
- package/package.json +14 -14
- package/src/Address/Payload.ts +3 -4
- package/src/DNS/Witness/Config.ts +3 -3
- package/src/DNS/Witness/Params.ts +3 -3
- package/src/DNS/Witness/Payload/Payload.ts +2 -2
- package/src/DNS/Witness/Payload/Request.ts +5 -5
- package/src/DNS/Witness/Payload/Response.ts +2 -3
- package/src/DNS/types/Answer.ts +1 -1
- package/src/DNS/types/Header.ts +2 -3
- package/src/DNS/types/Record.ts +1 -1
- package/src/DNS/types/Request.ts +2 -3
- package/src/DNS/types/Response.ts +4 -4
- package/src/Domain/Domain.ts +3 -2
- package/src/Domain/DomainLease.ts +5 -4
- package/src/DomainEstimate/DomainEstimate.ts +4 -4
- package/src/DomainRegistration/DomainRegistration.ts +5 -5
- package/src/DomainRegistration/DomainRegistrationLease.ts +5 -5
- package/src/Duration/validation/validateBoundWitness.ts +1 -1
- package/src/Duration/validation/validateBoundWitnessAndDuration.ts +3 -3
- package/src/Duration/validation/validateBoundWitnessWithDuration.ts +3 -3
- package/src/Duration/validation/validateDuration.ts +2 -2
- package/src/Hash/Payload.ts +3 -4
- package/src/diviner/DomainLeaseEstimateDiviner/ErrorDetails/ErrorCodes.ts +1 -1
- package/src/diviner/DomainLeaseEstimateDiviner/ErrorDetails/Payload.ts +3 -2
- package/src/diviner/lib/parseEstimatesFromArray.ts +4 -4
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { DNSRequestHeader } from './Header.ts';
|
|
2
|
+
import { DNSResourceRecordTypeValue } from './ResourceRecord.ts';
|
|
3
|
+
export interface DNSQuestion {
|
|
4
|
+
name: string;
|
|
5
|
+
type: DNSResourceRecordTypeValue;
|
|
6
|
+
class?: number;
|
|
7
|
+
}
|
|
8
|
+
export interface DNSRequestFields extends DNSRequestHeader {
|
|
9
|
+
Question: DNSQuestion[];
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Helper for generating a DNS request for a given domain and record type
|
|
13
|
+
* @param domain The domain to query
|
|
14
|
+
* @param type The record type to query
|
|
15
|
+
* @returns A DNS request
|
|
16
|
+
*/
|
|
17
|
+
export declare const getRequestFor: (domain: string, type?: DNSResourceRecordTypeValue) => DNSRequestFields;
|
|
18
|
+
/**
|
|
19
|
+
* Used to generate a random ID for a DNS request
|
|
20
|
+
* @returns A random number between 0 and 65,535
|
|
21
|
+
*/
|
|
22
|
+
export declare const getRandomId: () => number;
|
|
23
|
+
//# sourceMappingURL=Request.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Request.d.ts","sourceRoot":"","sources":["../../../../src/DNS/types/Request.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAyB,MAAM,aAAa,CAAA;AACrE,OAAO,EAA0B,0BAA0B,EAAE,MAAM,qBAAqB,CAAA;AAExF,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,0BAA0B,CAAA;IAChC,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,WAAW,gBAAiB,SAAQ,gBAAgB;IACxD,QAAQ,EAAE,WAAW,EAAE,CAAA;CACxB;AAED;;;;;GAKG;AACH,eAAO,MAAM,aAAa,GAAI,QAAQ,MAAM,EAAE,OAAM,0BAAqD,KAAG,gBAQ3G,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,WAAW,QAAO,MAE9B,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type DNSResourceRecordType = 'A' | 'NS' | 'MD' | 'MF' | 'CNAME' | 'SOA' | 'MB' | 'MG' | 'MR' | 'NULL' | 'WKS' | 'PTR' | 'HINFO' | 'MINFO' | 'MX' | 'TXT' | 'RP' | 'AFSDB' | 'X25' | 'ISDN' | 'RT' | 'NSAP' | 'NSAP-PTR' | 'SIG' | 'KEY' | 'PX' | 'GPOS' | 'AAAA' | 'LOC' | 'NXT' | 'EID' | 'NIMLOC' | 'SRV' | 'ATMA' | 'NAPTR' | 'KX' | 'CERT' | 'A6' | 'DNAME' | 'SINK' | 'OPT' | 'APL' | 'DS' | 'SSHFP' | 'IPSECKEY' | 'RRSIG' | 'NSEC' | 'DNSKEY' | 'DHCID' | 'NSEC3' | 'NSEC3PARAM' | 'TLSA' | 'SMIMEA' | 'HIP' | 'NINFO' | 'RKEY' | 'TALINK' | 'CDS' | 'CDNSKEY' | 'OPENPGPKEY' | 'CSYNC' | 'ZONEMD' | 'SVCB' | 'HTTPS' | 'SPF' | 'UINFO' | 'UID' | 'GID' | 'UNSPEC' | 'NID' | 'L32' | 'L64' | 'LP' | 'EUI48' | 'EUI64' | 'NXNAME' | 'TKEY' | 'TSIG' | 'IXFR' | 'AXFR' | 'MAILB' | 'MAILA' | '*' | 'URI' | 'CAA' | 'AVC' | 'DOA' | 'AMTRELAY' | 'RESINFO' | 'WALLET' | 'CLA' | 'IPN' | 'TA' | 'DLV' | 'XYOA' | 'XYOH';
|
|
2
|
+
export declare const DNSResourceRecordTypes: Readonly<Record<DNSResourceRecordType, number>>;
|
|
3
|
+
export type DNSResourceRecordTypeValue = (typeof DNSResourceRecordTypes)[keyof typeof DNSResourceRecordTypes];
|
|
4
|
+
export declare const findDNSResourceRecordTypesByValue: (value: DNSResourceRecordTypeValue) => DNSResourceRecordType | undefined;
|
|
5
|
+
//# sourceMappingURL=ResourceRecord.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ResourceRecord.d.ts","sourceRoot":"","sources":["../../../../src/DNS/types/ResourceRecord.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,qBAAqB,GAC7B,GAAG,GACH,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,OAAO,GACP,KAAK,GACL,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,MAAM,GACN,KAAK,GACL,KAAK,GACL,OAAO,GACP,OAAO,GACP,IAAI,GACJ,KAAK,GACL,IAAI,GACJ,OAAO,GACP,KAAK,GACL,MAAM,GACN,IAAI,GACJ,MAAM,GACN,UAAU,GACV,KAAK,GACL,KAAK,GACL,IAAI,GACJ,MAAM,GACN,MAAM,GACN,KAAK,GACL,KAAK,GACL,KAAK,GACL,QAAQ,GACR,KAAK,GACL,MAAM,GACN,OAAO,GACP,IAAI,GACJ,MAAM,GACN,IAAI,GACJ,OAAO,GACP,MAAM,GACN,KAAK,GACL,KAAK,GACL,IAAI,GACJ,OAAO,GACP,UAAU,GACV,OAAO,GACP,MAAM,GACN,QAAQ,GACR,OAAO,GACP,OAAO,GACP,YAAY,GACZ,MAAM,GACN,QAAQ,GACR,KAAK,GACL,OAAO,GACP,MAAM,GACN,QAAQ,GACR,KAAK,GACL,SAAS,GACT,YAAY,GACZ,OAAO,GACP,QAAQ,GACR,MAAM,GACN,OAAO,GACP,KAAK,GACL,OAAO,GACP,KAAK,GACL,KAAK,GACL,QAAQ,GACR,KAAK,GACL,KAAK,GACL,KAAK,GACL,IAAI,GACJ,OAAO,GACP,OAAO,GACP,QAAQ,GACR,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,OAAO,GACP,OAAO,GACP,GAAG,GACH,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,UAAU,GACV,SAAS,GACT,QAAQ,GACR,KAAK,GACL,KAAK,GACL,IAAI,GACJ,KAAK,GAEL,MAAM,GACN,MAAM,CAAA;AAEV,eAAO,MAAM,sBAAsB,EAAE,QAAQ,CAAC,MAAM,CAAC,qBAAqB,EAAE,MAAM,CAAC,CAkHlF,CAAA;AAED,MAAM,MAAM,0BAA0B,GAAG,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,OAAO,sBAAsB,CAAC,CAAA;AAE7G,eAAO,MAAM,iCAAiC,GAAI,OAAO,0BAA0B,KAAG,qBAAqB,GAAG,SAS7G,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DNSAnswer } from './Answer.ts';
|
|
2
|
+
import { DNSResponseHeader } from './Header.ts';
|
|
3
|
+
import { DNSRecord } from './Record.ts';
|
|
4
|
+
import { DNSQuestion } from './Request.ts';
|
|
5
|
+
export interface DNSResponseFields extends DNSResponseHeader {
|
|
6
|
+
Question: DNSQuestion[];
|
|
7
|
+
Answer: DNSAnswer[];
|
|
8
|
+
Authority?: DNSRecord[];
|
|
9
|
+
Additional?: DNSRecord[];
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=Response.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Response.d.ts","sourceRoot":"","sources":["../../../../src/DNS/types/Response.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAG1C,MAAM,WAAW,iBAAkB,SAAQ,iBAAiB;IAC1D,QAAQ,EAAE,WAAW,EAAE,CAAA;IACvB,MAAM,EAAE,SAAS,EAAE,CAAA;IACnB,SAAS,CAAC,EAAE,SAAS,EAAE,CAAA;IACvB,UAAU,CAAC,EAAE,SAAS,EAAE,CAAA;CACzB"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export type DNSRcode = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 16 | 17 | 18;
|
|
2
|
+
export type DNSRcodeName = 'NOERROR' | 'FORMERR' | 'SERVFAIL' | 'NXDOMAIN' | 'NOTIMP' | 'REFUSED' | 'YXDOMAIN' | 'YXRRSET' | 'NXRRSET' | 'NOTAUTH' | 'NOTZONE' | 'BADSIG' | 'BADKEY' | 'BADTIME';
|
|
3
|
+
export declare const DNSRcodes: Readonly<Record<DNSRcodeName, DNSRcode>>;
|
|
4
|
+
//# sourceMappingURL=ResponseCodes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ResponseCodes.d.ts","sourceRoot":"","sources":["../../../../src/DNS/types/ResponseCodes.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAA;AAEhF,MAAM,MAAM,YAAY,GACpB,SAAS,GACT,SAAS,GACT,UAAU,GACV,UAAU,GACV,QAAQ,GACR,SAAS,GACT,UAAU,GACV,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,QAAQ,GACR,QAAQ,GACR,SAAS,CAAA;AAEb,eAAO,MAAM,SAAS,EAAE,QAAQ,CAAC,MAAM,CAAC,YAAY,EAAE,QAAQ,CAAC,CAe9D,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './Answer.ts';
|
|
2
|
+
export * from './Header.ts';
|
|
3
|
+
export * from './OperationCodes.ts';
|
|
4
|
+
export * from './Record.ts';
|
|
5
|
+
export * from './Request.ts';
|
|
6
|
+
export * from './ResourceRecord.ts';
|
|
7
|
+
export * from './Response.ts';
|
|
8
|
+
export * from './ResponseCodes.ts';
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/DNS/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,qBAAqB,CAAA;AACnC,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,qBAAqB,CAAA;AACnC,cAAc,eAAe,CAAA;AAC7B,cAAc,oBAAoB,CAAA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Payload, WithSources } from '@xyo-network/payload-model';
|
|
2
|
+
export type DomainSchema = 'network.xyo.ns.domain';
|
|
3
|
+
export declare const DomainSchema: DomainSchema;
|
|
4
|
+
/**
|
|
5
|
+
* The supported TLDs for XNS
|
|
6
|
+
*/
|
|
7
|
+
export type TopLevelDomain = 'xyo';
|
|
8
|
+
/**
|
|
9
|
+
* The fields for a domain record
|
|
10
|
+
*/
|
|
11
|
+
export interface DomainFields {
|
|
12
|
+
/**
|
|
13
|
+
* The XNS domain of the record
|
|
14
|
+
*/
|
|
15
|
+
domain: string;
|
|
16
|
+
/**
|
|
17
|
+
* The Top-Level Domain of the domain
|
|
18
|
+
*/
|
|
19
|
+
tld: TopLevelDomain;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* A domain record is a record of a domain
|
|
23
|
+
*/
|
|
24
|
+
export type Domain = Payload<DomainFields, DomainSchema>;
|
|
25
|
+
/**
|
|
26
|
+
* Identity function for Domain payload
|
|
27
|
+
*/
|
|
28
|
+
export declare const isDomain: (x?: unknown | null) => x is Domain;
|
|
29
|
+
export declare const asDomain: {
|
|
30
|
+
<TType extends Domain>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
31
|
+
<TType extends Domain>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<Domain>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
32
|
+
};
|
|
33
|
+
export declare const asOptionalDomain: <TType extends Domain>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise) => TType | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* Identity function for Domain payload with sources
|
|
36
|
+
*/
|
|
37
|
+
export declare const isDomainWithSources: (x?: unknown | null) => x is WithSources<WithSources<Domain>>;
|
|
38
|
+
export declare const asDomainWithSources: {
|
|
39
|
+
<TType extends WithSources<Domain>>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
40
|
+
<TType extends WithSources<Domain>>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<WithSources<Domain>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
41
|
+
};
|
|
42
|
+
export declare const asOptionalDomainWithSources: <TType extends WithSources<Domain>>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise) => TType | undefined;
|
|
43
|
+
//# sourceMappingURL=Domain.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Domain.d.ts","sourceRoot":"","sources":["../../../src/Domain/Domain.ts"],"names":[],"mappings":"AACA,OAAO,EACoD,OAAO,EAAE,WAAW,EAC9E,MAAM,4BAA4B,CAAA;AAEnC,MAAM,MAAM,YAAY,GAAG,uBAAuB,CAAA;AAClD,eAAO,MAAM,YAAY,EAAE,YAAsC,CAAA;AAEjE;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,KAAK,CAAA;AAElC;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,GAAG,EAAE,cAAc,CAAA;CACpB;AAED;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG,OAAO,CAAC,YAAY,EAAE,YAAY,CAAC,CAAA;AAExD;;GAEG;AACH,eAAO,MAAM,QAAQ,qCAA8C,CAAA;AACnE,eAAO,MAAM,QAAQ;yCA/BE,qDAAiB,iCAGrC,gBAAmB;yCAKK,qDAErB,iGAOH,gBAAiB;CAc4C,CAAA;AAChE,eAAO,MAAM,gBAAgB,uCAPO,qDAAiB,qCAO2B,CAAA;AAEhF;;GAEG;AACH,eAAO,MAAM,mBAAmB,+DAAsE,CAAA;AACtG,eAAO,MAAM,mBAAmB;sDAtCT,qDAAiB,iCAGrC,gBAAmB;sDAKK,qDAErB,8GAOH,gBAAiB;CAqB+E,CAAA;AACnG,eAAO,MAAM,2BAA2B,oDAdJ,qDAAiB,qCAc8D,CAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Payload, WithSources } from '@xyo-network/payload-model';
|
|
2
|
+
import { DurationFields } from '../Duration/index.ts';
|
|
3
|
+
import { DomainFields } from './Domain.ts';
|
|
4
|
+
export type DomainLeaseSchema = 'network.xyo.ns.domain.lease';
|
|
5
|
+
export declare const DomainLeaseSchema: DomainLeaseSchema;
|
|
6
|
+
/**
|
|
7
|
+
* A domain is leased for a duration
|
|
8
|
+
*/
|
|
9
|
+
export interface DomainLeaseFields extends DomainFields, DurationFields {
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* A domain lease is a record of a domain and the duration it is leased for
|
|
13
|
+
*/
|
|
14
|
+
export type DomainLease = Payload<DomainLeaseFields, DomainLeaseSchema>;
|
|
15
|
+
/**
|
|
16
|
+
* Identity function for DomainLease payload
|
|
17
|
+
*/
|
|
18
|
+
export declare const isDomainLease: (x?: unknown | null) => x is DomainLease;
|
|
19
|
+
export declare const asDomainLease: {
|
|
20
|
+
<TType extends DomainLease>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
21
|
+
<TType extends DomainLease>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<DomainLease>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
22
|
+
};
|
|
23
|
+
export declare const asOptionalDomainLease: <TType extends DomainLease>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise) => TType | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* Identity function for DomainLease payload with sources
|
|
26
|
+
*/
|
|
27
|
+
export declare const isDomainLeaseWithSources: (x?: unknown | null) => x is WithSources<WithSources<DomainLease>>;
|
|
28
|
+
export declare const asDomainLeaseWithSources: {
|
|
29
|
+
<TType extends WithSources<DomainLease>>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
30
|
+
<TType extends WithSources<DomainLease>>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<WithSources<DomainLease>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
31
|
+
};
|
|
32
|
+
export declare const asOptionalDomainLeaseWithSources: <TType extends WithSources<DomainLease>>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise) => TType | undefined;
|
|
33
|
+
//# sourceMappingURL=DomainLease.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DomainLease.d.ts","sourceRoot":"","sources":["../../../src/Domain/DomainLease.ts"],"names":[],"mappings":"AACA,OAAO,EACoD,OAAO,EAAE,WAAW,EAC9E,MAAM,4BAA4B,CAAA;AAEnC,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,MAAM,iBAAiB,GAAG,6BAA6B,CAAA;AAC7D,eAAO,MAAM,iBAAiB,EAAE,iBAAiD,CAAA;AAEjF;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,YAAY,EAAE,cAAc;CAAG;AAE1E;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,iBAAiB,EAAE,iBAAiB,CAAC,CAAA;AAEvE;;GAEG;AACH,eAAO,MAAM,aAAa,0CAAwD,CAAA;AAClF,eAAO,MAAM,aAAa;8CAnBN,qDAAiB,iCAEX,gBAAoB;8CACiB,qDAAiB,sGAKhC,gBAAoB;CAWW,CAAA;AAC/E,eAAO,MAAM,qBAAqB,4CAPY,qDAAiB,qCAOgC,CAAA;AAE/F;;GAEG;AACH,eAAO,MAAM,wBAAwB,oEAAgF,CAAA;AACrH,eAAO,MAAM,wBAAwB;2DA1BjB,qDAAiB,iCAEX,gBAAoB;2DACiB,qDAAiB,mHAKhC,gBAAoB;CAkB8C,CAAA;AAClH,eAAO,MAAM,gCAAgC,yDAdC,qDAAiB,qCAcmE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Domain/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,kBAAkB,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BoundWitness } from '@xyo-network/boundwitness-model';
|
|
2
|
+
import { HashLeaseEstimate } from '@xyo-network/diviner-hash-lease';
|
|
3
|
+
import { WithSources } from '@xyo-network/payload-model';
|
|
4
|
+
import { DomainRegistrationLease } from '../DomainRegistration/index.ts';
|
|
5
|
+
export type DomainEstimate = [
|
|
6
|
+
BoundWitness,
|
|
7
|
+
WithSources<HashLeaseEstimate>,
|
|
8
|
+
WithSources<DomainRegistrationLease>
|
|
9
|
+
];
|
|
10
|
+
//# sourceMappingURL=DomainEstimate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DomainEstimate.d.ts","sourceRoot":"","sources":["../../../src/DomainEstimate/DomainEstimate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAExD,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAA;AAExE,MAAM,MAAM,cAAc,GAAG;IAC3B,YAAY;IACZ,WAAW,CAAC,iBAAiB,CAAC;IAC9B,WAAW,CAAC,uBAAuB,CAAC;CACrC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/DomainEstimate/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Address } from '@xylabs/hex';
|
|
2
|
+
import { Payload, WithSources } from '@xyo-network/payload-model';
|
|
3
|
+
import { DomainFields } from '../Domain/index.ts';
|
|
4
|
+
export declare const DomainRegistrationSchema: "network.xyo.ns.domain.registration";
|
|
5
|
+
export type DomainRegistrationSchema = typeof DomainRegistrationSchema;
|
|
6
|
+
export interface DomainRegistrationFields extends DomainFields {
|
|
7
|
+
/**
|
|
8
|
+
* The registrant of the domain
|
|
9
|
+
*/
|
|
10
|
+
registrant: Address[];
|
|
11
|
+
/**
|
|
12
|
+
* The registrar of the domain
|
|
13
|
+
*/
|
|
14
|
+
registrar: Address[];
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Delegation of a domain to a registrar by a registrant
|
|
18
|
+
*/
|
|
19
|
+
export type DomainRegistration = Payload<DomainRegistrationFields, DomainRegistrationSchema>;
|
|
20
|
+
/**
|
|
21
|
+
* Identity function for DomainRegistration payload
|
|
22
|
+
*/
|
|
23
|
+
export declare const isDomainRegistration: (x?: unknown | null) => x is DomainRegistration;
|
|
24
|
+
export declare const asDomainRegistration: {
|
|
25
|
+
<TType extends DomainRegistration>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
26
|
+
<TType extends DomainRegistration>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<DomainRegistration>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
27
|
+
};
|
|
28
|
+
export declare const asOptionalDomainRegistration: <TType extends DomainRegistration>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise) => TType | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Identity function for DomainRegistration payload with sources
|
|
31
|
+
*/
|
|
32
|
+
export declare const isDomainRegistrationWithSources: (x?: unknown | null) => x is WithSources<WithSources<DomainRegistration>>;
|
|
33
|
+
export declare const asDomainRegistrationWithSources: {
|
|
34
|
+
<TType extends WithSources<DomainRegistration>>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
35
|
+
<TType extends WithSources<DomainRegistration>>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<WithSources<DomainRegistration>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
36
|
+
};
|
|
37
|
+
export declare const asOptionalDomainRegistrationWithSources: <TType extends WithSources<DomainRegistration>>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise) => TType | undefined;
|
|
38
|
+
//# sourceMappingURL=DomainRegistration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DomainRegistration.d.ts","sourceRoot":"","sources":["../../../src/DomainRegistration/DomainRegistration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAErC,OAAO,EACoD,OAAO,EAAE,WAAW,EAC9E,MAAM,4BAA4B,CAAA;AAEnC,OAAO,EAAE,YAAY,EAAgB,MAAM,oBAAoB,CAAA;AAE/D,eAAO,MAAM,wBAAwB,sCAA0C,CAAA;AAC/E,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAA;AAEtE,MAAM,WAAW,wBAAyB,SAAQ,YAAY;IAC5D;;OAEG;IACH,UAAU,EAAE,OAAO,EAAE,CAAA;IACrB;;OAEG;IACH,SAAS,EAAE,OAAO,EAAE,CAAA;CACrB;AAED;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,wBAAwB,EAAE,wBAAwB,CAAC,CAAA;AAE5F;;GAEG;AACH,eAAO,MAAM,oBAAoB,iDAAsE,CAAA;AACvG,eAAO,MAAM,oBAAoB;qDAzBG,qDAAiB,iCAEhC,gBAAoB;qDACD,qDAAiB,6GAI/C,gBAAoB;CAkBsE,CAAA;AACpG,eAAO,MAAM,4BAA4B,mDATZ,qDAAiB,qCASsE,CAAA;AAEpH;;GAEG;AACH,eAAO,MAAM,+BAA+B,2EAA8F,CAAA;AAC1I,eAAO,MAAM,+BAA+B;kEAhCR,qDAAiB,iCAEhC,gBAAoB;kEACD,qDAAiB,0HAI/C,gBAAoB;CAyByG,CAAA;AACvI,eAAO,MAAM,uCAAuC,gEAhBvB,qDAAiB,qCAgByG,CAAA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Payload, WithSources } from '@xyo-network/payload-model';
|
|
2
|
+
import { DurationFields } from '../Duration/index.ts';
|
|
3
|
+
import { DomainRegistrationFields } from './DomainRegistration.ts';
|
|
4
|
+
export declare const DomainRegistrationLeaseSchema: "network.xyo.ns.domain.registration.lease";
|
|
5
|
+
export type DomainRegistrationLeaseSchema = typeof DomainRegistrationLeaseSchema;
|
|
6
|
+
export interface DomainRegistrationLeaseFields extends DomainRegistrationFields, DurationFields {
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Temporal delegation of a domain to a registrar by a registrant
|
|
10
|
+
*/
|
|
11
|
+
export type DomainRegistrationLease = Payload<DomainRegistrationLeaseFields, DomainRegistrationLeaseSchema>;
|
|
12
|
+
/**
|
|
13
|
+
* Identity function for DomainRegistrationLease payload
|
|
14
|
+
*/
|
|
15
|
+
export declare const isDomainRegistrationLease: (x?: unknown | null) => x is DomainRegistrationLease;
|
|
16
|
+
export declare const asDomainRegistrationLease: {
|
|
17
|
+
<TType extends DomainRegistrationLease>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
18
|
+
<TType extends DomainRegistrationLease>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<DomainRegistrationLease>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
19
|
+
};
|
|
20
|
+
export declare const asOptionalDomainRegistrationLease: <TType extends DomainRegistrationLease>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise) => TType | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Identity function for DomainRegistrationLease payload with sources
|
|
23
|
+
*/
|
|
24
|
+
export declare const isDomainRegistrationLeaseWithSources: (x?: unknown | null) => x is WithSources<WithSources<DomainRegistrationLease>>;
|
|
25
|
+
export declare const asDomainRegistrationLeaseWithSources: {
|
|
26
|
+
<TType extends WithSources<DomainRegistrationLease>>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise, config?: import("@xylabs/object").TypeCheckConfig): TType | undefined;
|
|
27
|
+
<TType extends WithSources<DomainRegistrationLease>>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise, assert: import("@xylabs/object").StringOrAlertFunction<WithSources<DomainRegistrationLease>>, config?: import("@xylabs/object").TypeCheckConfig): TType;
|
|
28
|
+
};
|
|
29
|
+
export declare const asOptionalDomainRegistrationLeaseWithSources: <TType extends WithSources<DomainRegistrationLease>>(value: import(".store/@xylabs-promise-npm-4.5.1-97d36b712b/package").AnyNonPromise) => TType | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* @deprecated Use isDomainRegistrationLeaseWithSources instead
|
|
32
|
+
*/
|
|
33
|
+
export declare const isDomainRegistrationLeaseSources: (x?: unknown | null) => x is WithSources<WithSources<DomainRegistrationLease>>;
|
|
34
|
+
//# sourceMappingURL=DomainRegistrationLease.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DomainRegistrationLease.d.ts","sourceRoot":"","sources":["../../../src/DomainRegistration/DomainRegistrationLease.ts"],"names":[],"mappings":"AACA,OAAO,EACoD,OAAO,EAAE,WAAW,EAC9E,MAAM,4BAA4B,CAAA;AAEnC,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAE,wBAAwB,EAA4B,MAAM,yBAAyB,CAAA;AAE5F,eAAO,MAAM,6BAA6B,4CAA+C,CAAA;AACzF,MAAM,MAAM,6BAA6B,GAAG,OAAO,6BAA6B,CAAA;AAEhF,MAAM,WAAW,6BAA8B,SAAQ,wBAAwB,EAAE,cAAc;CAAG;AAElG;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAAC,6BAA6B,EAAE,6BAA6B,CAAC,CAAA;AAE3G;;GAEG;AACH,eAAO,MAAM,yBAAyB,sDAAgF,CAAA;AACtH,eAAO,MAAM,yBAAyB;0DAhBlB,qDAAiB,iCAAiC,gBAAoB;0DAEf,qDACzE,kHAEe,gBAAmB;CAW+E,CAAA;AACnH,eAAO,MAAM,iCAAiC,wDAP9C,qDAAiB,qCAOkH,CAAA;AAEnI;;GAEG;AACH,eAAO,MAAM,oCAAoC,gFAAwG,CAAA;AACzJ,eAAO,MAAM,oCAAoC;uEAvB7B,qDAAiB,iCAAiC,gBAAoB;uEAEf,qDACzE,+HAEe,gBAAmB;CAkBkH,CAAA;AACtJ,eAAO,MAAM,4CAA4C,qEAdzD,qDAAiB,qCAe4E,CAAA;AAE7F;;GAEG;AACH,eAAO,MAAM,gCAAgC,gFAAuC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/DomainRegistration/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,8BAA8B,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface DurationFields {
|
|
2
|
+
/**
|
|
3
|
+
* A timestamp that indicates the expiration time of the record
|
|
4
|
+
*/
|
|
5
|
+
exp: number;
|
|
6
|
+
/**
|
|
7
|
+
* A timestamp that indicates the time before which the record is not valid
|
|
8
|
+
*/
|
|
9
|
+
nbf: number;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=Duration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Duration.d.ts","sourceRoot":"","sources":["../../../src/Duration/Duration.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;IAEX;;OAEG;IACH,GAAG,EAAE,MAAM,CAAA;CACZ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Duration/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,cAAc,uBAAuB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Duration/validation/index.ts"],"names":[],"mappings":"AAAA,cAAc,uCAAuC,CAAA;AACrD,cAAc,uBAAuB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validateBoundWitness.d.ts","sourceRoot":"","sources":["../../../../src/Duration/validation/validateBoundWitness.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AAI9D,eAAO,MAAM,oBAAoB,GAAU,UAAU,YAAY,EAAE,kBAAiB,MAAM,EAAO,KAAG,OAAO,CAAC,OAAO,CAOlH,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { BoundWitness } from '@xyo-network/boundwitness-model';
|
|
2
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
3
|
+
import { DurationFields } from '../Duration.ts';
|
|
4
|
+
export declare const validateBoundWitnessAndDuration: (recordBw: BoundWitness, recordPayload: Payload<DurationFields>) => Promise<boolean>;
|
|
5
|
+
//# sourceMappingURL=validateBoundWitnessAndDuration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validateBoundWitnessAndDuration.d.ts","sourceRoot":"","sources":["../../../../src/Duration/validation/validateBoundWitnessAndDuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AAE9D,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAG/C,eAAO,MAAM,+BAA+B,GAAU,UAAU,YAAY,EAAE,eAAe,OAAO,CAAC,cAAc,CAAC,KAAG,OAAO,CAAC,OAAO,CAGrI,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { BoundWitness } from '@xyo-network/boundwitness-model';
|
|
2
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
3
|
+
import { DurationFields } from '../Duration.ts';
|
|
4
|
+
export declare const validateBoundWitnessWithDuration: (recordBw: BoundWitness, recordPayload: Payload<DurationFields>) => Promise<boolean>;
|
|
5
|
+
//# sourceMappingURL=validateBoundWitnessWithDuration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validateBoundWitnessWithDuration.d.ts","sourceRoot":"","sources":["../../../../src/Duration/validation/validateBoundWitnessWithDuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAA;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAK/C,eAAO,MAAM,gCAAgC,GAAU,UAAU,YAAY,EAAE,eAAe,OAAO,CAAC,cAAc,CAAC,KAAG,OAAO,CAAC,OAAO,CAOtI,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
+
import { DurationFields } from '../Duration.ts';
|
|
3
|
+
export declare const validateDuration: (recordPayload: Payload<DurationFields>) => boolean;
|
|
4
|
+
export declare const isWithinDelegatedTimeframe: (recordPayload: Payload<DurationFields>, now?: number) => boolean;
|
|
5
|
+
//# sourceMappingURL=validateDuration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validateDuration.d.ts","sourceRoot":"","sources":["../../../../src/Duration/validation/validateDuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAG/C,eAAO,MAAM,gBAAgB,GAAI,eAAe,OAAO,CAAC,cAAc,CAAC,KAAG,OAGzE,CAAA;AAED,eAAO,MAAM,0BAA0B,GAAI,eAAe,OAAO,CAAC,cAAc,CAAC,EAAE,YAAgB,KAAG,OAGrG,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Hash } from '@xylabs/hex';
|
|
2
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
3
|
+
import { DomainFields } from '../Domain/index.ts';
|
|
4
|
+
export type HashRecordSchema = 'network.xyo.ns.record.hash';
|
|
5
|
+
export declare const HashRecordSchema: HashRecordSchema;
|
|
6
|
+
export interface HashRecordFields extends DomainFields {
|
|
7
|
+
/**
|
|
8
|
+
* The hash the record points to
|
|
9
|
+
*/
|
|
10
|
+
hash: Hash[];
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* An hash record points a domain to an hash
|
|
14
|
+
*/
|
|
15
|
+
export type HashRecord = Payload<HashRecordFields, HashRecordSchema>;
|
|
16
|
+
export declare const isHashRecord: (x?: unknown | null) => x is HashRecord;
|
|
17
|
+
//# sourceMappingURL=Payload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../../src/Hash/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAClC,OAAO,EAAyB,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAE3E,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEjD,MAAM,MAAM,gBAAgB,GAAG,4BAA4B,CAAA;AAC3D,eAAO,MAAM,gBAAgB,EAAE,gBAA+C,CAAA;AAE9E,MAAM,WAAW,gBAAiB,SAAQ,YAAY;IACpD;;OAEG;IACH,IAAI,EAAE,IAAI,EAAE,CAAA;CACb;AAED;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,OAAO,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,CAAA;AAEpE,eAAO,MAAM,YAAY,yCAAsD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Hash/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DomainLeaseEstimateDivinerValidationErrorDetails, ErrorDetailsDictionary } from './Payload.ts';
|
|
2
|
+
export type DomainLeaseEstimateDivinerErrorDetailsDictionaryErrorCode = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;
|
|
3
|
+
export declare const DomainLeaseEstimateDivinerErrorDetailsDictionary: Readonly<Readonly<Record<DomainLeaseEstimateDivinerErrorDetailsDictionaryErrorCode, DomainLeaseEstimateDivinerValidationErrorDetails>> & ErrorDetailsDictionary>;
|
|
4
|
+
//# sourceMappingURL=ErrorCodes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorCodes.d.ts","sourceRoot":"","sources":["../../../../../src/diviner/DomainLeaseEstimateDiviner/ErrorDetails/ErrorCodes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gDAAgD,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAA;AAGvG,MAAM,MAAM,yDAAyD,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;AAErG,eAAO,MAAM,gDAAgD,EAAE,QAAQ,CACrE,QAAQ,CAAC,MAAM,CAAC,yDAAyD,EAAE,gDAAgD,CAAC,CAAC,GAC7H,sBAAsB,CA6Bd,CAAA"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Payload } from '@xyo-network/payload-model';
|
|
2
|
+
import { DomainLeaseEstimateDivinerValidationErrorDetailsSchema } from '../Schema.ts';
|
|
3
|
+
export interface ErrorDetails<TErrorCode extends string | undefined = string | undefined> {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
/**
|
|
6
|
+
* A string code indicating the error type.
|
|
7
|
+
*/
|
|
8
|
+
code: TErrorCode;
|
|
9
|
+
/**
|
|
10
|
+
* A human-readable explanation specific to this occurrence of the problem
|
|
11
|
+
*/
|
|
12
|
+
detail?: string;
|
|
13
|
+
/**
|
|
14
|
+
* A short, human-readable summary of the problem type.
|
|
15
|
+
*/
|
|
16
|
+
title?: string;
|
|
17
|
+
}
|
|
18
|
+
export type ErrorDetailsDictionary<T extends number = number> = {
|
|
19
|
+
readonly [K in T]: ErrorDetails<`${K}`>;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* A payment authorization token payload
|
|
23
|
+
*/
|
|
24
|
+
export type DomainLeaseEstimateDivinerValidationErrorDetails<TErrorCode extends string | undefined = string> = Payload<ErrorDetails<TErrorCode>, DomainLeaseEstimateDivinerValidationErrorDetailsSchema>;
|
|
25
|
+
/**
|
|
26
|
+
* Identity function for DomainLeaseEstimateDivinerValidationErrorDetails payload
|
|
27
|
+
*/
|
|
28
|
+
export declare const isDomainLeaseEstimateDivinerValidationErrorDetails: (x?: unknown | null) => x is DomainLeaseEstimateDivinerValidationErrorDetails<string>;
|
|
29
|
+
/**
|
|
30
|
+
* Identity function for DomainLeaseEstimateDivinerValidationErrorDetails payload with sources
|
|
31
|
+
*/
|
|
32
|
+
export declare const isDomainLeaseEstimateDivinerValidationErrorDetailsWithSources: (x?: unknown | null) => x is import("@xyo-network/payload-model").WithSources<DomainLeaseEstimateDivinerValidationErrorDetails<string>>;
|
|
33
|
+
//# sourceMappingURL=Payload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../../../../src/diviner/DomainLeaseEstimateDiviner/ErrorDetails/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EACoD,OAAO,EACjE,MAAM,4BAA4B,CAAA;AAEnC,OAAO,EAAE,sDAAsD,EAAE,MAAM,cAAc,CAAA;AAErF,MAAM,WAAW,YAAY,CAAC,UAAU,SAAS,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS;IAEtF,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;IAClB;;OAEG;IACH,IAAI,EAAE,UAAU,CAAA;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,MAAM,MAAM,sBAAsB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,IAAI;IAC9D,QAAQ,EAAE,CAAC,IAAI,CAAC,GAAG,YAAY,CAAC,GAAG,CAAC,EAAE,CAAC;CACxC,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,gDAAgD,CAAC,UAAU,SAAS,MAAM,GAAG,SAAS,GAAG,MAAM,IAAI,OAAO,CACpH,YAAY,CAAC,UAAU,CAAC,EACxB,sDAAsD,CACvD,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,kDAAkD,uFAE9D,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,6DAA6D,yIACoE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/diviner/DomainLeaseEstimateDiviner/ErrorDetails/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,cAAc,CAAA"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const DomainLeaseEstimateDivinerValidationErrorDetailsSchema: "network.xyo.diviner.ns.domain.registration.lease.estimate.validation.error.details";
|
|
2
|
+
export type DomainLeaseEstimateDivinerValidationErrorDetailsSchema = typeof DomainLeaseEstimateDivinerValidationErrorDetailsSchema;
|
|
3
|
+
//# sourceMappingURL=Schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../../src/diviner/DomainLeaseEstimateDiviner/Schema.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sDAAsD,EAC/D,oFAA6F,CAAA;AAEjG,MAAM,MAAM,sDAAsD,GAAG,OAAO,sDAAsD,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/diviner/DomainLeaseEstimateDiviner/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,aAAa,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/diviner/index.ts"],"names":[],"mappings":"AAAA,cAAc,uCAAuC,CAAA;AACrD,cAAc,gBAAgB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/diviner/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { BoundWitness } from '@xyo-network/boundwitness-model';
|
|
2
|
+
import { HashLeaseEstimate } from '@xyo-network/diviner-hash-lease';
|
|
3
|
+
import { Payload, WithSources } from '@xyo-network/payload-model';
|
|
4
|
+
import { DomainRegistrationLease } from '../../DomainRegistration/index.ts';
|
|
5
|
+
export type Estimate = [
|
|
6
|
+
BoundWitness,
|
|
7
|
+
WithSources<HashLeaseEstimate>,
|
|
8
|
+
WithSources<DomainRegistrationLease>
|
|
9
|
+
];
|
|
10
|
+
/**
|
|
11
|
+
* Parses a generic array of payloads into estimates
|
|
12
|
+
* @param payloads An array of payloads
|
|
13
|
+
* @returns Parsed estimates
|
|
14
|
+
*/
|
|
15
|
+
export declare const parseEstimatesFromArray: (payloads?: Payload[]) => Promise<Estimate[]>;
|
|
16
|
+
//# sourceMappingURL=parseEstimatesFromArray.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parseEstimatesFromArray.d.ts","sourceRoot":"","sources":["../../../../src/diviner/lib/parseEstimatesFromArray.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAkB,MAAM,iCAAiC,CAAA;AAC9E,OAAO,EAEL,iBAAiB,EAClB,MAAM,iCAAiC,CAAA;AAExC,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAEjE,OAAO,EAEL,uBAAuB,EACxB,MAAM,mCAAmC,CAAA;AAE1C,MAAM,MAAM,QAAQ,GAAG;IACrB,YAAY;IACZ,WAAW,CAAC,iBAAiB,CAAC;IAC9B,WAAW,CAAC,uBAAuB,CAAC;CACrC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,GAAU,WAAW,OAAO,EAAE,KAAG,OAAO,CAAC,QAAQ,EAAE,CA0BtF,CAAA"}
|