node-test-bed-adapter
Version:
An adapter to connect a node.js application to the Test-bed's Common Information Space or Common Simulation Space.
59 lines (58 loc) • 1.8 kB
text/typescript
/**
* The default key, as used in the test-bed, is based on the required fields of an EDXL 2.0 Distribution Element.
*/
export interface IDefaultKey {
/**
* The unique identifier of this distribution message.
*/
distributionID: string;
/**
* The unique identifier of the sender.
*/
senderID: string;
/**
* The date and time the distribution message was sent as the number of milliseconds
* from the UNIX epoch, 1 January 1970 00:00:00.000 UTC.
*/
dateTimeSent: number;
/**
* The date and time the distribution message should expire as the number of milliseconds
* from the UNIX epoch, 1 January 1970 00:00:00.000 UTC.
*/
dateTimeExpires: number;
/**
* The action-ability of the message.
*/
distributionStatus: 'Actual' | 'Exercise' | 'System' | 'Test' | 'Unknown' | 'NoAppropriateDefault';
/**
* The function of the message.
*/
distributionKind: 'Report' | 'Update' | 'Cancel' | 'Request' | 'Response' | 'Dispatch' | 'Ack' | 'Error' | 'SensorConfiguration' | 'SensorControl' | 'SensorStatus' | 'SensorDetection' | 'Unknown' | 'NoAppropriateDefault';
}
/** The default key is either a string, or an EDXLDistribution message */
export declare const defaultKeySchema: (string | {
type: string;
name: string;
namespace: string;
doc: string;
fields: ({
name: string;
type: string;
doc: string;
logicalType?: undefined;
} | {
name: string;
type: string;
doc: string;
logicalType: string;
} | {
name: string;
type: {
type: string;
name: string;
symbols: string[];
};
doc: string;
logicalType?: undefined;
})[];
})[];