Skip to main content

Types

Types (IR - Intermediate Representation) you’ll pass from PHP resources/js/astra/types.ts

Querystring namespace

Querystring namespace helpers resources/js/astra/utils/state.ts

List block composable

Loads JSON endpoint… resources/js/astra/composables/useRelatedTable.ts
Edit related row in a modal. This pattern: open modal → GET payload JSON → create Inertia useForm() → submit resources/js/astra/composables/useModalForm.ts

Basic AutoForm renderer

Uses developer-owned Inertia form. resources/js/astra/components/AutoForm.vue

RelatedTableBlock component

table + actions + modal edit resources/js/astra/components/RelatedTableBlock.vue

ViewPage template

Blocks composition. resources/js/Pages/Astra/ViewPage.vue

FormPage template

Developer-owned Inertia form. resources/js/Pages/Astra/FormPage.vue