2023-02-21 13:23:07 -06:00
|
|
|
import { RecordValueType } from '../enums/RecordValueType.js';
|
|
|
|
|
import { type File } from './File.js';
|
|
|
|
|
import { RecordValue } from './RecordValue.js';
|
2023-02-13 17:05:50 -06:00
|
|
|
|
2023-02-20 21:08:22 -06:00
|
|
|
/**
|
|
|
|
|
* @class FileListRecordValue - Represents a file list record value.
|
|
|
|
|
*/
|
2023-02-13 17:05:50 -06:00
|
|
|
export class FileListRecordValue extends RecordValue<File[]> {
|
2023-02-20 21:08:22 -06:00
|
|
|
/**
|
|
|
|
|
* @constructor - Creates a new instance of FileListRecordValue.
|
|
|
|
|
* @param {number} fieldId - The id of the field.
|
|
|
|
|
* @param {File[]} value - The value of the field.
|
|
|
|
|
* @returns {FileListRecordValue} - A new instance of FileListRecordValue.
|
|
|
|
|
*/
|
2023-02-13 17:05:50 -06:00
|
|
|
constructor(fieldId: number, value: File[]) {
|
|
|
|
|
super(RecordValueType.FileList, fieldId, value);
|
|
|
|
|
}
|
|
|
|
|
}
|