Skip to content

SignupBlockImportResult

What an import of a list of sign-up blocks did.

object
added
required

The number of blocks added.

integer
skipped
required

The lines whose block was not added, in line order.

Array<object>

A line of an imported list whose block was not added.

object
line
required

The line of the list, from 1.

integer
>= 1
value
required

The value as written on the line.

string
reason
required

invalid: not a valid value for the kind. duplicate: an earlier line has the same value in canonical form. already_blocked: a block in effect of the same kind and value with a severity at least as strong covers it.

string
Allowed values: invalid duplicate already_blocked

Example generated

{
"added": 1,
"skipped": [
{
"line": 1,
"value": "example",
"reason": "invalid"
}
]
}

For LLMs and coding agents:llms.txt,llms-full.txt, llms-small.txt

Analytics on this site