Is it my impression or the latest version of the SDK removed support for defining a table as a custom parameter? My extension reads data from another table as support for that has been recently added. In order to avoid hardcoding things, I was allowing users to select a table. This was supported (see link below). However, the latest version of the SDK does not seem to support that. (^0.0.0-experimental-e7419444f-20251120). I’ve updated my code so the parameter is now just a string. It seems to be working. Could you please confirm this makes sense?
https://airtable.com/developers/interface-extensions/api/BlockPageElementCustomProperty
The signature of the type BlockPageElementCustomProperty I’m getting does not include that type anymore (see below) and I also get a run time error.
type BlockPageElementCustomProperty = {
key: string;
label: string;
} & ({
type: 'boolean';
defaultValue: boolean;
} | {
type: 'string';
defaultValue?: string;
} | {
type: 'enum';
possibleValues: Array<{
value: string;
label: string;
}>;
defaultValue?: string;
} | {
type: 'field';
table: Table;
/** If not provided, all visible fields in the table will be shown in the dropdown. */
possibleValues?: Array<Field>;
defaultValue?: Field;
});
