@contractspec/lib.contracts 0.0.0-canary-20260128200020 → 0.0.0-canary-20260202053150
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app-config/{contracts.d.ts → app-config.contracts.d.ts} +51 -51
- package/dist/app-config/{contracts.js → app-config.contracts.js} +1 -1
- package/dist/app-config/events.d.ts +27 -27
- package/dist/app-config/lifecycle-contracts.d.ts +54 -54
- package/dist/app-config/runtime.d.ts +3 -3
- package/dist/contract-registry/schemas.d.ts +2 -2
- package/dist/data-views/data-views.d.ts +1 -1
- package/dist/data-views/index.d.ts +1 -1
- package/dist/data-views/report/contractVerificationTable.d.ts +10 -0
- package/dist/data-views/report/contractVerificationTable.js +95 -0
- package/dist/data-views/runtime.d.ts +1 -1
- package/dist/data-views/spec.d.ts +1 -1
- package/dist/docs/capabilities/documentationSystem.capability.js +5 -5
- package/dist/docs/commands/docsGenerate.command.d.ts +19 -19
- package/dist/docs/commands/docsGenerate.command.js +5 -2
- package/dist/docs/commands/docsPublish.command.d.ts +13 -13
- package/dist/docs/commands/docsPublish.command.js +5 -2
- package/dist/docs/constants.d.ts +1 -9
- package/dist/docs/constants.js +1 -9
- package/dist/docs/contracts.d.ts +103 -103
- package/dist/docs/events/docsGenerated.event.d.ts +13 -13
- package/dist/docs/events/docsPublished.event.d.ts +15 -15
- package/dist/docs/forms/docsSearch.form.d.ts +4 -4
- package/dist/docs/index.d.ts +2 -2
- package/dist/docs/index.js +3 -2
- package/dist/docs/presentations/docsLayout.presentation.js +7 -4
- package/dist/docs/presentations/docsReferencePage.presentation.js +7 -4
- package/dist/docs/queries/contractReference.query.d.ts +47 -47
- package/dist/docs/queries/contractReference.query.js +5 -2
- package/dist/docs/queries/docsIndex.query.d.ts +57 -57
- package/dist/docs/queries/docsIndex.query.js +5 -2
- package/dist/docs/tech/report-verification-table.docblock.d.ts +1 -0
- package/dist/docs/tech/report-verification-table.docblock.js +50 -0
- package/dist/examples/schema.d.ts +14 -14
- package/dist/index.d.ts +11 -8
- package/dist/index.js +6 -3
- package/dist/integrations/openbanking/contracts/accounts.d.ts +66 -66
- package/dist/integrations/openbanking/contracts/balances.d.ts +34 -34
- package/dist/integrations/openbanking/contracts/transactions.d.ts +48 -48
- package/dist/integrations/openbanking/models.d.ts +55 -55
- package/dist/integrations/operations.d.ts +102 -102
- package/dist/knowledge/operations.d.ts +66 -66
- package/dist/onboarding-base.d.ts +29 -29
- package/dist/operations/index.d.ts +4 -1
- package/dist/operations/index.js +4 -1
- package/dist/operations/registry.d.ts +1 -1
- package/dist/operations/report/getContractVerificationStatus.d.ts +75 -0
- package/dist/operations/report/getContractVerificationStatus.js +96 -0
- package/dist/operations/report/index.d.ts +13 -0
- package/dist/operations/report/index.js +45 -0
- package/dist/serialization/serializers.d.ts +1 -1
- package/dist/telemetry/tracker.d.ts +3 -2
- package/dist/types.d.ts +2 -2
- package/dist/workspace-config/contractsrc-schema.d.ts +3 -3
- package/dist/workspace-config/contractsrc-types.d.ts +5 -6
- package/dist/workspace-config/index.d.ts +2 -2
- package/package.json +10 -6
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import { EventSpec } from "../../events.js";
|
|
2
2
|
import "../../index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _contractspec_lib_schema462 from "@contractspec/lib.schema";
|
|
4
4
|
import { SchemaModel } from "@contractspec/lib.schema";
|
|
5
5
|
|
|
6
6
|
//#region src/docs/events/docsGenerated.event.d.ts
|
|
7
7
|
declare const DocsGeneratedPayload: SchemaModel<{
|
|
8
8
|
buildId: {
|
|
9
|
-
type:
|
|
9
|
+
type: _contractspec_lib_schema462.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
version: {
|
|
13
|
-
type:
|
|
13
|
+
type: _contractspec_lib_schema462.FieldType<string, string>;
|
|
14
14
|
isOptional: true;
|
|
15
15
|
};
|
|
16
16
|
generatedAt: {
|
|
17
|
-
type:
|
|
17
|
+
type: _contractspec_lib_schema462.FieldType<Date, string>;
|
|
18
18
|
isOptional: false;
|
|
19
19
|
};
|
|
20
20
|
outputDir: {
|
|
21
|
-
type:
|
|
21
|
+
type: _contractspec_lib_schema462.FieldType<string, string>;
|
|
22
22
|
isOptional: true;
|
|
23
23
|
};
|
|
24
24
|
artifactCount: {
|
|
25
|
-
type:
|
|
25
|
+
type: _contractspec_lib_schema462.FieldType<number, number>;
|
|
26
26
|
isOptional: true;
|
|
27
27
|
};
|
|
28
28
|
warnings: {
|
|
29
|
-
type:
|
|
29
|
+
type: _contractspec_lib_schema462.FieldType<string, string>;
|
|
30
30
|
isOptional: true;
|
|
31
31
|
isArray: true;
|
|
32
32
|
};
|
|
33
33
|
}>;
|
|
34
34
|
declare const DocsGeneratedEvent: EventSpec<SchemaModel<{
|
|
35
35
|
buildId: {
|
|
36
|
-
type:
|
|
36
|
+
type: _contractspec_lib_schema462.FieldType<string, string>;
|
|
37
37
|
isOptional: false;
|
|
38
38
|
};
|
|
39
39
|
version: {
|
|
40
|
-
type:
|
|
40
|
+
type: _contractspec_lib_schema462.FieldType<string, string>;
|
|
41
41
|
isOptional: true;
|
|
42
42
|
};
|
|
43
43
|
generatedAt: {
|
|
44
|
-
type:
|
|
44
|
+
type: _contractspec_lib_schema462.FieldType<Date, string>;
|
|
45
45
|
isOptional: false;
|
|
46
46
|
};
|
|
47
47
|
outputDir: {
|
|
48
|
-
type:
|
|
48
|
+
type: _contractspec_lib_schema462.FieldType<string, string>;
|
|
49
49
|
isOptional: true;
|
|
50
50
|
};
|
|
51
51
|
artifactCount: {
|
|
52
|
-
type:
|
|
52
|
+
type: _contractspec_lib_schema462.FieldType<number, number>;
|
|
53
53
|
isOptional: true;
|
|
54
54
|
};
|
|
55
55
|
warnings: {
|
|
56
|
-
type:
|
|
56
|
+
type: _contractspec_lib_schema462.FieldType<string, string>;
|
|
57
57
|
isOptional: true;
|
|
58
58
|
isArray: true;
|
|
59
59
|
};
|
|
@@ -1,67 +1,67 @@
|
|
|
1
1
|
import { EventSpec } from "../../events.js";
|
|
2
2
|
import "../../index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _contractspec_lib_schema474 from "@contractspec/lib.schema";
|
|
4
4
|
import { SchemaModel } from "@contractspec/lib.schema";
|
|
5
5
|
|
|
6
6
|
//#region src/docs/events/docsPublished.event.d.ts
|
|
7
7
|
declare const DocsPublishedPayload: SchemaModel<{
|
|
8
8
|
publishId: {
|
|
9
|
-
type:
|
|
9
|
+
type: _contractspec_lib_schema474.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
version: {
|
|
13
|
-
type:
|
|
13
|
+
type: _contractspec_lib_schema474.FieldType<string, string>;
|
|
14
14
|
isOptional: true;
|
|
15
15
|
};
|
|
16
16
|
environment: {
|
|
17
|
-
type:
|
|
17
|
+
type: _contractspec_lib_schema474.FieldType<string, string>;
|
|
18
18
|
isOptional: true;
|
|
19
19
|
};
|
|
20
20
|
url: {
|
|
21
|
-
type:
|
|
21
|
+
type: _contractspec_lib_schema474.FieldType<string, string>;
|
|
22
22
|
isOptional: true;
|
|
23
23
|
};
|
|
24
24
|
publishedAt: {
|
|
25
|
-
type:
|
|
25
|
+
type: _contractspec_lib_schema474.FieldType<Date, string>;
|
|
26
26
|
isOptional: false;
|
|
27
27
|
};
|
|
28
28
|
status: {
|
|
29
|
-
type:
|
|
29
|
+
type: _contractspec_lib_schema474.FieldType<string, string>;
|
|
30
30
|
isOptional: true;
|
|
31
31
|
};
|
|
32
32
|
warnings: {
|
|
33
|
-
type:
|
|
33
|
+
type: _contractspec_lib_schema474.FieldType<string, string>;
|
|
34
34
|
isOptional: true;
|
|
35
35
|
isArray: true;
|
|
36
36
|
};
|
|
37
37
|
}>;
|
|
38
38
|
declare const DocsPublishedEvent: EventSpec<SchemaModel<{
|
|
39
39
|
publishId: {
|
|
40
|
-
type:
|
|
40
|
+
type: _contractspec_lib_schema474.FieldType<string, string>;
|
|
41
41
|
isOptional: false;
|
|
42
42
|
};
|
|
43
43
|
version: {
|
|
44
|
-
type:
|
|
44
|
+
type: _contractspec_lib_schema474.FieldType<string, string>;
|
|
45
45
|
isOptional: true;
|
|
46
46
|
};
|
|
47
47
|
environment: {
|
|
48
|
-
type:
|
|
48
|
+
type: _contractspec_lib_schema474.FieldType<string, string>;
|
|
49
49
|
isOptional: true;
|
|
50
50
|
};
|
|
51
51
|
url: {
|
|
52
|
-
type:
|
|
52
|
+
type: _contractspec_lib_schema474.FieldType<string, string>;
|
|
53
53
|
isOptional: true;
|
|
54
54
|
};
|
|
55
55
|
publishedAt: {
|
|
56
|
-
type:
|
|
56
|
+
type: _contractspec_lib_schema474.FieldType<Date, string>;
|
|
57
57
|
isOptional: false;
|
|
58
58
|
};
|
|
59
59
|
status: {
|
|
60
|
-
type:
|
|
60
|
+
type: _contractspec_lib_schema474.FieldType<string, string>;
|
|
61
61
|
isOptional: true;
|
|
62
62
|
};
|
|
63
63
|
warnings: {
|
|
64
|
-
type:
|
|
64
|
+
type: _contractspec_lib_schema474.FieldType<string, string>;
|
|
65
65
|
isOptional: true;
|
|
66
66
|
isArray: true;
|
|
67
67
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { FormSpec } from "../../forms/forms.js";
|
|
2
2
|
import "../../index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _contractspec_lib_schema488 from "@contractspec/lib.schema";
|
|
4
4
|
import { SchemaModel } from "@contractspec/lib.schema";
|
|
5
5
|
|
|
6
6
|
//#region src/docs/forms/docsSearch.form.d.ts
|
|
7
7
|
declare const DocsSearchForm: FormSpec<SchemaModel<{
|
|
8
8
|
query: {
|
|
9
|
-
type:
|
|
9
|
+
type: _contractspec_lib_schema488.FieldType<string, string>;
|
|
10
10
|
isOptional: true;
|
|
11
11
|
};
|
|
12
12
|
visibility: {
|
|
13
|
-
type:
|
|
13
|
+
type: _contractspec_lib_schema488.FieldType<string, string>;
|
|
14
14
|
isOptional: true;
|
|
15
15
|
};
|
|
16
16
|
kind: {
|
|
17
|
-
type:
|
|
17
|
+
type: _contractspec_lib_schema488.FieldType<string, string>;
|
|
18
18
|
isOptional: true;
|
|
19
19
|
};
|
|
20
20
|
}>>;
|
package/dist/docs/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DocBlock, DocBlockLink, DocKind, DocVisibility } from "./types.js";
|
|
2
|
-
import {
|
|
2
|
+
import { DOCS_DOMAIN, DOCS_OWNERS, DOCS_STABILITY, DOCS_TAGS } from "./constants.js";
|
|
3
3
|
import { DocsGenerateCommand } from "./commands/docsGenerate.command.js";
|
|
4
4
|
import { DocsPublishCommand } from "./commands/docsPublish.command.js";
|
|
5
5
|
import "./commands/index.js";
|
|
@@ -25,4 +25,4 @@ import "./views/index.js";
|
|
|
25
25
|
import { DocId, DocRegistry, defaultDocRegistry, docId, listRegisteredDocBlocks, registerDocBlocks } from "./registry.js";
|
|
26
26
|
import { techContractsDocs } from "./tech-contracts.docs.js";
|
|
27
27
|
import { metaDocs } from "./meta.docs.js";
|
|
28
|
-
export { ContractReferenceDataView, ContractReferenceInput, ContractReferenceModel, ContractReferenceOutput, ContractReferenceQuery,
|
|
28
|
+
export { ContractReferenceDataView, ContractReferenceInput, ContractReferenceModel, ContractReferenceOutput, ContractReferenceQuery, DOCS_DOMAIN, DOCS_OWNERS, DOCS_STABILITY, DOCS_TAGS, DocBlock, DocBlockLink, DocId, DocKind, DocPresentationOptions, DocPresentationRoute, DocRegistry, DocSummaryModel, DocVisibility, DocsGenerateCommand, DocsGeneratedEvent, DocsGeneratedPayload, DocsIndexDataView, DocsIndexInput, DocsIndexOutput, DocsIndexQuery, DocsLayoutPresentation, DocsPublishCommand, DocsPublishedEvent, DocsPublishedPayload, DocsReferencePagePresentation, DocsSearchForm, DocumentationSystemCapability, ExampleCatalogDataView, defaultDocRegistry, docBlockToPresentationSpec, docBlocksToPresentationRoutes, docBlocksToPresentationSpecs, docId, docsDataViewContracts, docsEventContracts, docsFormContracts, docsOperationContracts, docsPresentationContracts, listRegisteredDocBlocks, mapDocRoutes, metaDocs, registerDocBlocks, registerDocsDataViews, registerDocsEvents, registerDocsForms, registerDocsOperations, registerDocsPresentations, techContractsDocs };
|
package/dist/docs/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DOCS_DOMAIN, DOCS_OWNERS, DOCS_STABILITY, DOCS_TAGS } from "./constants.js";
|
|
2
2
|
import { docBlockToPresentationSpec, docBlocksToPresentationRoutes, docBlocksToPresentationSpecs, mapDocRoutes } from "./presentations.js";
|
|
3
3
|
import { DocRegistry, defaultDocRegistry, docId, listRegisteredDocBlocks, registerDocBlocks } from "./registry.js";
|
|
4
4
|
import "./tech/docs-system.docblock.js";
|
|
@@ -49,5 +49,6 @@ import "./tech/studio/project-access-teams.docblock.js";
|
|
|
49
49
|
import "./tech/studio/team-invitations.docblock.js";
|
|
50
50
|
import "./tech/llm/llm-integration.docblock.js";
|
|
51
51
|
import "./tech/cli.docblock.js";
|
|
52
|
+
import "./tech/report-verification-table.docblock.js";
|
|
52
53
|
|
|
53
|
-
export { ContractReferenceDataView, ContractReferenceInput, ContractReferenceModel, ContractReferenceOutput, ContractReferenceQuery,
|
|
54
|
+
export { ContractReferenceDataView, ContractReferenceInput, ContractReferenceModel, ContractReferenceOutput, ContractReferenceQuery, DOCS_DOMAIN, DOCS_OWNERS, DOCS_STABILITY, DOCS_TAGS, DocRegistry, DocSummaryModel, DocsGenerateCommand, DocsGeneratedEvent, DocsGeneratedPayload, DocsIndexDataView, DocsIndexInput, DocsIndexOutput, DocsIndexQuery, DocsLayoutPresentation, DocsPublishCommand, DocsPublishedEvent, DocsPublishedPayload, DocsReferencePagePresentation, DocsSearchForm, DocumentationSystemCapability, ExampleCatalogDataView, defaultDocRegistry, docBlockToPresentationSpec, docBlocksToPresentationRoutes, docBlocksToPresentationSpecs, docId, docsDataViewContracts, docsEventContracts, docsFormContracts, docsOperationContracts, docsPresentationContracts, listRegisteredDocBlocks, mapDocRoutes, metaDocs, registerDocBlocks, registerDocsDataViews, registerDocsEvents, registerDocsForms, registerDocsOperations, registerDocsPresentations, techContractsDocs };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { definePresentation } from "../../presentations/presentations.js";
|
|
2
2
|
import "../../presentations/index.js";
|
|
3
|
-
import {
|
|
3
|
+
import { DOCS_DOMAIN, DOCS_OWNERS, DOCS_STABILITY, DOCS_TAGS } from "../constants.js";
|
|
4
4
|
import { docId } from "../registry.js";
|
|
5
5
|
import "../ensure-docblocks.js";
|
|
6
6
|
|
|
7
7
|
//#region src/docs/presentations/docsLayout.presentation.ts
|
|
8
8
|
const DocsLayoutPresentation = definePresentation({
|
|
9
9
|
meta: {
|
|
10
|
-
key:
|
|
10
|
+
key: "docs.layout",
|
|
11
11
|
title: "Docs Layout",
|
|
12
12
|
version: "1.0.0",
|
|
13
13
|
description: "Shared layout shell for documentation pages.",
|
|
@@ -19,11 +19,14 @@ const DocsLayoutPresentation = definePresentation({
|
|
|
19
19
|
stability: DOCS_STABILITY,
|
|
20
20
|
docId: [docId("docs.tech.docs-system")]
|
|
21
21
|
},
|
|
22
|
-
capability:
|
|
22
|
+
capability: {
|
|
23
|
+
key: "docs.system",
|
|
24
|
+
version: "1.0.0"
|
|
25
|
+
},
|
|
23
26
|
source: {
|
|
24
27
|
type: "component",
|
|
25
28
|
framework: "react",
|
|
26
|
-
componentKey:
|
|
29
|
+
componentKey: "docsLayout"
|
|
27
30
|
},
|
|
28
31
|
targets: ["react"]
|
|
29
32
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { definePresentation } from "../../presentations/presentations.js";
|
|
2
2
|
import "../../presentations/index.js";
|
|
3
|
-
import {
|
|
3
|
+
import { DOCS_DOMAIN, DOCS_OWNERS, DOCS_STABILITY, DOCS_TAGS } from "../constants.js";
|
|
4
4
|
import { docId } from "../registry.js";
|
|
5
5
|
import "../ensure-docblocks.js";
|
|
6
6
|
|
|
7
7
|
//#region src/docs/presentations/docsReferencePage.presentation.ts
|
|
8
8
|
const DocsReferencePagePresentation = definePresentation({
|
|
9
9
|
meta: {
|
|
10
|
-
key:
|
|
10
|
+
key: "docs.reference.page",
|
|
11
11
|
title: "Docs Reference Page",
|
|
12
12
|
version: "1.0.0",
|
|
13
13
|
description: "Reference page layout for contract documentation.",
|
|
@@ -19,11 +19,14 @@ const DocsReferencePagePresentation = definePresentation({
|
|
|
19
19
|
stability: DOCS_STABILITY,
|
|
20
20
|
docId: [docId("docs.tech.docs-reference")]
|
|
21
21
|
},
|
|
22
|
-
capability:
|
|
22
|
+
capability: {
|
|
23
|
+
key: "docs.system",
|
|
24
|
+
version: "1.0.0"
|
|
25
|
+
},
|
|
23
26
|
source: {
|
|
24
27
|
type: "component",
|
|
25
28
|
framework: "react",
|
|
26
|
-
componentKey:
|
|
29
|
+
componentKey: "docsReferencePage"
|
|
27
30
|
},
|
|
28
31
|
targets: ["react", "markdown"]
|
|
29
32
|
});
|
|
@@ -1,80 +1,80 @@
|
|
|
1
1
|
import { OperationSpec } from "../../operations/operation.js";
|
|
2
2
|
import "../../index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _contractspec_lib_schema491 from "@contractspec/lib.schema";
|
|
4
4
|
import { SchemaModel } from "@contractspec/lib.schema";
|
|
5
5
|
|
|
6
6
|
//#region src/docs/queries/contractReference.query.d.ts
|
|
7
7
|
declare const ContractReferenceInput: SchemaModel<{
|
|
8
8
|
key: {
|
|
9
|
-
type:
|
|
9
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
10
10
|
isOptional: false;
|
|
11
11
|
};
|
|
12
12
|
version: {
|
|
13
|
-
type:
|
|
13
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
14
14
|
isOptional: true;
|
|
15
15
|
};
|
|
16
16
|
type: {
|
|
17
|
-
type:
|
|
17
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
18
18
|
isOptional: true;
|
|
19
19
|
};
|
|
20
20
|
format: {
|
|
21
|
-
type:
|
|
21
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
22
22
|
isOptional: true;
|
|
23
23
|
};
|
|
24
24
|
includeSchema: {
|
|
25
|
-
type:
|
|
25
|
+
type: _contractspec_lib_schema491.FieldType<boolean, boolean>;
|
|
26
26
|
isOptional: true;
|
|
27
27
|
};
|
|
28
28
|
}>;
|
|
29
29
|
declare const ContractReferenceModel: SchemaModel<{
|
|
30
30
|
key: {
|
|
31
|
-
type:
|
|
31
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
32
32
|
isOptional: false;
|
|
33
33
|
};
|
|
34
34
|
version: {
|
|
35
|
-
type:
|
|
35
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
type: {
|
|
39
|
-
type:
|
|
39
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
40
40
|
isOptional: false;
|
|
41
41
|
};
|
|
42
42
|
title: {
|
|
43
|
-
type:
|
|
43
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
44
44
|
isOptional: true;
|
|
45
45
|
};
|
|
46
46
|
description: {
|
|
47
|
-
type:
|
|
47
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
48
48
|
isOptional: true;
|
|
49
49
|
};
|
|
50
50
|
markdown: {
|
|
51
|
-
type:
|
|
51
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
52
52
|
isOptional: true;
|
|
53
53
|
};
|
|
54
54
|
route: {
|
|
55
|
-
type:
|
|
55
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
56
56
|
isOptional: true;
|
|
57
57
|
};
|
|
58
58
|
schema: {
|
|
59
|
-
type:
|
|
59
|
+
type: _contractspec_lib_schema491.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
60
60
|
isOptional: true;
|
|
61
61
|
};
|
|
62
62
|
policy: {
|
|
63
|
-
type:
|
|
63
|
+
type: _contractspec_lib_schema491.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
64
64
|
isOptional: true;
|
|
65
65
|
};
|
|
66
66
|
tags: {
|
|
67
|
-
type:
|
|
67
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
68
68
|
isOptional: true;
|
|
69
69
|
isArray: true;
|
|
70
70
|
};
|
|
71
71
|
owners: {
|
|
72
|
-
type:
|
|
72
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
73
73
|
isOptional: true;
|
|
74
74
|
isArray: true;
|
|
75
75
|
};
|
|
76
76
|
stability: {
|
|
77
|
-
type:
|
|
77
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
78
78
|
isOptional: true;
|
|
79
79
|
};
|
|
80
80
|
}>;
|
|
@@ -82,53 +82,53 @@ declare const ContractReferenceOutput: SchemaModel<{
|
|
|
82
82
|
reference: {
|
|
83
83
|
type: SchemaModel<{
|
|
84
84
|
key: {
|
|
85
|
-
type:
|
|
85
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
86
86
|
isOptional: false;
|
|
87
87
|
};
|
|
88
88
|
version: {
|
|
89
|
-
type:
|
|
89
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
90
90
|
isOptional: false;
|
|
91
91
|
};
|
|
92
92
|
type: {
|
|
93
|
-
type:
|
|
93
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
94
94
|
isOptional: false;
|
|
95
95
|
};
|
|
96
96
|
title: {
|
|
97
|
-
type:
|
|
97
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
98
98
|
isOptional: true;
|
|
99
99
|
};
|
|
100
100
|
description: {
|
|
101
|
-
type:
|
|
101
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
102
102
|
isOptional: true;
|
|
103
103
|
};
|
|
104
104
|
markdown: {
|
|
105
|
-
type:
|
|
105
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
106
106
|
isOptional: true;
|
|
107
107
|
};
|
|
108
108
|
route: {
|
|
109
|
-
type:
|
|
109
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
110
110
|
isOptional: true;
|
|
111
111
|
};
|
|
112
112
|
schema: {
|
|
113
|
-
type:
|
|
113
|
+
type: _contractspec_lib_schema491.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
114
114
|
isOptional: true;
|
|
115
115
|
};
|
|
116
116
|
policy: {
|
|
117
|
-
type:
|
|
117
|
+
type: _contractspec_lib_schema491.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
118
118
|
isOptional: true;
|
|
119
119
|
};
|
|
120
120
|
tags: {
|
|
121
|
-
type:
|
|
121
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
122
122
|
isOptional: true;
|
|
123
123
|
isArray: true;
|
|
124
124
|
};
|
|
125
125
|
owners: {
|
|
126
|
-
type:
|
|
126
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
127
127
|
isOptional: true;
|
|
128
128
|
isArray: true;
|
|
129
129
|
};
|
|
130
130
|
stability: {
|
|
131
|
-
type:
|
|
131
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
132
132
|
isOptional: true;
|
|
133
133
|
};
|
|
134
134
|
}>;
|
|
@@ -137,76 +137,76 @@ declare const ContractReferenceOutput: SchemaModel<{
|
|
|
137
137
|
}>;
|
|
138
138
|
declare const ContractReferenceQuery: OperationSpec<SchemaModel<{
|
|
139
139
|
key: {
|
|
140
|
-
type:
|
|
140
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
141
141
|
isOptional: false;
|
|
142
142
|
};
|
|
143
143
|
version: {
|
|
144
|
-
type:
|
|
144
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
145
145
|
isOptional: true;
|
|
146
146
|
};
|
|
147
147
|
type: {
|
|
148
|
-
type:
|
|
148
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
149
149
|
isOptional: true;
|
|
150
150
|
};
|
|
151
151
|
format: {
|
|
152
|
-
type:
|
|
152
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
153
153
|
isOptional: true;
|
|
154
154
|
};
|
|
155
155
|
includeSchema: {
|
|
156
|
-
type:
|
|
156
|
+
type: _contractspec_lib_schema491.FieldType<boolean, boolean>;
|
|
157
157
|
isOptional: true;
|
|
158
158
|
};
|
|
159
159
|
}>, SchemaModel<{
|
|
160
160
|
reference: {
|
|
161
161
|
type: SchemaModel<{
|
|
162
162
|
key: {
|
|
163
|
-
type:
|
|
163
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
164
164
|
isOptional: false;
|
|
165
165
|
};
|
|
166
166
|
version: {
|
|
167
|
-
type:
|
|
167
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
168
168
|
isOptional: false;
|
|
169
169
|
};
|
|
170
170
|
type: {
|
|
171
|
-
type:
|
|
171
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
172
172
|
isOptional: false;
|
|
173
173
|
};
|
|
174
174
|
title: {
|
|
175
|
-
type:
|
|
175
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
176
176
|
isOptional: true;
|
|
177
177
|
};
|
|
178
178
|
description: {
|
|
179
|
-
type:
|
|
179
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
180
180
|
isOptional: true;
|
|
181
181
|
};
|
|
182
182
|
markdown: {
|
|
183
|
-
type:
|
|
183
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
184
184
|
isOptional: true;
|
|
185
185
|
};
|
|
186
186
|
route: {
|
|
187
|
-
type:
|
|
187
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
188
188
|
isOptional: true;
|
|
189
189
|
};
|
|
190
190
|
schema: {
|
|
191
|
-
type:
|
|
191
|
+
type: _contractspec_lib_schema491.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
192
192
|
isOptional: true;
|
|
193
193
|
};
|
|
194
194
|
policy: {
|
|
195
|
-
type:
|
|
195
|
+
type: _contractspec_lib_schema491.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
196
196
|
isOptional: true;
|
|
197
197
|
};
|
|
198
198
|
tags: {
|
|
199
|
-
type:
|
|
199
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
200
200
|
isOptional: true;
|
|
201
201
|
isArray: true;
|
|
202
202
|
};
|
|
203
203
|
owners: {
|
|
204
|
-
type:
|
|
204
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
205
205
|
isOptional: true;
|
|
206
206
|
isArray: true;
|
|
207
207
|
};
|
|
208
208
|
stability: {
|
|
209
|
-
type:
|
|
209
|
+
type: _contractspec_lib_schema491.FieldType<string, string>;
|
|
210
210
|
isOptional: true;
|
|
211
211
|
};
|
|
212
212
|
}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineQuery } from "../../operations/operation.js";
|
|
2
2
|
import "../../operations/index.js";
|
|
3
|
-
import {
|
|
3
|
+
import { DOCS_DOMAIN, DOCS_OWNERS, DOCS_STABILITY, DOCS_TAGS } from "../constants.js";
|
|
4
4
|
import { docId } from "../registry.js";
|
|
5
5
|
import "../ensure-docblocks.js";
|
|
6
6
|
import { ScalarTypeEnum, SchemaModel } from "@contractspec/lib.schema";
|
|
@@ -107,7 +107,10 @@ const ContractReferenceQuery = defineQuery({
|
|
|
107
107
|
stability: DOCS_STABILITY,
|
|
108
108
|
docId: [docId("docs.tech.docs-reference")]
|
|
109
109
|
},
|
|
110
|
-
capability:
|
|
110
|
+
capability: {
|
|
111
|
+
key: "docs.system",
|
|
112
|
+
version: "1.0.0"
|
|
113
|
+
},
|
|
111
114
|
io: {
|
|
112
115
|
input: ContractReferenceInput,
|
|
113
116
|
output: ContractReferenceOutput
|