File size: 990 Bytes
e5de7b5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | /**
* Warning from the model.
*
* For example, that certain features are unsupported or compatibility
* functionality is used (which might lead to suboptimal results).
*/
export type SharedV3Warning =
| {
/**
* A feature is not supported by the model.
*/
type: 'unsupported';
/**
* The feature that is not supported.
*/
feature: string;
/**
* Additional details about the warning.
*/
details?: string;
}
| {
/**
* A compatibility feature is used that might lead to suboptimal results.
*/
type: 'compatibility';
/**
* The feature that is used in a compatibility mode.
*/
feature: string;
/**
* Additional details about the warning.
*/
details?: string;
}
| {
/**
* Other warning.
*/
type: 'other';
/**
* The message of the warning.
*/
message: string;
};
|