跳到主要内容

std/build/collection/system-fields

std/build/collection/system-fields

Type Aliases

SystemCollectionFieldName

type SystemCollectionFieldName = typeof SYSTEM_COLLECTION_FIELD_NAME_VALUES[number];

Defined in: apps/website/.api-docs-entry/std/build/collection/system-fields.d.ts:3

Variables

isSystemCollectionField

const isSystemCollectionField: (name) => boolean;

Defined in: apps/website/.api-docs-entry/std/build/collection/system-fields.d.ts:7

Whether a field is compiler-owned rather than authored by a workspace model.

Parameters

Parameter Type
name string

Returns

boolean


SYSTEM_COLLECTION_FIELD_NAMES

const SYSTEM_COLLECTION_FIELD_NAMES: ReadonlyArray<string>;

Defined in: apps/website/.api-docs-entry/std/build/collection/system-fields.d.ts:5

Public runtime list stays string-wide so callers may test an arbitrary field name with includes.