@jsonjoy.com/json-pack 1.20.0 → 17.59.0
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/lib/JsonPackExtension.d.ts +8 -0
- package/lib/JsonPackExtension.js +8 -0
- package/lib/JsonPackExtension.js.map +1 -1
- package/lib/JsonPackMpint.d.ts +25 -0
- package/lib/JsonPackMpint.js +31 -1
- package/lib/JsonPackMpint.js.map +1 -1
- package/lib/JsonPackValue.d.ts +10 -0
- package/lib/JsonPackValue.js +10 -0
- package/lib/JsonPackValue.js.map +1 -1
- package/lib/avro/AvroDecoder.d.ts +67 -0
- package/lib/avro/AvroDecoder.js +77 -5
- package/lib/avro/AvroDecoder.js.map +1 -1
- package/lib/avro/AvroEncoder.d.ts +71 -0
- package/lib/avro/AvroEncoder.js +90 -12
- package/lib/avro/AvroEncoder.js.map +1 -1
- package/lib/avro/AvroSchemaDecoder.d.ts +53 -0
- package/lib/avro/AvroSchemaDecoder.js +60 -3
- package/lib/avro/AvroSchemaDecoder.js.map +1 -1
- package/lib/avro/AvroSchemaEncoder.d.ts +65 -0
- package/lib/avro/AvroSchemaEncoder.js +84 -5
- package/lib/avro/AvroSchemaEncoder.js.map +1 -1
- package/lib/avro/AvroSchemaValidator.d.ts +10 -0
- package/lib/avro/AvroSchemaValidator.js +18 -1
- package/lib/avro/AvroSchemaValidator.js.map +1 -1
- package/lib/avro/types.d.ts +31 -0
- package/lib/avro/types.js +4 -0
- package/lib/avro/types.js.map +1 -1
- package/lib/bencode/BencodeDecoder.js +9 -9
- package/lib/bencode/BencodeDecoder.js.map +1 -1
- package/lib/bencode/BencodeEncoder.d.ts +5 -0
- package/lib/bencode/BencodeEncoder.js +25 -20
- package/lib/bencode/BencodeEncoder.js.map +1 -1
- package/lib/bson/BsonDecoder.js +48 -33
- package/lib/bson/BsonDecoder.js.map +1 -1
- package/lib/bson/BsonEncoder.js +11 -3
- package/lib/bson/BsonEncoder.js.map +1 -1
- package/lib/cbor/CborDecoder.d.ts +24 -0
- package/lib/cbor/CborDecoder.js +94 -56
- package/lib/cbor/CborDecoder.js.map +1 -1
- package/lib/cbor/CborDecoderBase.d.ts +1 -0
- package/lib/cbor/CborDecoderBase.js +63 -53
- package/lib/cbor/CborDecoderBase.js.map +1 -1
- package/lib/cbor/CborEncoder.d.ts +5 -0
- package/lib/cbor/CborEncoder.js +9 -3
- package/lib/cbor/CborEncoder.js.map +1 -1
- package/lib/cbor/CborEncoderFast.d.ts +7 -0
- package/lib/cbor/CborEncoderFast.js +22 -14
- package/lib/cbor/CborEncoderFast.js.map +1 -1
- package/lib/cbor/CborEncoderStable.d.ts +1 -0
- package/lib/cbor/CborEncoderStable.js +2 -1
- package/lib/cbor/CborEncoderStable.js.map +1 -1
- package/lib/cbor/shared.d.ts +1 -1
- package/lib/codecs/Codecs.d.ts +1 -1
- package/lib/codecs/cbor.js +1 -1
- package/lib/codecs/cbor.js.map +1 -1
- package/lib/codecs/json.js +1 -1
- package/lib/codecs/json.js.map +1 -1
- package/lib/codecs/msgpack.js +1 -1
- package/lib/codecs/msgpack.js.map +1 -1
- package/lib/ejson/EjsonDecoder.d.ts +5 -0
- package/lib/ejson/EjsonDecoder.js +72 -37
- package/lib/ejson/EjsonDecoder.js.map +1 -1
- package/lib/ejson/EjsonEncoder.d.ts +5 -0
- package/lib/ejson/EjsonEncoder.js +149 -114
- package/lib/ejson/EjsonEncoder.js.map +1 -1
- package/lib/ejson/index.js +1 -0
- package/lib/ejson/index.js.map +1 -1
- package/lib/ion/Import.d.ts +1 -1
- package/lib/ion/Import.js.map +1 -1
- package/lib/ion/IonDecoder.d.ts +0 -1
- package/lib/ion/IonDecoder.js +4 -3
- package/lib/ion/IonDecoder.js.map +1 -1
- package/lib/ion/IonDecoderBase.js +29 -18
- package/lib/ion/IonDecoderBase.js.map +1 -1
- package/lib/ion/IonEncoderFast.d.ts +1 -1
- package/lib/ion/IonEncoderFast.js +30 -30
- package/lib/ion/IonEncoderFast.js.map +1 -1
- package/lib/ion/ast.d.ts +4 -1
- package/lib/ion/symbols.d.ts +1 -1
- package/lib/json/JsonDecoder.js +72 -66
- package/lib/json/JsonDecoder.js.map +1 -1
- package/lib/json/JsonDecoderDag.js +14 -0
- package/lib/json/JsonDecoderDag.js.map +1 -1
- package/lib/json/JsonDecoderPartial.d.ts +22 -0
- package/lib/json/JsonDecoderPartial.js +30 -8
- package/lib/json/JsonDecoderPartial.js.map +1 -1
- package/lib/json/JsonEncoder.d.ts +5 -0
- package/lib/json/JsonEncoder.js +68 -54
- package/lib/json/JsonEncoder.js.map +1 -1
- package/lib/json/JsonEncoderDag.d.ts +17 -0
- package/lib/json/JsonEncoderDag.js +27 -10
- package/lib/json/JsonEncoderDag.js.map +1 -1
- package/lib/json/JsonEncoderStable.js +5 -5
- package/lib/json/JsonEncoderStable.js.map +1 -1
- package/lib/json-binary/codec.d.ts +8 -1
- package/lib/json-binary/codec.js +7 -0
- package/lib/json-binary/codec.js.map +1 -1
- package/lib/msgpack/MsgPackDecoder.d.ts +27 -0
- package/lib/msgpack/MsgPackDecoder.js +55 -23
- package/lib/msgpack/MsgPackDecoder.js.map +1 -1
- package/lib/msgpack/MsgPackDecoderFast.d.ts +8 -0
- package/lib/msgpack/MsgPackDecoderFast.js +14 -5
- package/lib/msgpack/MsgPackDecoderFast.js.map +1 -1
- package/lib/msgpack/MsgPackEncoder.d.ts +3 -0
- package/lib/msgpack/MsgPackEncoder.js +7 -4
- package/lib/msgpack/MsgPackEncoder.js.map +1 -1
- package/lib/msgpack/MsgPackEncoderFast.d.ts +26 -4
- package/lib/msgpack/MsgPackEncoderFast.js +31 -0
- package/lib/msgpack/MsgPackEncoderFast.js.map +1 -1
- package/lib/msgpack/MsgPackEncoderStable.d.ts +3 -0
- package/lib/msgpack/MsgPackEncoderStable.js +3 -0
- package/lib/msgpack/MsgPackEncoderStable.js.map +1 -1
- package/lib/msgpack/MsgPackToJsonConverter.d.ts +30 -4
- package/lib/msgpack/MsgPackToJsonConverter.js +32 -5
- package/lib/msgpack/MsgPackToJsonConverter.js.map +1 -1
- package/lib/msgpack/index.d.ts +29 -0
- package/lib/msgpack/index.js +30 -0
- package/lib/msgpack/index.js.map +1 -1
- package/lib/msgpack/shallow-read.js +7 -7
- package/lib/msgpack/shallow-read.js.map +1 -1
- package/lib/msgpack/types.d.ts +1 -0
- package/lib/msgpack/util.d.ts +1 -1
- package/lib/nfs/v3/FullNfsv3Encoder.d.ts +3 -3
- package/lib/nfs/v3/FullNfsv3Encoder.js +3 -3
- package/lib/nfs/v3/FullNfsv3Encoder.js.map +1 -1
- package/lib/nfs/v3/Nfsv3Decoder.js +51 -50
- package/lib/nfs/v3/Nfsv3Decoder.js.map +1 -1
- package/lib/nfs/v3/Nfsv3Encoder.d.ts +2 -2
- package/lib/nfs/v3/Nfsv3Encoder.js +52 -52
- package/lib/nfs/v3/Nfsv3Encoder.js.map +1 -1
- package/lib/nfs/v3/constants.d.ts +34 -0
- package/lib/nfs/v3/constants.js +4 -0
- package/lib/nfs/v3/constants.js.map +1 -1
- package/lib/nfs/v3/locks/NlmDecoder.js +20 -20
- package/lib/nfs/v3/locks/NlmDecoder.js.map +1 -1
- package/lib/nfs/v3/locks/NlmEncoder.d.ts +2 -2
- package/lib/nfs/v3/locks/NlmEncoder.js +20 -20
- package/lib/nfs/v3/locks/NlmEncoder.js.map +1 -1
- package/lib/nfs/v3/locks/constants.d.ts +9 -0
- package/lib/nfs/v3/locks/messages.d.ts +58 -1
- package/lib/nfs/v3/locks/messages.js +54 -0
- package/lib/nfs/v3/locks/messages.js.map +1 -1
- package/lib/nfs/v3/locks/structs.d.ts +15 -0
- package/lib/nfs/v3/locks/structs.js +15 -0
- package/lib/nfs/v3/locks/structs.js.map +1 -1
- package/lib/nfs/v3/messages.d.ts +249 -0
- package/lib/nfs/v3/messages.js +249 -0
- package/lib/nfs/v3/messages.js.map +1 -1
- package/lib/nfs/v3/mount/MountDecoder.js +12 -12
- package/lib/nfs/v3/mount/MountEncoder.d.ts +2 -2
- package/lib/nfs/v3/mount/MountEncoder.js +13 -13
- package/lib/nfs/v3/mount/MountEncoder.js.map +1 -1
- package/lib/nfs/v3/mount/constants.d.ts +9 -0
- package/lib/nfs/v3/mount/messages.d.ts +31 -1
- package/lib/nfs/v3/mount/messages.js +27 -0
- package/lib/nfs/v3/mount/messages.js.map +1 -1
- package/lib/nfs/v3/mount/structs.d.ts +15 -0
- package/lib/nfs/v3/mount/structs.js +15 -0
- package/lib/nfs/v3/mount/structs.js.map +1 -1
- package/lib/nfs/v3/structs.d.ts +78 -0
- package/lib/nfs/v3/structs.js +78 -0
- package/lib/nfs/v3/structs.js.map +1 -1
- package/lib/nfs/v4/Nfsv4Decoder.d.ts +14 -12
- package/lib/nfs/v4/Nfsv4Decoder.js +241 -165
- package/lib/nfs/v4/Nfsv4Decoder.js.map +1 -1
- package/lib/nfs/v4/Nfsv4Encoder.d.ts +6 -93
- package/lib/nfs/v4/Nfsv4Encoder.js +8 -824
- package/lib/nfs/v4/Nfsv4Encoder.js.map +1 -1
- package/lib/nfs/v4/Nfsv4FullEncoder.d.ts +32 -0
- package/lib/nfs/v4/Nfsv4FullEncoder.js +72 -0
- package/lib/nfs/v4/Nfsv4FullEncoder.js.map +1 -0
- package/lib/nfs/v4/attributes.d.ts +79 -0
- package/lib/nfs/v4/attributes.js +265 -0
- package/lib/nfs/v4/attributes.js.map +1 -0
- package/lib/nfs/v4/builder.d.ts +333 -0
- package/lib/nfs/v4/builder.js +460 -0
- package/lib/nfs/v4/builder.js.map +1 -0
- package/lib/nfs/v4/client/NfsFsDir.d.ts +23 -0
- package/lib/nfs/v4/client/NfsFsDir.js +132 -0
- package/lib/nfs/v4/client/NfsFsDir.js.map +1 -0
- package/lib/nfs/v4/client/NfsFsDirent.d.ts +17 -0
- package/lib/nfs/v4/client/NfsFsDirent.js +35 -0
- package/lib/nfs/v4/client/NfsFsDirent.js.map +1 -0
- package/lib/nfs/v4/client/NfsFsFileHandle.d.ts +35 -0
- package/lib/nfs/v4/client/NfsFsFileHandle.js +271 -0
- package/lib/nfs/v4/client/NfsFsFileHandle.js.map +1 -0
- package/lib/nfs/v4/client/NfsFsStats.d.ts +34 -0
- package/lib/nfs/v4/client/NfsFsStats.js +52 -0
- package/lib/nfs/v4/client/NfsFsStats.js.map +1 -0
- package/lib/nfs/v4/client/Nfsv4FsClient.d.ts +53 -0
- package/lib/nfs/v4/client/Nfsv4FsClient.js +812 -0
- package/lib/nfs/v4/client/Nfsv4FsClient.js.map +1 -0
- package/lib/nfs/v4/client/Nfsv4TcpClient.d.ts +41 -0
- package/lib/nfs/v4/client/Nfsv4TcpClient.js +216 -0
- package/lib/nfs/v4/client/Nfsv4TcpClient.js.map +1 -0
- package/lib/nfs/v4/client/types.d.ts +9 -0
- package/lib/nfs/v4/client/types.js +3 -0
- package/lib/nfs/v4/client/types.js.map +1 -0
- package/lib/nfs/v4/constants.d.ts +80 -0
- package/lib/nfs/v4/constants.js +4 -0
- package/lib/nfs/v4/constants.js.map +1 -1
- package/lib/nfs/v4/format.d.ts +23 -0
- package/lib/nfs/v4/format.js +870 -0
- package/lib/nfs/v4/format.js.map +1 -0
- package/lib/nfs/v4/index.d.ts +3 -1
- package/lib/nfs/v4/index.js +3 -1
- package/lib/nfs/v4/index.js.map +1 -1
- package/lib/nfs/v4/messages.d.ts +208 -90
- package/lib/nfs/v4/messages.js +585 -1
- package/lib/nfs/v4/messages.js.map +1 -1
- package/lib/nfs/v4/server/Nfsv4CompoundProcCtx.d.ts +30 -0
- package/lib/nfs/v4/server/Nfsv4CompoundProcCtx.js +176 -0
- package/lib/nfs/v4/server/Nfsv4CompoundProcCtx.js.map +1 -0
- package/lib/nfs/v4/server/Nfsv4Connection.d.ts +45 -0
- package/lib/nfs/v4/server/Nfsv4Connection.js +163 -0
- package/lib/nfs/v4/server/Nfsv4Connection.js.map +1 -0
- package/lib/nfs/v4/server/Nfsv4TcpServer.d.ts +25 -0
- package/lib/nfs/v4/server/Nfsv4TcpServer.js +92 -0
- package/lib/nfs/v4/server/Nfsv4TcpServer.js.map +1 -0
- package/lib/nfs/v4/server/operations/ByteRangeLock.d.ts +79 -0
- package/lib/nfs/v4/server/operations/ByteRangeLock.js +63 -0
- package/lib/nfs/v4/server/operations/ByteRangeLock.js.map +1 -0
- package/lib/nfs/v4/server/operations/ClientRecord.d.ts +110 -0
- package/lib/nfs/v4/server/operations/ClientRecord.js +70 -0
- package/lib/nfs/v4/server/operations/ClientRecord.js.map +1 -0
- package/lib/nfs/v4/server/operations/FilesystemStats.d.ts +30 -0
- package/lib/nfs/v4/server/operations/FilesystemStats.js +30 -0
- package/lib/nfs/v4/server/operations/FilesystemStats.js.map +1 -0
- package/lib/nfs/v4/server/operations/LockOwnerState.d.ts +82 -0
- package/lib/nfs/v4/server/operations/LockOwnerState.js +57 -0
- package/lib/nfs/v4/server/operations/LockOwnerState.js.map +1 -0
- package/lib/nfs/v4/server/operations/LockStateid.d.ts +64 -0
- package/lib/nfs/v4/server/operations/LockStateid.js +58 -0
- package/lib/nfs/v4/server/operations/LockStateid.js.map +1 -0
- package/lib/nfs/v4/server/operations/Nfsv4Operations.d.ts +45 -0
- package/lib/nfs/v4/server/operations/Nfsv4Operations.js +3 -0
- package/lib/nfs/v4/server/operations/Nfsv4Operations.js.map +1 -0
- package/lib/nfs/v4/server/operations/Nfsv4OperationsNotImpl.d.ts +42 -0
- package/lib/nfs/v4/server/operations/Nfsv4OperationsNotImpl.js +159 -0
- package/lib/nfs/v4/server/operations/Nfsv4OperationsNotImpl.js.map +1 -0
- package/lib/nfs/v4/server/operations/OpenFileState.d.ts +102 -0
- package/lib/nfs/v4/server/operations/OpenFileState.js +68 -0
- package/lib/nfs/v4/server/operations/OpenFileState.js.map +1 -0
- package/lib/nfs/v4/server/operations/OpenOwnerState.d.ts +83 -0
- package/lib/nfs/v4/server/operations/OpenOwnerState.js +58 -0
- package/lib/nfs/v4/server/operations/OpenOwnerState.js.map +1 -0
- package/lib/nfs/v4/server/operations/node/Nfsv4OperationsNode.d.ts +169 -0
- package/lib/nfs/v4/server/operations/node/Nfsv4OperationsNode.js +1474 -0
- package/lib/nfs/v4/server/operations/node/Nfsv4OperationsNode.js.map +1 -0
- package/lib/nfs/v4/server/operations/node/attrs.d.ts +17 -0
- package/lib/nfs/v4/server/operations/node/attrs.js +275 -0
- package/lib/nfs/v4/server/operations/node/attrs.js.map +1 -0
- package/lib/nfs/v4/server/operations/node/fh.d.ts +93 -0
- package/lib/nfs/v4/server/operations/node/fh.js +209 -0
- package/lib/nfs/v4/server/operations/node/fh.js.map +1 -0
- package/lib/nfs/v4/server/operations/node/util.d.ts +4 -0
- package/lib/nfs/v4/server/operations/node/util.js +17 -0
- package/lib/nfs/v4/server/operations/node/util.js.map +1 -0
- package/lib/nfs/v4/server/types.d.ts +4 -0
- package/lib/nfs/v4/server/types.js +3 -0
- package/lib/nfs/v4/server/types.js.map +1 -0
- package/lib/nfs/v4/server/util.d.ts +5 -0
- package/lib/nfs/v4/server/util.js +184 -0
- package/lib/nfs/v4/server/util.js.map +1 -0
- package/lib/nfs/v4/structs.d.ts +243 -56
- package/lib/nfs/v4/structs.js +367 -17
- package/lib/nfs/v4/structs.js.map +1 -1
- package/lib/resp/RespDecoder.d.ts +9 -0
- package/lib/resp/RespDecoder.js +93 -76
- package/lib/resp/RespDecoder.js.map +1 -1
- package/lib/resp/RespEncoder.d.ts +8 -0
- package/lib/resp/RespEncoder.js +107 -89
- package/lib/resp/RespEncoder.js.map +1 -1
- package/lib/resp/RespEncoderLegacy.d.ts +3 -0
- package/lib/resp/RespEncoderLegacy.js +7 -4
- package/lib/resp/RespEncoderLegacy.js.map +1 -1
- package/lib/resp/RespStreamingDecoder.d.ts +48 -0
- package/lib/resp/RespStreamingDecoder.js +48 -0
- package/lib/resp/RespStreamingDecoder.js.map +1 -1
- package/lib/resp/constants.d.ts +19 -19
- package/lib/rm/RmRecordDecoder.js.map +1 -1
- package/lib/rm/RmRecordEncoder.d.ts +17 -1
- package/lib/rm/RmRecordEncoder.js +40 -1
- package/lib/rm/RmRecordEncoder.js.map +1 -1
- package/lib/rpc/RpcMessageDecoder.d.ts +1 -1
- package/lib/rpc/RpcMessageDecoder.js +11 -8
- package/lib/rpc/RpcMessageDecoder.js.map +1 -1
- package/lib/rpc/RpcMessageEncoder.d.ts +2 -2
- package/lib/rpc/RpcMessageEncoder.js +6 -6
- package/lib/rpc/RpcMessageEncoder.js.map +1 -1
- package/lib/rpc/constants.d.ts +76 -28
- package/lib/rpc/constants.js +10 -0
- package/lib/rpc/constants.js.map +1 -1
- package/lib/ssh/SshDecoder.d.ts +47 -1
- package/lib/ssh/SshDecoder.js +52 -2
- package/lib/ssh/SshDecoder.js.map +1 -1
- package/lib/ssh/SshEncoder.d.ts +70 -1
- package/lib/ssh/SshEncoder.js +81 -8
- package/lib/ssh/SshEncoder.js.map +1 -1
- package/lib/ssh/index.d.ts +6 -0
- package/lib/ssh/index.js +6 -0
- package/lib/ssh/index.js.map +1 -1
- package/lib/ubjson/UbjsonDecoder.js +1 -1
- package/lib/ubjson/UbjsonDecoder.js.map +1 -1
- package/lib/ubjson/UbjsonEncoder.js +6 -5
- package/lib/ubjson/UbjsonEncoder.js.map +1 -1
- package/lib/util/CompressionTable.js +4 -4
- package/lib/util/CompressionTable.js.map +1 -1
- package/lib/util/DecompressionTable.js +3 -2
- package/lib/util/DecompressionTable.js.map +1 -1
- package/lib/ws/WsFrameDecoder.d.ts +18 -0
- package/lib/ws/WsFrameDecoder.js +18 -0
- package/lib/ws/WsFrameDecoder.js.map +1 -1
- package/lib/ws/WsFrameEncoder.d.ts +1 -1
- package/lib/ws/WsFrameEncoder.js +3 -3
- package/lib/ws/WsFrameEncoder.js.map +1 -1
- package/lib/ws/constants.js +5 -0
- package/lib/ws/constants.js.map +1 -1
- package/lib/xdr/XdrDecoder.d.ts +62 -0
- package/lib/xdr/XdrDecoder.js +73 -6
- package/lib/xdr/XdrDecoder.js.map +1 -1
- package/lib/xdr/XdrEncoder.d.ts +71 -0
- package/lib/xdr/XdrEncoder.js +88 -13
- package/lib/xdr/XdrEncoder.js.map +1 -1
- package/lib/xdr/XdrSchemaDecoder.d.ts +40 -0
- package/lib/xdr/XdrSchemaDecoder.js +52 -0
- package/lib/xdr/XdrSchemaDecoder.js.map +1 -1
- package/lib/xdr/XdrSchemaEncoder.d.ts +5 -0
- package/lib/xdr/XdrSchemaEncoder.js +9 -0
- package/lib/xdr/XdrSchemaEncoder.js.map +1 -1
- package/lib/xdr/XdrSchemaValidator.d.ts +9 -0
- package/lib/xdr/XdrSchemaValidator.js +42 -11
- package/lib/xdr/XdrSchemaValidator.js.map +1 -1
- package/lib/xdr/XdrUnion.d.ts +5 -0
- package/lib/xdr/XdrUnion.js +5 -0
- package/lib/xdr/XdrUnion.js.map +1 -1
- package/lib/xdr/index.d.ts +14 -0
- package/lib/xdr/index.js +14 -0
- package/lib/xdr/index.js.map +1 -1
- package/lib/xdr/types.d.ts +52 -0
- package/package.json +35 -56
- package/lib/nfs/v4/FullNfsv4Encoder.d.ts +0 -28
- package/lib/nfs/v4/FullNfsv4Encoder.js +0 -73
- package/lib/nfs/v4/FullNfsv4Encoder.js.map +0 -1
package/lib/nfs/v4/structs.d.ts
CHANGED
|
@@ -1,207 +1,394 @@
|
|
|
1
|
+
import type { XdrDecoder, XdrEncoder, XdrType } from '../../xdr';
|
|
1
2
|
import type { Nfsv4FType, Nfsv4TimeHow, Nfsv4DelegType } from './constants';
|
|
2
|
-
|
|
3
|
+
/**
|
|
4
|
+
* NFSv4 time structure (seconds and nanoseconds since epoch)
|
|
5
|
+
*/
|
|
6
|
+
export declare class Nfsv4Time implements XdrType {
|
|
3
7
|
readonly seconds: bigint;
|
|
4
8
|
readonly nseconds: number;
|
|
5
9
|
constructor(seconds: bigint, nseconds: number);
|
|
10
|
+
encode(xdr: XdrEncoder): void;
|
|
6
11
|
}
|
|
7
|
-
|
|
12
|
+
/**
|
|
13
|
+
* Special device file data (major/minor device numbers)
|
|
14
|
+
*/
|
|
15
|
+
export declare class Nfsv4SpecData implements XdrType {
|
|
8
16
|
readonly specdata1: number;
|
|
9
17
|
readonly specdata2: number;
|
|
10
18
|
constructor(specdata1: number, specdata2: number);
|
|
19
|
+
encode(xdr: XdrEncoder): void;
|
|
11
20
|
}
|
|
12
|
-
|
|
21
|
+
/**
|
|
22
|
+
* NFSv4 file handle
|
|
23
|
+
*/
|
|
24
|
+
export declare class Nfsv4Fh implements XdrType {
|
|
13
25
|
readonly data: Uint8Array;
|
|
14
26
|
constructor(data: Uint8Array);
|
|
27
|
+
encode(xdr: XdrEncoder): void;
|
|
15
28
|
}
|
|
16
|
-
|
|
29
|
+
/**
|
|
30
|
+
* NFSv4 verifier (8 bytes)
|
|
31
|
+
*/
|
|
32
|
+
export declare class Nfsv4Verifier implements XdrType {
|
|
17
33
|
readonly data: Uint8Array;
|
|
18
34
|
constructor(data: Uint8Array);
|
|
35
|
+
encode(xdr: XdrEncoder): void;
|
|
19
36
|
}
|
|
20
|
-
|
|
37
|
+
/**
|
|
38
|
+
* File system identifier
|
|
39
|
+
*/
|
|
40
|
+
export declare class Nfsv4Fsid implements XdrType {
|
|
21
41
|
readonly major: bigint;
|
|
22
42
|
readonly minor: bigint;
|
|
23
43
|
constructor(major: bigint, minor: bigint);
|
|
44
|
+
encode(xdr: XdrEncoder): void;
|
|
24
45
|
}
|
|
25
|
-
|
|
46
|
+
/**
|
|
47
|
+
* Stateid structure for state management
|
|
48
|
+
*/
|
|
49
|
+
export declare class Nfsv4Stateid implements XdrType {
|
|
26
50
|
readonly seqid: number;
|
|
27
51
|
readonly other: Uint8Array;
|
|
52
|
+
static decode(xdr: XdrDecoder): Nfsv4Stateid;
|
|
28
53
|
constructor(seqid: number, other: Uint8Array);
|
|
54
|
+
encode(xdr: XdrEncoder): void;
|
|
29
55
|
}
|
|
30
|
-
|
|
56
|
+
/**
|
|
57
|
+
* Change information for directory operations
|
|
58
|
+
*/
|
|
59
|
+
export declare class Nfsv4ChangeInfo implements XdrType {
|
|
31
60
|
readonly atomic: boolean;
|
|
32
61
|
readonly before: bigint;
|
|
33
62
|
readonly after: bigint;
|
|
34
63
|
constructor(atomic: boolean, before: bigint, after: bigint);
|
|
64
|
+
encode(xdr: XdrEncoder): void;
|
|
35
65
|
}
|
|
36
|
-
|
|
66
|
+
/**
|
|
67
|
+
* Set time discriminated union
|
|
68
|
+
*/
|
|
69
|
+
export declare class Nfsv4SetTime implements XdrType {
|
|
37
70
|
readonly how: Nfsv4TimeHow;
|
|
38
71
|
readonly time?: Nfsv4Time | undefined;
|
|
39
72
|
constructor(how: Nfsv4TimeHow, time?: Nfsv4Time | undefined);
|
|
73
|
+
encode(xdr: XdrEncoder): void;
|
|
40
74
|
}
|
|
41
|
-
|
|
75
|
+
/**
|
|
76
|
+
* Bitmap for attribute mask
|
|
77
|
+
*/
|
|
78
|
+
export declare class Nfsv4Bitmap implements XdrType {
|
|
42
79
|
readonly mask: number[];
|
|
43
80
|
constructor(mask: number[]);
|
|
81
|
+
encode(xdr: XdrEncoder): void;
|
|
44
82
|
}
|
|
45
|
-
|
|
83
|
+
/**
|
|
84
|
+
* File attributes structure
|
|
85
|
+
*/
|
|
86
|
+
export declare class Nfsv4Fattr implements XdrType {
|
|
46
87
|
readonly attrmask: Nfsv4Bitmap;
|
|
47
88
|
readonly attrVals: Uint8Array;
|
|
48
89
|
constructor(attrmask: Nfsv4Bitmap, attrVals: Uint8Array);
|
|
90
|
+
encode(xdr: XdrEncoder): void;
|
|
49
91
|
}
|
|
50
|
-
|
|
92
|
+
/**
|
|
93
|
+
* Client address for callbacks
|
|
94
|
+
*/
|
|
95
|
+
export declare class Nfsv4ClientAddr implements XdrType {
|
|
51
96
|
readonly rNetid: string;
|
|
52
97
|
readonly rAddr: string;
|
|
53
98
|
constructor(rNetid: string, rAddr: string);
|
|
99
|
+
encode(xdr: XdrEncoder): void;
|
|
54
100
|
}
|
|
55
|
-
|
|
101
|
+
/**
|
|
102
|
+
* Callback client information
|
|
103
|
+
*/
|
|
104
|
+
export declare class Nfsv4CbClient implements XdrType {
|
|
56
105
|
readonly cbProgram: number;
|
|
57
106
|
readonly cbLocation: Nfsv4ClientAddr;
|
|
58
107
|
constructor(cbProgram: number, cbLocation: Nfsv4ClientAddr);
|
|
108
|
+
encode(xdr: XdrEncoder): void;
|
|
59
109
|
}
|
|
60
|
-
|
|
110
|
+
/**
|
|
111
|
+
* NFS client identifier
|
|
112
|
+
*/
|
|
113
|
+
export declare class Nfsv4ClientId implements XdrType {
|
|
61
114
|
readonly verifier: Nfsv4Verifier;
|
|
62
115
|
readonly id: Uint8Array;
|
|
63
116
|
constructor(verifier: Nfsv4Verifier, id: Uint8Array);
|
|
117
|
+
encode(xdr: XdrEncoder): void;
|
|
64
118
|
}
|
|
65
|
-
|
|
119
|
+
/**
|
|
120
|
+
* Open owner identification
|
|
121
|
+
*/
|
|
122
|
+
export declare class Nfsv4OpenOwner implements XdrType {
|
|
66
123
|
readonly clientid: bigint;
|
|
67
124
|
readonly owner: Uint8Array;
|
|
68
125
|
constructor(clientid: bigint, owner: Uint8Array);
|
|
126
|
+
encode(xdr: XdrEncoder): void;
|
|
69
127
|
}
|
|
70
|
-
|
|
128
|
+
/**
|
|
129
|
+
* Lock owner identification
|
|
130
|
+
*/
|
|
131
|
+
export declare class Nfsv4LockOwner implements XdrType {
|
|
71
132
|
readonly clientid: bigint;
|
|
72
133
|
readonly owner: Uint8Array;
|
|
73
134
|
constructor(clientid: bigint, owner: Uint8Array);
|
|
135
|
+
encode(xdr: XdrEncoder): void;
|
|
74
136
|
}
|
|
75
|
-
|
|
137
|
+
/**
|
|
138
|
+
* Open to lock owner transition
|
|
139
|
+
*/
|
|
140
|
+
export declare class Nfsv4OpenToLockOwner implements XdrType {
|
|
76
141
|
readonly openSeqid: number;
|
|
77
142
|
readonly openStateid: Nfsv4Stateid;
|
|
78
143
|
readonly lockSeqid: number;
|
|
79
144
|
readonly lockOwner: Nfsv4LockOwner;
|
|
80
145
|
constructor(openSeqid: number, openStateid: Nfsv4Stateid, lockSeqid: number, lockOwner: Nfsv4LockOwner);
|
|
146
|
+
encode(xdr: XdrEncoder): void;
|
|
81
147
|
}
|
|
82
|
-
|
|
148
|
+
/**
|
|
149
|
+
* File system location
|
|
150
|
+
*/
|
|
151
|
+
export declare class Nfsv4FsLocation implements XdrType {
|
|
83
152
|
readonly server: string[];
|
|
84
153
|
readonly rootpath: string[];
|
|
85
154
|
constructor(server: string[], rootpath: string[]);
|
|
155
|
+
encode(xdr: XdrEncoder): void;
|
|
86
156
|
}
|
|
87
|
-
|
|
157
|
+
/**
|
|
158
|
+
* File system locations for migration/replication
|
|
159
|
+
*/
|
|
160
|
+
export declare class Nfsv4FsLocations implements XdrType {
|
|
88
161
|
readonly fsRoot: string[];
|
|
89
162
|
readonly locations: Nfsv4FsLocation[];
|
|
90
163
|
constructor(fsRoot: string[], locations: Nfsv4FsLocation[]);
|
|
164
|
+
encode(xdr: XdrEncoder): void;
|
|
91
165
|
}
|
|
92
|
-
|
|
166
|
+
/**
|
|
167
|
+
* Access Control Entry (ACE)
|
|
168
|
+
*/
|
|
169
|
+
export declare class Nfsv4Ace implements XdrType {
|
|
93
170
|
readonly type: number;
|
|
94
171
|
readonly flag: number;
|
|
95
172
|
readonly accessMask: number;
|
|
96
173
|
readonly who: string;
|
|
97
174
|
constructor(type: number, flag: number, accessMask: number, who: string);
|
|
175
|
+
encode(xdr: XdrEncoder): void;
|
|
98
176
|
}
|
|
99
|
-
|
|
177
|
+
/**
|
|
178
|
+
* Access Control List
|
|
179
|
+
*/
|
|
180
|
+
export declare class Nfsv4Acl implements XdrType {
|
|
100
181
|
readonly aces: Nfsv4Ace[];
|
|
101
182
|
constructor(aces: Nfsv4Ace[]);
|
|
183
|
+
encode(xdr: XdrEncoder): void;
|
|
102
184
|
}
|
|
103
|
-
|
|
185
|
+
/**
|
|
186
|
+
* Security information
|
|
187
|
+
*/
|
|
188
|
+
export declare class Nfsv4SecInfo implements XdrType {
|
|
104
189
|
readonly flavor: number;
|
|
105
190
|
readonly flavorInfo?: Uint8Array | undefined;
|
|
106
191
|
constructor(flavor: number, flavorInfo?: Uint8Array | undefined);
|
|
192
|
+
encode(xdr: XdrEncoder): void;
|
|
107
193
|
}
|
|
108
|
-
|
|
194
|
+
/**
|
|
195
|
+
* Open create attributes for UNCHECKED4 and GUARDED4 modes
|
|
196
|
+
*/
|
|
197
|
+
export declare class Nfsv4CreateAttrs implements XdrType {
|
|
198
|
+
readonly createattrs: Nfsv4Fattr;
|
|
199
|
+
constructor(createattrs: Nfsv4Fattr);
|
|
200
|
+
encode(xdr: XdrEncoder): void;
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* Open create attributes for EXCLUSIVE4 mode
|
|
204
|
+
*/
|
|
205
|
+
export declare class Nfsv4CreateVerf implements XdrType {
|
|
206
|
+
readonly createverf: Nfsv4Verifier;
|
|
207
|
+
constructor(createverf: Nfsv4Verifier);
|
|
208
|
+
encode(xdr: XdrEncoder): void;
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* Open create mode discriminated union
|
|
212
|
+
*/
|
|
213
|
+
export declare class Nfsv4CreateHow implements XdrType {
|
|
214
|
+
readonly mode: number;
|
|
215
|
+
readonly how?: (Nfsv4CreateAttrs | Nfsv4CreateVerf) | undefined;
|
|
216
|
+
constructor(mode: number, how?: (Nfsv4CreateAttrs | Nfsv4CreateVerf) | undefined);
|
|
217
|
+
encode(xdr: XdrEncoder): void;
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* Open how discriminated union
|
|
221
|
+
*/
|
|
222
|
+
export declare class Nfsv4OpenHow implements XdrType {
|
|
223
|
+
readonly opentype: number;
|
|
224
|
+
readonly how?: Nfsv4CreateHow | undefined;
|
|
225
|
+
constructor(opentype: number, how?: Nfsv4CreateHow | undefined);
|
|
226
|
+
encode(xdr: XdrEncoder): void;
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Open claim - claim file by name
|
|
230
|
+
*/
|
|
231
|
+
export declare class Nfsv4OpenClaimNull implements XdrType {
|
|
109
232
|
readonly file: string;
|
|
110
233
|
constructor(file: string);
|
|
234
|
+
encode(xdr: XdrEncoder): void;
|
|
111
235
|
}
|
|
112
|
-
|
|
236
|
+
/**
|
|
237
|
+
* Open claim - reclaim after server restart
|
|
238
|
+
*/
|
|
239
|
+
export declare class Nfsv4OpenClaimPrevious implements XdrType {
|
|
113
240
|
readonly delegateType: Nfsv4DelegType;
|
|
114
241
|
constructor(delegateType: Nfsv4DelegType);
|
|
242
|
+
encode(xdr: XdrEncoder): void;
|
|
115
243
|
}
|
|
116
|
-
|
|
244
|
+
/**
|
|
245
|
+
* Open claim - claim file delegated to client
|
|
246
|
+
*/
|
|
247
|
+
export declare class Nfsv4OpenClaimDelegateCur implements XdrType {
|
|
117
248
|
readonly delegateStateid: Nfsv4Stateid;
|
|
118
249
|
readonly file: string;
|
|
119
250
|
constructor(delegateStateid: Nfsv4Stateid, file: string);
|
|
251
|
+
encode(xdr: XdrEncoder): void;
|
|
120
252
|
}
|
|
121
|
-
|
|
253
|
+
/**
|
|
254
|
+
* Open claim - reclaim delegation after client restart
|
|
255
|
+
*/
|
|
256
|
+
export declare class Nfsv4OpenClaimDelegatePrev implements XdrType {
|
|
122
257
|
readonly file: string;
|
|
123
258
|
constructor(file: string);
|
|
259
|
+
encode(xdr: XdrEncoder): void;
|
|
124
260
|
}
|
|
125
|
-
|
|
261
|
+
/**
|
|
262
|
+
* Open claim discriminated union
|
|
263
|
+
*/
|
|
264
|
+
export declare class Nfsv4OpenClaim implements XdrType {
|
|
126
265
|
readonly claimType: number;
|
|
127
266
|
readonly claim: Nfsv4OpenClaimNull | Nfsv4OpenClaimPrevious | Nfsv4OpenClaimDelegateCur | Nfsv4OpenClaimDelegatePrev;
|
|
128
267
|
constructor(claimType: number, claim: Nfsv4OpenClaimNull | Nfsv4OpenClaimPrevious | Nfsv4OpenClaimDelegateCur | Nfsv4OpenClaimDelegatePrev);
|
|
268
|
+
encode(xdr: XdrEncoder): void;
|
|
129
269
|
}
|
|
130
|
-
|
|
270
|
+
/**
|
|
271
|
+
* Read delegation
|
|
272
|
+
*/
|
|
273
|
+
export declare class Nfsv4OpenReadDelegation implements XdrType {
|
|
131
274
|
readonly stateid: Nfsv4Stateid;
|
|
132
275
|
readonly recall: boolean;
|
|
133
276
|
readonly permissions: Nfsv4Ace[];
|
|
134
277
|
constructor(stateid: Nfsv4Stateid, recall: boolean, permissions: Nfsv4Ace[]);
|
|
278
|
+
encode(xdr: XdrEncoder): void;
|
|
135
279
|
}
|
|
136
|
-
|
|
280
|
+
/**
|
|
281
|
+
* Write delegation
|
|
282
|
+
*/
|
|
283
|
+
export declare class Nfsv4OpenWriteDelegation implements XdrType {
|
|
137
284
|
readonly stateid: Nfsv4Stateid;
|
|
138
285
|
readonly recall: boolean;
|
|
139
286
|
readonly spaceLimit: bigint;
|
|
140
287
|
readonly permissions: Nfsv4Ace[];
|
|
141
288
|
constructor(stateid: Nfsv4Stateid, recall: boolean, spaceLimit: bigint, permissions: Nfsv4Ace[]);
|
|
289
|
+
encode(xdr: XdrEncoder): void;
|
|
142
290
|
}
|
|
143
|
-
|
|
291
|
+
/**
|
|
292
|
+
* Open delegation discriminated union
|
|
293
|
+
*/
|
|
294
|
+
export declare class Nfsv4OpenDelegation implements XdrType {
|
|
144
295
|
readonly delegationType: Nfsv4DelegType;
|
|
145
|
-
readonly delegation?: Nfsv4OpenReadDelegation | Nfsv4OpenWriteDelegation | undefined;
|
|
146
|
-
constructor(delegationType: Nfsv4DelegType, delegation?: Nfsv4OpenReadDelegation | Nfsv4OpenWriteDelegation | undefined);
|
|
147
|
-
|
|
148
|
-
|
|
296
|
+
readonly delegation?: (Nfsv4OpenReadDelegation | Nfsv4OpenWriteDelegation) | undefined;
|
|
297
|
+
constructor(delegationType: Nfsv4DelegType, delegation?: (Nfsv4OpenReadDelegation | Nfsv4OpenWriteDelegation) | undefined);
|
|
298
|
+
encode(xdr: XdrEncoder): void;
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* Directory entry for READDIR
|
|
302
|
+
*/
|
|
303
|
+
export declare class Nfsv4Entry implements XdrType {
|
|
149
304
|
readonly cookie: bigint;
|
|
150
305
|
readonly name: string;
|
|
151
306
|
readonly attrs: Nfsv4Fattr;
|
|
152
307
|
readonly nextEntry?: Nfsv4Entry | undefined;
|
|
153
308
|
constructor(cookie: bigint, name: string, attrs: Nfsv4Fattr, nextEntry?: Nfsv4Entry | undefined);
|
|
309
|
+
encode(xdr: XdrEncoder): void;
|
|
154
310
|
}
|
|
155
|
-
|
|
311
|
+
/**
|
|
312
|
+
* Lock request with new lock owner
|
|
313
|
+
*/
|
|
314
|
+
export declare class Nfsv4LockNewOwner implements XdrType {
|
|
156
315
|
readonly openToLockOwner: Nfsv4OpenToLockOwner;
|
|
157
316
|
constructor(openToLockOwner: Nfsv4OpenToLockOwner);
|
|
317
|
+
encode(xdr: XdrEncoder): void;
|
|
158
318
|
}
|
|
159
|
-
|
|
319
|
+
/**
|
|
320
|
+
* Lock request with existing lock owner
|
|
321
|
+
*/
|
|
322
|
+
export declare class Nfsv4LockExistingOwner implements XdrType {
|
|
160
323
|
readonly lockStateid: Nfsv4Stateid;
|
|
161
324
|
readonly lockSeqid: number;
|
|
162
325
|
constructor(lockStateid: Nfsv4Stateid, lockSeqid: number);
|
|
326
|
+
encode(xdr: XdrEncoder): void;
|
|
163
327
|
}
|
|
164
|
-
|
|
328
|
+
/**
|
|
329
|
+
* Lock owner discriminated union
|
|
330
|
+
*/
|
|
331
|
+
export declare class Nfsv4LockOwnerInfo implements XdrType {
|
|
165
332
|
readonly newLockOwner: boolean;
|
|
166
333
|
readonly owner: Nfsv4LockNewOwner | Nfsv4LockExistingOwner;
|
|
167
334
|
constructor(newLockOwner: boolean, owner: Nfsv4LockNewOwner | Nfsv4LockExistingOwner);
|
|
335
|
+
encode(xdr: XdrEncoder): void;
|
|
168
336
|
}
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
export declare class Nfsv4CreateTypeLink {
|
|
337
|
+
/**
|
|
338
|
+
* Create type for symbolic link
|
|
339
|
+
*/
|
|
340
|
+
export declare class Nfsv4CreateTypeLink implements XdrType {
|
|
174
341
|
readonly linkdata: string;
|
|
175
|
-
|
|
176
|
-
|
|
342
|
+
constructor(linkdata: string);
|
|
343
|
+
encode(xdr: XdrEncoder): void;
|
|
177
344
|
}
|
|
178
|
-
|
|
345
|
+
/**
|
|
346
|
+
* Create type for device files
|
|
347
|
+
*/
|
|
348
|
+
export declare class Nfsv4CreateTypeDevice implements XdrType {
|
|
179
349
|
readonly devdata: Nfsv4SpecData;
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
350
|
+
constructor(devdata: Nfsv4SpecData);
|
|
351
|
+
encode(xdr: XdrEncoder): void;
|
|
352
|
+
}
|
|
353
|
+
/**
|
|
354
|
+
* Create type for other file types (void)
|
|
355
|
+
*/
|
|
356
|
+
export declare class Nfsv4CreateTypeVoid implements XdrType {
|
|
357
|
+
encode(xdr: XdrEncoder): void;
|
|
358
|
+
}
|
|
359
|
+
/**
|
|
360
|
+
* Create type discriminated union
|
|
361
|
+
*/
|
|
362
|
+
export declare class Nfsv4CreateType implements XdrType {
|
|
188
363
|
readonly type: Nfsv4FType;
|
|
189
|
-
readonly objtype:
|
|
190
|
-
constructor(type: Nfsv4FType, objtype:
|
|
364
|
+
readonly objtype: Nfsv4CreateTypeLink | Nfsv4CreateTypeDevice | Nfsv4CreateTypeVoid;
|
|
365
|
+
constructor(type: Nfsv4FType, objtype: Nfsv4CreateTypeLink | Nfsv4CreateTypeDevice | Nfsv4CreateTypeVoid);
|
|
366
|
+
encode(xdr: XdrEncoder): void;
|
|
191
367
|
}
|
|
368
|
+
/**
|
|
369
|
+
* RPCSEC_GSS service
|
|
370
|
+
*/
|
|
192
371
|
export declare const enum Nfsv4RpcSecGssService {
|
|
193
372
|
RPC_GSS_SVC_NONE = 1,
|
|
194
373
|
RPC_GSS_SVC_INTEGRITY = 2,
|
|
195
374
|
RPC_GSS_SVC_PRIVACY = 3
|
|
196
375
|
}
|
|
197
|
-
|
|
376
|
+
/**
|
|
377
|
+
* RPCSEC_GSS information
|
|
378
|
+
*/
|
|
379
|
+
export declare class Nfsv4RpcSecGssInfo implements XdrType {
|
|
198
380
|
readonly oid: Uint8Array;
|
|
199
381
|
readonly qop: number;
|
|
200
382
|
readonly service: Nfsv4RpcSecGssService;
|
|
201
383
|
constructor(oid: Uint8Array, qop: number, service: Nfsv4RpcSecGssService);
|
|
384
|
+
encode(xdr: XdrEncoder): void;
|
|
202
385
|
}
|
|
203
|
-
|
|
386
|
+
/**
|
|
387
|
+
* Security flavor info discriminated union
|
|
388
|
+
*/
|
|
389
|
+
export declare class Nfsv4SecInfoFlavor implements XdrType {
|
|
204
390
|
readonly flavor: number;
|
|
205
391
|
readonly flavorInfo?: Nfsv4RpcSecGssInfo | undefined;
|
|
206
392
|
constructor(flavor: number, flavorInfo?: Nfsv4RpcSecGssInfo | undefined);
|
|
393
|
+
encode(xdr: XdrEncoder): void;
|
|
207
394
|
}
|