Variable $NewMessageViewModelConst
$NewMessageViewModel: {
description: "View Model for the New Message Feature.";
properties: {
code: {
isRequired: true;
type: "number";
};
errorCode: {
contains: readonly [{
type: "number";
}, {
type: "null";
}];
type: "any-of";
};
errorMessage: {
contains: readonly [{
type: "string";
}, {
type: "null";
}];
type: "any-of";
};
errorName: {
contains: readonly [{
type: "string";
}, {
type: "null";
}];
type: "any-of";
};
errorType: {
contains: readonly [{
type: "string";
}, {
type: "null";
}];
type: "any-of";
};
message_id: {
description: "ID of the newly created message.";
isRequired: true;
type: "number";
};
status: {
isRequired: true;
type: "boolean";
};
};
} = ...
Type declaration
Readonly description: "View Model for the New Message Feature."
Readonly properties: {
code: {
isRequired: true;
type: "number";
};
errorCode: {
contains: readonly [{
type: "number";
}, {
type: "null";
}];
type: "any-of";
};
errorMessage: {
contains: readonly [{
type: "string";
}, {
type: "null";
}];
type: "any-of";
};
errorName: {
contains: readonly [{
type: "string";
}, {
type: "null";
}];
type: "any-of";
};
errorType: {
contains: readonly [{
type: "string";
}, {
type: "null";
}];
type: "any-of";
};
message_id: {
description: "ID of the newly created message.";
isRequired: true;
type: "number";
};
status: {
isRequired: true;
type: "boolean";
};
}
Readonly code: {
isRequired: true;
type: "number";
}
Readonly isRequired: true
Readonly type: "number"
Readonly errorCode: {
contains: readonly [{
type: "number";
}, {
type: "null";
}];
type: "any-of";
}
Readonly contains: readonly [{
type: "number";
}, {
type: "null";
}]
Readonly type: "any-of"
Readonly errorMessage: {
contains: readonly [{
type: "string";
}, {
type: "null";
}];
type: "any-of";
}
Readonly contains: readonly [{
type: "string";
}, {
type: "null";
}]
Readonly type: "any-of"
Readonly errorName: {
contains: readonly [{
type: "string";
}, {
type: "null";
}];
type: "any-of";
}
Readonly contains: readonly [{
type: "string";
}, {
type: "null";
}]
Readonly type: "any-of"
Readonly errorType: {
contains: readonly [{
type: "string";
}, {
type: "null";
}];
type: "any-of";
}
Readonly contains: readonly [{
type: "string";
}, {
type: "null";
}]
Readonly type: "any-of"
Readonly message_id: {
description: "ID of the newly created message.";
isRequired: true;
type: "number";
}
Readonly description: "ID of the newly created message."
Readonly isRequired: true
Readonly type: "number"
Readonly status: {
isRequired: true;
type: "boolean";
}
Readonly isRequired: true
Readonly type: "boolean"