Skip to main content

DEFAULT_FIELD_INSPECTION_CONFIG

The default offlineConfig for the built-in field-inspection integration leaf. A consuming app overrides any of these keys by registering the field-inspection id with its own offlineConfig before registerBuiltinIntegrations() runs (AD-13 first-wins collision policy keeps the consumer's config).

import { DEFAULT_FIELD_INSPECTION_CONFIG } from '@conduction/nextcloud-vue'

Keys

KeyDefaultPurpose
plannedSchemafieldInspectionSchema holding the planned items (today's work).
referenceSchemainspectionChecklistSchema holding the checklist templates the items reference.
templateRefFieldchecklistTemplateRefProperty on a planned item referencing its checklist template.
resultSchemachecklistResultSchema the completed checklist result is written back to.
assigneeFieldinspectorRefPlanning filter: property holding the assignee.
dateFieldscheduledAtPlanning filter: property holding the scheduled date.
titleFieldcaseRefProperty used as a planned item's display title.

The config feeds the generic offline data-collection core: assigneeField + dateField build the daily-planning query against the standard OpenRegister object API, and the schema keys drive where cached objects and queued mutations are stored / replayed.