Move src into codec, protocol, messages, session, client and server
Mirror / push (push) Has been cancelled
Test / lint (pull_request) Successful in 22s
Test / test (18) (pull_request) Successful in 32s
Test / test (20) (pull_request) Successful in 29s
Test / test (22) (pull_request) Successful in 32s
Test / test (24) (pull_request) Successful in 29s
Test / test (26) (pull_request) Successful in 36s
Mirror / push (push) Has been cancelled
Test / lint (pull_request) Successful in 22s
Test / test (18) (pull_request) Successful in 32s
Test / test (20) (pull_request) Successful in 29s
Test / test (22) (pull_request) Successful in 32s
Test / test (24) (pull_request) Successful in 29s
Test / test (26) (pull_request) Successful in 36s
This commit is contained in:
+49
-31
@@ -1,13 +1,20 @@
|
||||
export { client } from './client.ts';
|
||||
export { server, SmppServer } from './server.ts';
|
||||
import { cmds, cmdsById } from './codec/commands.ts';
|
||||
import { consts, constsById } from './codec/constants.ts';
|
||||
import { encodings } from './codec/encodings.ts';
|
||||
import { errors, errorsById } from './codec/statuses.ts';
|
||||
import { tlvs, tlvsById } from './codec/tlvs.ts';
|
||||
import { types } from './codec/field-types.ts';
|
||||
|
||||
export { client } from './client/client.ts';
|
||||
export { server, SmppServer } from './server/server.ts';
|
||||
export { Session } from './session.ts';
|
||||
|
||||
export { cmds, cmdsById, commandNameById, isCommandName } from './defs/commands.ts';
|
||||
export { consts, constsById } from './defs/constants.ts';
|
||||
export { dataCodingByEncoding, detect, encodingByDataCoding, encodings, isEncodingName, messageClassOf, unencodable } from './defs/encodings.ts';
|
||||
export { errorNameById, errors, errorsById, isErrorName } from './defs/errors.ts';
|
||||
export { isTlvName, tlvs, tlvsById } from './defs/tlvs.ts';
|
||||
export { types } from './defs/types.ts';
|
||||
export { cmds, cmdsById, commandNameById, isCommandName } from './codec/commands.ts';
|
||||
export { consts, constsById } from './codec/constants.ts';
|
||||
export { dataCodingByEncoding, detect, encodingByDataCoding, encodings, isEncodingName, messageClassOf, unencodable } from './codec/encodings.ts';
|
||||
export { errorNameById, errors, errorsById, isErrorName } from './codec/statuses.ts';
|
||||
export { isTlvName, tlvs, tlvsById } from './codec/tlvs.ts';
|
||||
export { types } from './codec/field-types.ts';
|
||||
|
||||
export {
|
||||
isCommand,
|
||||
@@ -16,9 +23,9 @@ export {
|
||||
objToPdu,
|
||||
pduReturn,
|
||||
pduToObj,
|
||||
} from './pdu.ts';
|
||||
} from './codec/pdu.ts';
|
||||
|
||||
export { maxPduLength, PduRefusedError } from './pdu-refusal.ts';
|
||||
export { maxPduLength, PduRefusedError } from './codec/refusal.ts';
|
||||
|
||||
export {
|
||||
bitCount,
|
||||
@@ -29,27 +36,27 @@ export {
|
||||
splitMessage,
|
||||
} from './message.ts';
|
||||
|
||||
export { dlrFromPdu, parseReceipt, receiptCodes } from './dlr.ts';
|
||||
export { messageOctets } from './message-body.ts';
|
||||
export { concatOf } from './concat.ts';
|
||||
export { concatInfo } from './udh.ts';
|
||||
export { PduFramer } from './pdu-framer.ts';
|
||||
export { uuidv7 } from './uuid.ts';
|
||||
export { dlrFromPdu, parseReceipt, receiptCodes } from './protocol/receipt.ts';
|
||||
export { messageOctets } from './protocol/message-body.ts';
|
||||
export { concatOf } from './protocol/concat.ts';
|
||||
export { concatInfo } from './protocol/udh.ts';
|
||||
export { PduFramer } from './codec/framer.ts';
|
||||
export { uuidv7 } from './protocol/uuid.ts';
|
||||
|
||||
export type { BindType, ClientOptions } from './client.ts';
|
||||
export type { Dlr, Receipt } from './dlr.ts';
|
||||
export type { BindType, ClientOptions } from './client/client.ts';
|
||||
export type { Dlr, Receipt } from './protocol/receipt.ts';
|
||||
export type { SendDlrResult, SendRespOptions, Sms } from './sms.ts';
|
||||
export type { Concat } from './concat.ts';
|
||||
export type { ConcatInfo } from './udh.ts';
|
||||
export type { Concat } from './protocol/concat.ts';
|
||||
export type { ConcatInfo } from './protocol/udh.ts';
|
||||
export type { Result, VoidResult } from './result.ts';
|
||||
export type { SmppLog } from './log.ts';
|
||||
export type { SmsIdFormat, SmsIdNotation } from './sms-id.ts';
|
||||
export type { SmsIdFormat, SmsIdNotation } from './protocol/message-ids.ts';
|
||||
export type {
|
||||
AuthenticateInput,
|
||||
AuthenticateResult,
|
||||
ServerEvents,
|
||||
ServerOptions,
|
||||
} from './server.ts';
|
||||
} from './server/server.ts';
|
||||
export type {
|
||||
CloseOptions,
|
||||
MessageDlr,
|
||||
@@ -60,15 +67,26 @@ export type {
|
||||
SessionEvents,
|
||||
SessionOptions,
|
||||
} from './session.ts';
|
||||
export type { CommandName, PduParams, PduParamsInput } from './defs/commands.ts';
|
||||
export type { ConstGroup, MessageState, SubmitMessagingMode } from './defs/constants.ts';
|
||||
export type { Encoding, EncodingName, Unencodable } from './defs/encodings.ts';
|
||||
export type { ErrorName } from './defs/errors.ts';
|
||||
export type { PduObject, PduObjectInput, TlvInputs } from './pdu.ts';
|
||||
export type { PduHeader } from './pdu-refusal.ts';
|
||||
export type { CommandName, PduParams, PduParamsInput } from './codec/commands.ts';
|
||||
export type { ConstGroup, MessageState, SubmitMessagingMode } from './codec/constants.ts';
|
||||
export type { Encoding, EncodingName, Unencodable } from './codec/encodings.ts';
|
||||
export type { ErrorName } from './codec/statuses.ts';
|
||||
export type { PduObject, PduObjectInput, TlvInputs } from './codec/pdu.ts';
|
||||
export type { PduHeader } from './codec/refusal.ts';
|
||||
export type { SplitOptions } from './message.ts';
|
||||
export type { Tlv, TlvDefinition, TlvName, Tlvs } from './defs/tlvs.ts';
|
||||
export type { DestAddress, ParamValue, TlvValue, UnsuccessSme, WireType } from './defs/types.ts';
|
||||
export type { Tlv, TlvDefinition, TlvName, Tlvs } from './codec/tlvs.ts';
|
||||
export type { DestAddress, ParamValue, TlvValue, UnsuccessSme, WireType } from './codec/field-types.ts';
|
||||
|
||||
/** The spec tables, grouped the way `larvitsmpp.defs` was in 0.4.0. */
|
||||
export { defs } from './defs/index.ts';
|
||||
export const defs = {
|
||||
cmds,
|
||||
cmdsById,
|
||||
consts,
|
||||
constsById,
|
||||
encodings,
|
||||
errors,
|
||||
errorsById,
|
||||
tlvs,
|
||||
tlvsById,
|
||||
types,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user