Skip to content

Commit 1a0bbba

Browse files
committed
fix(app-showcase): drop unsupported name/object/label keys from inquiry view
defineView infers the object from list.data; FormView has no label field. These tripped the example-apps typecheck (TS2353).
1 parent 1e1b95f commit 1a0bbba

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

examples/app-showcase/src/views/inquiry.view.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ const data = { provider: 'object' as const, object: 'showcase_inquiry' };
2121
* hook (`hooks/index.ts`).
2222
*/
2323
export const InquiryViews = defineView({
24-
name: 'showcase_inquiry_views',
25-
object: 'showcase_inquiry',
2624
// Default list shown when the object is opened — carries `data` so the view
2725
// registrar can resolve the target object (without it the whole view, public
2826
// form included, is dropped).
@@ -55,7 +53,6 @@ export const InquiryViews = defineView({
5553
// "what the public may set"; everything else is stripped server-side.
5654
contact: {
5755
type: 'simple',
58-
label: 'Contact Us',
5956
data,
6057
sections: [
6158
{

0 commit comments

Comments
 (0)