export interface HandlerConnectorResourceStatus { /** * ACLWarning explains why permission capture could not read this * resource. Capture fails OPEN, so while this is set the resource is * readable by EVERY caller regardless of the ACL they send. Deliberately * not folded into Status: the resource is syncing fine and its content is * current, so calling it failed would be wrong and would train people to * ignore a red badge. It is a separate signal because it needs a separate * reaction (grant the missing permission, or set an access rule). */ aclWarning?: string; /** * ACLWarningAt is when this warning was last CHANGED (RFC3339), not when * the failure was last observed. An unchanged warning is deliberately not * rewritten every cycle, so treat this as "open since", not "checked at". */ aclWarningAt?: string; /** Action is what the user must do, when there is something they can do. */ action?: string; checkedAt?: string; /** Human-readable name for this resource. */ displayName?: string; /** HTTPStatus is the provider's response code when one was reported. */ httpStatus?: number; /** LastRowCount is the rows produced by the last sync. */ lastRowCount?: number; /** Message is the provider's own words when Status is failed. */ message?: string; /** * PageACLWarning reports that individual PAGES inside this resource could * not have their own restrictions resolved and were opened to every caller. * Distinct from ACLWarning above, which is about the resource itself: a * resource can capture perfectly while pages inside it fail, and a healthy * resource capture clears ACLWarning, so sharing one field would blank this * every cycle and report all-clear while pages are still open. */ pageAclWarning?: string; /** PageACLWarningAt is when PageACLWarning last CHANGED (RFC3339). */ pageAclWarningAt?: string; /** Resource identifier from the Discover endpoint. */ resourceId?: string; /** * Retryable is set only for a failed resource: false for a provider * rejection the user must fix (403, 404, a misconfigured table), true for * something that may clear on its own. */ retryable?: boolean; /** Status is one of ok | empty | failed | checking | unknown. */ status?: string; /** * SyncBlocked reports that this resource has stopped syncing. Distinct from * a failed status: a resource can fail a cycle and be retried, and the * difference between "failing" and "given up on" is the one a user needs to * act on. */ syncBlocked?: boolean; /** SyncBlockedAt is when it stopped (RFC3339). */ syncBlockedAt?: string; /** * SyncBlockedReason is why it stopped, preserved from the failure that * stopped it so it survives later syncs overwriting the health block. */ syncBlockedReason?: string; }