Page MenuHomeSealhub

constraints.ts
No OneTemporary

constraints.ts

export const constraints: Record<string, Record<string, { type: string; description: string }>> = {
'almanac.binding.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
servicePHIDs: {
type: 'list<phid>',
description: 'Search for bindings on particular services.',
},
devicePHIDs: { type: 'list<phid>', description: 'Search for bindings on particular devices.' },
},
'almanac.device.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
match: { type: 'string', description: 'Search for devices by name substring.' },
names: { type: 'list<string>', description: 'Search for devices with specific names.' },
isClusterDevice: { type: 'bool', description: '' },
projects: {
type: 'list<project>',
description: 'Search for objects tagged with given projects.',
},
},
'almanac.interface.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
devicePHIDs: {
type: 'list<phid>',
description: 'Search for interfaces on particular devices.',
},
},
'almanac.namespace.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
match: { type: 'string', description: 'Search for namespaces by name substring.' },
projects: {
type: 'list<project>',
description: 'Search for objects tagged with given projects.',
},
},
'almanac.network.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
match: { type: 'string', description: 'Search for networks by name substring.' },
},
'almanac.service.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
match: { type: 'string', description: 'Search for services by name substring.' },
names: { type: 'list<string>', description: 'Search for services with specific names.' },
serviceTypes: { type: 'list<string>', description: 'Find services by type.' },
devicePHIDs: {
type: 'list<phid>',
description: 'Search for services bound to particular devices.',
},
projects: {
type: 'list<project>',
description: 'Search for objects tagged with given projects.',
},
},
'badge.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
name: { type: 'string', description: 'Search for badges by name substring.' },
qualities: { type: '', description: 'Not supported.' },
statuses: { type: 'list<string>', description: ' (See table below.)' },
subscribers: {
type: 'list<user>',
description: 'Search for objects with certain subscribers.',
},
},
'calendar.event.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
hostPHIDs: { type: 'list<string>', description: '' },
invitedPHIDs: { type: 'list<string>', description: '' },
rangeStart: { type: '', description: 'Not supported.' },
rangeEnd: { type: '', description: 'Not supported.' },
isCancelled: { type: '', description: 'Not supported.' },
importSourcePHIDs: { type: 'list<phid>', description: '' },
display: { type: '', description: 'Not supported.' },
query: {
type: 'string',
description:
'Find objects matching a fulltext search query. See "Search User Guide" in the documentation for details.',
},
subscribers: {
type: 'list<user>',
description: 'Search for objects with certain subscribers.',
},
projects: {
type: 'list<project>',
description: 'Search for objects tagged with given projects.',
},
spaces: { type: 'list<phid>', description: 'Search for objects in certain spaces.' },
},
'countdown.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
authorPHIDs: { type: 'list<user>', description: '' },
subscribers: {
type: 'list<user>',
description: 'Search for objects with certain subscribers.',
},
projects: {
type: 'list<project>',
description: 'Search for objects tagged with given projects.',
},
spaces: { type: 'list<phid>', description: 'Search for objects in certain spaces.' },
},
'differential.diff.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
revisionPHIDs: {
type: 'list<phid>',
description: 'Find diffs attached to a particular revision.',
},
},
'differential.revision.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
responsiblePHIDs: {
type: 'list<string>',
description: 'Find revisions that a given user is responsible for.',
},
authorPHIDs: { type: 'list<user>', description: 'Find revisions with specific authors.' },
reviewerPHIDs: { type: 'list<string>', description: 'Find revisions with specific reviewers.' },
repositoryPHIDs: {
type: 'list<string>',
description: 'Find revisions from specific repositories.',
},
statuses: { type: 'list<string>', description: 'Find revisions with particular statuses.' },
createdStart: {
type: 'epoch',
description: 'Find revisions created at or after a particular time.',
},
createdEnd: {
type: 'epoch',
description: 'Find revisions created at or before a particular time.',
},
modifiedStart: {
type: 'epoch',
description: 'Find revisions modified at or after a particular time.',
},
modifiedEnd: {
type: 'epoch',
description: 'Find revisions modified at or before a particular time.',
},
query: {
type: 'string',
description:
'Find objects matching a fulltext search query. See "Search User Guide" in the documentation for details.',
},
subscribers: {
type: 'list<user>',
description: 'Search for objects with certain subscribers.',
},
projects: {
type: 'list<project>',
description: 'Search for objects tagged with given projects.',
},
bucket: { type: '', description: 'Not supported.' },
},
'diffusion.commit.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
responsible: {
type: 'list<string>',
description:
'Find commits where given users, projects, or packages are responsible for the next steps in the audit workflow.',
},
authors: { type: 'list<user>', description: 'Find commits authored by particular users.' },
auditors: {
type: 'list<string>',
description: 'Find commits where given users, projects, or packages are auditors.',
},
statuses: {
type: 'list<string>',
description: 'Find commits with given audit statuses. (See table below.)',
},
repositories: { type: 'list<string>', description: 'Find commits in particular repositories.' },
packages: { type: 'list<string>', description: 'Find commits which affect given packages.' },
unreachable: {
type: 'bool',
description:
'Find or exclude unreachable commits which are not ancestors of any branch, tag, or ref.',
},
unpublished: {
type: 'bool',
description:
'Find or exclude unpublished commits which are not ancestors of any permanent branch, tag, or ref.',
},
ancestorsOf: {
type: 'list<string>',
description: 'Find commits which are ancestors of a particular ref, like "master".',
},
identifiers: {
type: 'list<string>',
description:
'Find commits with particular identifiers (usually, hashes). Supports full or partial identifiers (like "abcd12340987..." or "abcd1234") and qualified or unqualified identifiers (like "rXabcd1234" or "abcd1234").',
},
query: {
type: 'string',
description:
'Find objects matching a fulltext search query. See "Search User Guide" in the documentation for details.',
},
subscribers: {
type: 'list<user>',
description: 'Search for objects with certain subscribers.',
},
projects: {
type: 'list<project>',
description: 'Search for objects tagged with given projects.',
},
bucket: { type: '', description: 'Not supported.' },
},
'diffusion.repository.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
callsigns: { type: 'list<string>', description: '' },
shortNames: { type: 'list<string>', description: '' },
status: { type: '', description: 'Not supported.' },
hosted: { type: '', description: 'Not supported.' },
types: { type: 'list<string>', description: ' (See table below.)' },
uris: { type: 'list<string>', description: 'Search for repositories by clone/checkout URI.' },
almanacServicePHIDs: { type: 'list<phid>', description: '' },
query: {
type: 'string',
description:
'Find objects matching a fulltext search query. See "Search User Guide" in the documentation for details.',
},
projects: {
type: 'list<project>',
description: 'Search for objects tagged with given projects.',
},
spaces: { type: 'list<phid>', description: 'Search for objects in certain spaces.' },
},
'drydock.authorization.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
blueprintPHIDs: {
type: 'list<phid>',
description: 'Search authorizations for specific blueprints.',
},
objectPHIDs: {
type: 'list<phid>',
description: 'Search authorizations from specific objects.',
},
},
'drydock.blueprint.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
match: { type: 'string', description: 'Search for blueprints by name substring.' },
isDisabled: { type: 'bool', description: '' },
projects: {
type: 'list<project>',
description: 'Search for objects tagged with given projects.',
},
},
'drydock.lease.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
statuses: { type: 'list<string>', description: ' (See table below.)' },
ownerPHIDs: { type: 'list<phid>', description: 'Search leases by owner.' },
resourcePHIDs: { type: 'list<phid>', description: 'Search leases by resource.' },
},
'drydock.resource.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
statuses: { type: 'list<string>', description: ' (See table below.)' },
blueprintPHIDs: {
type: 'list<phid>',
description: 'Search for resources generated by particular blueprints.',
},
},
'file.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
authorPHIDs: { type: 'list<user>', description: '' },
explicit: { type: 'bool', description: '' },
createdStart: { type: 'epoch', description: '' },
createdEnd: { type: 'epoch', description: '' },
name: { type: 'string', description: 'Search for files by name substring.' },
subscribers: {
type: 'list<user>',
description: 'Search for objects with certain subscribers.',
},
},
'harbormaster.artifact.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
buildTargetPHIDs: {
type: 'list<phid>',
description: 'Search for artifacts attached to particular build targets.',
},
},
'harbormaster.build.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
plans: { type: 'list<string>', description: 'Search for builds running a given build plan.' },
buildables: {
type: 'list<phid>',
description: 'Search for builds running against particular buildables.',
},
statuses: { type: 'list<string>', description: 'Search for builds with given statuses.' },
initiators: {
type: 'list<string>',
description: 'Search for builds started by someone or something in particular.',
},
},
'harbormaster.buildable.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
objectPHIDs: { type: 'list<string>', description: 'Search for builds of particular objects.' },
containerPHIDs: {
type: 'list<string>',
description: 'Search for builds by containing revision or repository.',
},
statuses: {
type: 'list<string>',
description: 'Search for builds by buildable status. (See table below.)',
},
manual: { type: 'bool', description: 'Search for only manual or automatic buildables.' },
},
'harbormaster.buildplan.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
match: { type: 'string', description: 'Search for namespaces by name substring.' },
status: { type: 'list<string>', description: ' (See table below.)' },
subscribers: {
type: 'list<user>',
description: 'Search for objects with certain subscribers.',
},
projects: {
type: 'list<project>',
description: 'Search for objects tagged with given projects.',
},
},
'harbormaster.log.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
buildTargetPHIDs: {
type: 'list<phid>',
description: 'Search for logs that belong to a particular build target.',
},
},
'harbormaster.target.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
buildPHIDs: { type: 'list<string>', description: 'Search for targets of a given build.' },
},
'maniphest.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
assigned: { type: 'list<user>', description: 'Search for tasks owned by a user from a list.' },
authorPHIDs: { type: 'list<user>', description: 'Search for tasks with given authors.' },
statuses: { type: 'list<string>', description: 'Search for tasks with given statuses.' },
priorities: { type: 'list<int>', description: 'Search for tasks with given priorities.' },
subtypes: { type: 'list<string>', description: 'Search for tasks with given subtypes.' },
columnPHIDs: { type: 'list<phid>', description: '' },
hasParents: { type: 'bool', description: '' },
hasSubtasks: { type: 'bool', description: '' },
parentIDs: { type: 'list<int>', description: '' },
subtaskIDs: { type: 'list<int>', description: '' },
group: { type: '', description: 'Not supported.' },
createdStart: { type: 'epoch', description: '' },
createdEnd: { type: 'epoch', description: '' },
modifiedStart: { type: 'epoch', description: '' },
modifiedEnd: { type: 'epoch', description: '' },
closedStart: { type: 'epoch', description: '' },
closedEnd: { type: 'epoch', description: '' },
closerPHIDs: { type: 'list<user>', description: 'Search for tasks closed by certain users.' },
query: {
type: 'string',
description:
'Find objects matching a fulltext search query. See "Search User Guide" in the documentation for details.',
},
subscribers: {
type: 'list<user>',
description: 'Search for objects with certain subscribers.',
},
projects: {
type: 'list<project>',
description: 'Search for objects tagged with given projects.',
},
spaces: { type: 'list<phid>', description: 'Search for objects in certain spaces.' },
'custom.sealcode.tested_by': { type: 'list<user>', description: '' },
'custom.sealcode.coded_by': { type: 'list<user>', description: '' },
'custom.sealcode.reviewed_by': { type: 'list<user>', description: '' },
'custom.sealcode.action_required_from': { type: 'list<user>', description: '' },
'custom.sealcode.last_known_column_phid': { type: '', description: 'Not supported.' },
'custom.sealcode.in_column_since': { type: 'int', description: '' },
},
'owners.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
owners: { type: 'list<string>', description: 'Search for packages with specific owners.' },
name: { type: 'string', description: 'Search for packages by name substrings.' },
repositories: {
type: 'list<string>',
description: 'Search for packages by included repositories.',
},
paths: { type: 'list<string>', description: 'Search for packages affecting specific paths.' },
statuses: {
type: 'list<string>',
description: 'Search for active or archived packages. (See table below.)',
},
query: {
type: 'string',
description:
'Find objects matching a fulltext search query. See "Search User Guide" in the documentation for details.',
},
},
'packages.package.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
match: { type: 'string', description: 'Search for packages by name substring.' },
publisherPHIDs: { type: 'list<string>', description: 'Search for packages by publisher.' },
subscribers: {
type: 'list<user>',
description: 'Search for objects with certain subscribers.',
},
projects: {
type: 'list<project>',
description: 'Search for objects tagged with given projects.',
},
},
'packages.publisher.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
match: { type: 'string', description: 'Search for publishers by name substring.' },
subscribers: {
type: 'list<user>',
description: 'Search for objects with certain subscribers.',
},
projects: {
type: 'list<project>',
description: 'Search for objects tagged with given projects.',
},
},
'packages.version.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
match: { type: 'string', description: 'Search for versions by name substring.' },
packagePHIDs: { type: 'list<string>', description: 'Search for versions by package.' },
subscribers: {
type: 'list<user>',
description: 'Search for objects with certain subscribers.',
},
projects: {
type: 'list<project>',
description: 'Search for objects tagged with given projects.',
},
},
'paste.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
authors: { type: 'list<user>', description: 'Search for pastes with specific authors.' },
languages: {
type: 'list<string>',
description: 'Search for pastes highlighted in specific languages.',
},
createdStart: { type: 'epoch', description: 'Search for pastes created after a given time.' },
createdEnd: { type: 'epoch', description: 'Search for pastes created before a given time.' },
statuses: {
type: 'list<string>',
description: 'Search for archived or active pastes. (See table below.)',
},
query: {
type: 'string',
description:
'Find objects matching a fulltext search query. See "Search User Guide" in the documentation for details.',
},
subscribers: {
type: 'list<user>',
description: 'Search for objects with certain subscribers.',
},
projects: {
type: 'list<project>',
description: 'Search for objects tagged with given projects.',
},
spaces: { type: 'list<phid>', description: 'Search for objects in certain spaces.' },
},
'phame.blog.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
statuses: { type: '', description: 'Not supported.' },
query: {
type: 'string',
description:
'Find objects matching a fulltext search query. See "Search User Guide" in the documentation for details.',
},
subscribers: {
type: 'list<user>',
description: 'Search for objects with certain subscribers.',
},
projects: {
type: 'list<project>',
description: 'Search for objects tagged with given projects.',
},
},
'phame.post.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
visibility: { type: 'list<string>', description: ' (See table below.)' },
blogPHIDs: { type: 'list<string>', description: 'Search for posts within certain blogs.' },
query: {
type: 'string',
description:
'Find objects matching a fulltext search query. See "Search User Guide" in the documentation for details.',
},
subscribers: {
type: 'list<user>',
description: 'Search for objects with certain subscribers.',
},
projects: {
type: 'list<project>',
description: 'Search for objects tagged with given projects.',
},
},
'phriction.content.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
documentPHIDs: { type: 'list<phid>', description: '' },
versions: { type: 'list<int>', description: '' },
},
'phriction.document.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
statuses: { type: 'list<string>', description: ' (See table below.)' },
paths: { type: 'list<string>', description: '' },
parentPaths: { type: 'list<string>', description: '' },
ancestorPaths: { type: 'list<string>', description: '' },
query: {
type: 'string',
description:
'Find objects matching a fulltext search query. See "Search User Guide" in the documentation for details.',
},
subscribers: {
type: 'list<user>',
description: 'Search for objects with certain subscribers.',
},
projects: {
type: 'list<project>',
description: 'Search for objects tagged with given projects.',
},
spaces: { type: 'list<phid>', description: 'Search for objects in certain spaces.' },
},
'phurls.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
authorPHIDs: { type: 'list<string>', description: '' },
name: { type: 'string', description: 'Search for Phurl URLs by name substring.' },
aliases: { type: 'list<string>', description: 'Search for Phurl URLs by alias.' },
longurls: {
type: 'list<string>',
description: 'Search for Phurl URLs by the non-shortened URL.',
},
subscribers: {
type: 'list<user>',
description: 'Search for objects with certain subscribers.',
},
projects: {
type: 'list<project>',
description: 'Search for objects tagged with given projects.',
},
spaces: { type: 'list<phid>', description: 'Search for objects in certain spaces.' },
},
'portal.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
query: {
type: 'string',
description:
'Find objects matching a fulltext search query. See "Search User Guide" in the documentation for details.',
},
projects: {
type: 'list<project>',
description: 'Search for objects tagged with given projects.',
},
},
'project.column.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
projects: { type: 'list<phid>', description: '' },
},
'project.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
name: {
type: 'string',
description:
'(Deprecated.) Search for projects with a given name or hashtag using tokenizer/datasource query matching rules. This is deprecated in favor of the more powerful "query" constraint.',
},
slugs: {
type: 'list<string>',
description:
'Search for projects with particular slugs. (Slugs are the same as project hashtags.)',
},
members: { type: 'list<user>', description: '' },
watchers: { type: 'list<user>', description: '' },
status: { type: '', description: 'Not supported.' },
isMilestone: {
type: 'bool',
description: 'Pass true to find only milestones, or false to omit milestones.',
},
isRoot: {
type: 'bool',
description: 'Pass true to find only root projects, or false to omit root projects.',
},
minDepth: {
type: 'int',
description:
'Find projects with a given minimum depth. Root projects have depth 0, their immediate children have depth 1, and so on.',
},
maxDepth: {
type: 'int',
description:
'Find projects with a given maximum depth. Root projects have depth 0, their immediate children have depth 1, and so on.',
},
subtypes: { type: 'list<string>', description: 'Search for projects with given subtypes.' },
icons: { type: 'list<string>', description: ' (See table below.)' },
colors: { type: 'list<string>', description: ' (See table below.)' },
parents: { type: 'list<phid>', description: 'Find direct subprojects of specified parents.' },
ancestors: {
type: 'list<phid>',
description: 'Find all subprojects beneath specified ancestors.',
},
query: {
type: 'string',
description:
'Find objects matching a fulltext search query. See "Search User Guide" in the documentation for details.',
},
spaces: { type: 'list<phid>', description: 'Search for objects in certain spaces.' },
'custom.sealcode:is-current': { type: 'bool', description: 'Is current' },
},
'slowvote.poll.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
authorPHIDs: { type: 'list<user>', description: '' },
voted: { type: '', description: 'Not supported.' },
statuses: { type: 'list<string>', description: ' (See table below.)' },
subscribers: {
type: 'list<user>',
description: 'Search for objects with certain subscribers.',
},
projects: {
type: 'list<project>',
description: 'Search for objects tagged with given projects.',
},
spaces: { type: 'list<phid>', description: 'Search for objects in certain spaces.' },
},
'transaction.search': {
phids: {
type: 'Optional list<phid>.',
description:
"Find specific transactions by PHID. This is most likely to be useful if you're responding to a webhook notification and want to inspect only the related events.",
},
authorPHIDs: {
type: 'Optional list<phid>.',
description: 'Find transactions with particular authors.',
},
},
'user.search': {
ids: { type: 'list<int>', description: 'Search for objects with specific IDs.' },
phids: { type: 'list<phid>', description: 'Search for objects with specific PHIDs.' },
usernames: { type: 'list<string>', description: 'Find users by exact username.' },
nameLike: { type: 'string', description: 'Find users whose usernames contain a substring.' },
isAdmin: {
type: 'bool',
description: 'Pass true to find only administrators, or false to omit administrators.',
},
isDisabled: {
type: 'bool',
description: 'Pass true to find only disabled users, or false to omit disabled users.',
},
isBot: { type: 'bool', description: 'Pass true to find only bots, or false to omit bots.' },
isMailingList: {
type: 'bool',
description: 'Pass true to find only mailing lists, or false to omit mailing lists.',
},
needsApproval: {
type: 'bool',
description:
'Pass true to find only users awaiting administrative approval, or false to omit these users.',
},
createdStart: { type: 'epoch', description: 'Find user accounts created after a given time.' },
createdEnd: { type: 'epoch', description: 'Find user accounts created before a given time.' },
query: {
type: 'string',
description:
'Find objects matching a fulltext search query. See "Search User Guide" in the documentation for details.',
},
},
};

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 8, 08:11 (1 d, 11 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1034314
Default Alt Text
constraints.ts (29 KB)

Event Timeline