/** * @param {Inputs} inputs * @returns {Promise>} */ export function test(inputs: Inputs): Promise>; /** * @fileoverview js related to a single ActivityPub Test */ export const uuid: "4af549f4-3797-4d99-a151-67c3d8feaa46"; export const name: "outbox must be an OrderedCollection"; export const description: "This rule checks whether the outbox property of an object appears to be an OrderedCollection"; export const slug: "outbox-must-be-an-orderedcollection"; export const url: "https://bengo.is/activitypub/test-cases/outbox-must-be-an-orderedcollection/"; export namespace inputs { namespace object { let help: string; let required: boolean; let rangeIncludes: string[]; } namespace time { let help_1: string; export { help_1 as help }; let required_1: boolean; export { required_1 as required }; let _default: string; export { _default as default }; export let type: string[]; export let constraints: { content: string; mediaType: string; }[]; } } /** * TestResult * @typedef {import('../../test-utils.js').TestResult} TestResult */ /** * first example test case from the spec * 'simple valid outbox' * @type {import('../../test-utils.js').TestCaseExample} */ export const simpleValidoutboxCase: import('../../test-utils.js').TestCaseExample; /** * test cases that are known to have "passed" outcome as a result of the test in this module */ export const passedCases: import("../../test-utils.js").TestCaseExample[]; /** * example test case from the spec * 'failed because outbox is obviously not an OrderedCollection' * @type {import('../../test-utils.js').TestCaseExample} */ export const outboxIsNullCase: import('../../test-utils.js').TestCaseExample; /** * example test case from the spec * 'outbox type array contains Person' * @type {import('../../test-utils.js').TestCaseExample} */ export const outboxTypeArrayContainsPersonCase: import('../../test-utils.js').TestCaseExample; /** * test cases that are known to have "failed" outcome as a result of the test in this module * @type {import('../../test-utils.js').TestCaseExample[]} */ export const failedCases: import('../../test-utils.js').TestCaseExample[]; /** * test cases that are known to have "inapplicable" outcome as a result of the test in this module * @type {import('../../test-utils.js').TestCaseExample[]} */ export const inapplicableCases: import('../../test-utils.js').TestCaseExample[]; export const markdownUrl: URL; export const markdown: string; export default testCase; export type Inputs = { /** * - object to test */ object: unknown; /** * - authorization to fetch stuff with */ authorization?: string | undefined; }; export type Outcome = "passed" | "failed" | "inapplicable" | "cantTell" | "untested"; /** * TestResult */ export type TestResult = import('../../test-utils.js').TestResult; /** @type {import('../../test-utils.js').TestCase} */ declare const testCase: import('../../test-utils.js').TestCase; //# sourceMappingURL=outbox-must-be-an-orderedcollection.d.ts.map