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