@dxos/echo
    Preparing search index...

    Variable UserTypeConst

    UserType: Omit<Annotation.Annotation<UserTypeValue>, "set"> & {
        set: (value?: UserTypeValue) => <S extends Schema.Top>(schema: S) => S;
    } = ...

    Marks a static type as user-facing, so it shows in pickers, the nav tree, and collections. Absent, the type is internal (like a dotfile, visible only via an advanced setting); a new type stays out of sight until someone opts it in. Stored as property meta, so it survives persisting the schema.

    Schema.Struct({ ... }).pipe(Annotation.UserType.set());
    Schema.Struct({ ... }).pipe(Annotation.UserType.set({ tags: [Collection.ItemTag] }));