docusaurus-plugin-openapi-docs 1.0.1 → 1.0.4

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.
Files changed (66) hide show
  1. package/README.md +110 -21
  2. package/lib/index.d.ts +7 -1
  3. package/lib/index.js +257 -22
  4. package/lib/markdown/createAuthentication.d.ts +2 -0
  5. package/lib/markdown/createAuthentication.js +139 -0
  6. package/lib/markdown/createContactInfo.d.ts +2 -0
  7. package/lib/markdown/createContactInfo.js +49 -0
  8. package/lib/markdown/createLicense.d.ts +2 -0
  9. package/lib/markdown/createLicense.js +33 -0
  10. package/lib/markdown/createParamsDetails.js +2 -0
  11. package/lib/markdown/createSchemaDetails.js +6 -1
  12. package/lib/markdown/createStatusCodes.js +1 -1
  13. package/lib/markdown/createTermsOfService.d.ts +1 -0
  14. package/lib/markdown/createTermsOfService.js +32 -0
  15. package/lib/markdown/index.d.ts +3 -2
  16. package/lib/markdown/index.js +17 -3
  17. package/lib/openapi/createExample.js +59 -49
  18. package/lib/openapi/openapi.d.ts +5 -4
  19. package/lib/openapi/openapi.js +94 -50
  20. package/lib/openapi/openapi.test.js +0 -6
  21. package/lib/openapi/types.d.ts +5 -1
  22. package/lib/openapi/utils/loadAndBundleSpec.d.ts +3 -0
  23. package/lib/openapi/utils/loadAndBundleSpec.js +44 -0
  24. package/lib/openapi/utils/types.d.ts +306 -0
  25. package/lib/{markdown/createRequestBodyTable.js → openapi/utils/types.js} +0 -6
  26. package/lib/options.d.ts +0 -2
  27. package/lib/options.js +36 -7
  28. package/lib/sidebars/index.d.ts +2 -1
  29. package/lib/sidebars/index.js +91 -35
  30. package/lib/sidebars/utils.d.ts +2 -0
  31. package/lib/sidebars/utils.js +31 -0
  32. package/lib/types.d.ts +35 -11
  33. package/package.json +10 -9
  34. package/src/index.ts +332 -25
  35. package/src/markdown/createAuthentication.ts +160 -0
  36. package/src/markdown/createContactInfo.ts +52 -0
  37. package/src/markdown/createLicense.ts +34 -0
  38. package/src/markdown/createParamsDetails.ts +2 -0
  39. package/src/markdown/createSchemaDetails.ts +8 -2
  40. package/src/markdown/createStatusCodes.ts +1 -1
  41. package/src/markdown/createTermsOfService.ts +30 -0
  42. package/src/markdown/index.ts +23 -3
  43. package/src/openapi/createExample.ts +59 -50
  44. package/src/openapi/openapi.test.ts +0 -6
  45. package/src/openapi/openapi.ts +115 -53
  46. package/src/openapi/types.ts +5 -1
  47. package/src/openapi/utils/loadAndBundleSpec.ts +62 -0
  48. package/src/openapi/utils/types.ts +303 -0
  49. package/src/options.ts +41 -8
  50. package/src/{markdown/createRequestBodyTable.ts → postman-collection.d.ts} +2 -9
  51. package/src/sidebars/index.ts +116 -36
  52. package/src/sidebars/utils.ts +29 -0
  53. package/src/types.ts +36 -10
  54. package/lib/markdown/createFullWidthTable.d.ts +0 -2
  55. package/lib/markdown/createFullWidthTable.js +0 -18
  56. package/lib/markdown/createParamsTable.d.ts +0 -7
  57. package/lib/markdown/createParamsTable.js +0 -80
  58. package/lib/markdown/createRequestBodyTable.d.ts +0 -6
  59. package/lib/markdown/createSchemaTable.d.ts +0 -14
  60. package/lib/markdown/createSchemaTable.js +0 -217
  61. package/src/markdown/createFullWidthTable.ts +0 -16
  62. package/src/markdown/createParamsTable.ts +0 -102
  63. package/src/markdown/createSchemaTable.ts +0 -275
  64. package/src/openapi/__fixtures__/examples/yogurtstore/_category_.json +0 -4
  65. package/src/openapi/__fixtures__/examples/yogurtstore/froyo.yaml +0 -13
  66. package/src/openapi/__fixtures__/examples/yogurtstore/nested/nested.yaml +0 -13
package/src/types.ts CHANGED
@@ -5,13 +5,13 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  * ========================================================================== */
7
7
 
8
- // @ts-ignore
9
- import type { Request } from "@paloaltonetworks/postman-collection";
8
+ import type Request from "@paloaltonetworks/postman-collection";
10
9
 
11
10
  import {
12
11
  InfoObject,
13
12
  OperationObject,
14
13
  SecuritySchemeObject,
14
+ TagObject,
15
15
  } from "./openapi/types";
16
16
 
17
17
  export type {
@@ -22,6 +22,7 @@ export type {
22
22
  } from "@docusaurus/plugin-content-docs-types";
23
23
  export interface PluginOptions {
24
24
  id?: string;
25
+ docPluginId: string;
25
26
  config: {
26
27
  [key: string]: APIOptions;
27
28
  };
@@ -32,6 +33,27 @@ export interface APIOptions {
32
33
  outputDir: string;
33
34
  template?: string;
34
35
  sidebarOptions?: SidebarOptions;
36
+ version?: string;
37
+ label?: string;
38
+ baseUrl?: string;
39
+ versions?: {
40
+ [key: string]: APIVersionOptions;
41
+ };
42
+ }
43
+
44
+ export interface SidebarOptions {
45
+ groupPathsBy?: string;
46
+ categoryLinkSource?: string;
47
+ customProps?: { [key: string]: unknown };
48
+ sidebarCollapsible?: boolean;
49
+ sidebarCollapsed?: boolean;
50
+ }
51
+
52
+ export interface APIVersionOptions {
53
+ specPath: string;
54
+ outputDir: string;
55
+ label: string;
56
+ baseUrl: string;
35
57
  }
36
58
 
37
59
  export interface LoadedContent {
@@ -39,7 +61,7 @@ export interface LoadedContent {
39
61
  // loadedDocs: DocPageMetadata[]; TODO: cleanup
40
62
  }
41
63
 
42
- export type ApiMetadata = ApiPageMetadata | InfoPageMetadata;
64
+ export type ApiMetadata = ApiPageMetadata | InfoPageMetadata | TagPageMetadata;
43
65
 
44
66
  export interface ApiMetadataBase {
45
67
  sidebar?: string;
@@ -48,6 +70,8 @@ export interface ApiMetadataBase {
48
70
  //
49
71
  id: string; // TODO legacy versioned id => try to remove
50
72
  unversionedId: string; // TODO new unversioned id => try to rename to "id"
73
+ infoId?: string;
74
+ infoPath?: string;
51
75
  title: string;
52
76
  description: string;
53
77
  source: string; // @site aliased source => "@site/docs/folder/subFolder/subSubFolder/myDoc.md"
@@ -80,6 +104,15 @@ export interface InfoPageMetadata extends ApiMetadataBase {
80
104
  type: "info";
81
105
  info: ApiInfo;
82
106
  markdown?: string;
107
+ securitySchemes?: {
108
+ [key: string]: SecuritySchemeObject;
109
+ };
110
+ }
111
+
112
+ export interface TagPageMetadata extends ApiMetadataBase {
113
+ type: "tag";
114
+ tag: TagObject;
115
+ markdown?: string;
83
116
  }
84
117
 
85
118
  export type ApiInfo = InfoObject;
@@ -88,10 +121,3 @@ export interface ApiNavLink {
88
121
  title: string;
89
122
  permalink: string;
90
123
  }
91
-
92
- export interface SidebarOptions {
93
- groupPathsBy?: string;
94
- customProps?: { [key: string]: unknown };
95
- sidebarCollapsible?: boolean;
96
- sidebarCollapsed?: boolean;
97
- }
@@ -1,2 +0,0 @@
1
- import { Props } from "./utils";
2
- export declare function createFullWidthTable({ children, style, ...rest }: Props): string;
@@ -1,18 +0,0 @@
1
- "use strict";
2
- /* ============================================================================
3
- * Copyright (c) Palo Alto Networks
4
- *
5
- * This source code is licensed under the MIT license found in the
6
- * LICENSE file in the root directory of this source tree.
7
- * ========================================================================== */
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.createFullWidthTable = void 0;
10
- const utils_1 = require("./utils");
11
- function createFullWidthTable({ children, style, ...rest }) {
12
- return (0, utils_1.create)("table", {
13
- style: { display: "table", width: "100%", ...style },
14
- ...rest,
15
- children,
16
- });
17
- }
18
- exports.createFullWidthTable = createFullWidthTable;
@@ -1,7 +0,0 @@
1
- import { ApiItem } from "../types";
2
- interface Props {
3
- parameters: ApiItem["parameters"];
4
- type: "path" | "query" | "header" | "cookie";
5
- }
6
- export declare function createParamsTable({ parameters, type }: Props): string | undefined;
7
- export {};
@@ -1,80 +0,0 @@
1
- "use strict";
2
- /* ============================================================================
3
- * Copyright (c) Palo Alto Networks
4
- *
5
- * This source code is licensed under the MIT license found in the
6
- * LICENSE file in the root directory of this source tree.
7
- * ========================================================================== */
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.createParamsTable = void 0;
10
- const lodash_1 = require("lodash");
11
- const createDescription_1 = require("./createDescription");
12
- const createFullWidthTable_1 = require("./createFullWidthTable");
13
- const schema_1 = require("./schema");
14
- const utils_1 = require("./utils");
15
- function createParamsTable({ parameters, type }) {
16
- if (parameters === undefined) {
17
- return undefined;
18
- }
19
- const params = parameters.filter((param) => (param === null || param === void 0 ? void 0 : param.in) === type);
20
- if (params.length === 0) {
21
- return undefined;
22
- }
23
- return (0, createFullWidthTable_1.createFullWidthTable)({
24
- children: [
25
- (0, utils_1.create)("thead", {
26
- children: (0, utils_1.create)("tr", {
27
- children: (0, utils_1.create)("th", {
28
- style: { textAlign: "left" },
29
- children: `${type.charAt(0).toUpperCase() + type.slice(1)} Parameters`,
30
- }),
31
- }),
32
- }),
33
- (0, utils_1.create)("tbody", {
34
- children: params.map((param) => (0, utils_1.create)("tr", {
35
- children: (0, utils_1.create)("td", {
36
- children: [
37
- (0, utils_1.create)("code", { children: param.name }),
38
- (0, utils_1.guard)(param.schema, (schema) => (0, utils_1.create)("span", {
39
- style: { opacity: "0.6" },
40
- children: ` ${(0, schema_1.getSchemaName)(schema)}`,
41
- })),
42
- (0, utils_1.guard)(param.required, () => [
43
- (0, utils_1.create)("span", {
44
- style: { opacity: "0.6" },
45
- children: " — ",
46
- }),
47
- (0, utils_1.create)("strong", {
48
- style: {
49
- fontSize: "var(--ifm-code-font-size)",
50
- color: "var(--openapi-required)",
51
- },
52
- children: " REQUIRED",
53
- }),
54
- ]),
55
- (0, utils_1.guard)((0, schema_1.getQualifierMessage)(param.schema), (message) => (0, utils_1.create)("div", {
56
- style: { marginTop: "var(--ifm-table-cell-padding)" },
57
- children: (0, createDescription_1.createDescription)(message),
58
- })),
59
- (0, utils_1.guard)(param.description, (description) => (0, utils_1.create)("div", {
60
- style: { marginTop: "var(--ifm-table-cell-padding)" },
61
- children: (0, createDescription_1.createDescription)(description),
62
- })),
63
- (0, utils_1.guard)(param.example, (example) => (0, utils_1.create)("div", {
64
- style: { marginTop: "var(--ifm-table-cell-padding)" },
65
- children: (0, lodash_1.escape)(`Example: ${example}`),
66
- })),
67
- (0, utils_1.guard)(param.examples, (examples) => (0, utils_1.create)("div", {
68
- style: { marginTop: "var(--ifm-table-cell-padding)" },
69
- children: Object.entries(examples).map(([k, v]) => (0, utils_1.create)("div", {
70
- children: (0, lodash_1.escape)(`Example (${k}): ${v.value}`),
71
- })),
72
- })),
73
- ],
74
- }),
75
- })),
76
- }),
77
- ],
78
- });
79
- }
80
- exports.createParamsTable = createParamsTable;
@@ -1,6 +0,0 @@
1
- interface Props {
2
- title: string;
3
- body: any;
4
- }
5
- export declare function createRequestBodyTable({ title, body }: Props): string | undefined;
6
- export {};
@@ -1,14 +0,0 @@
1
- import { MediaTypeObject } from "../openapi/types";
2
- interface Props {
3
- style?: any;
4
- title: string;
5
- body: {
6
- content?: {
7
- [key: string]: MediaTypeObject;
8
- };
9
- description?: string;
10
- required?: boolean;
11
- };
12
- }
13
- export declare function createSchemaTable({ title, body, ...rest }: Props): string | undefined;
14
- export {};
@@ -1,217 +0,0 @@
1
- "use strict";
2
- /* ============================================================================
3
- * Copyright (c) Palo Alto Networks
4
- *
5
- * This source code is licensed under the MIT license found in the
6
- * LICENSE file in the root directory of this source tree.
7
- * ========================================================================== */
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.createSchemaTable = void 0;
10
- const createDescription_1 = require("./createDescription");
11
- const createFullWidthTable_1 = require("./createFullWidthTable");
12
- const schema_1 = require("./schema");
13
- const utils_1 = require("./utils");
14
- function resolveAllOf(allOf) {
15
- // TODO: naive implementation (only supports objects, no directly nested allOf)
16
- const properties = allOf.reduce((acc, cur) => {
17
- if (cur.properties !== undefined) {
18
- const next = { ...acc, ...cur.properties };
19
- return next;
20
- }
21
- return acc;
22
- }, {});
23
- const required = allOf.reduce((acc, cur) => {
24
- if (Array.isArray(cur.required)) {
25
- const next = [...acc, ...cur.required];
26
- return next;
27
- }
28
- return acc;
29
- }, []);
30
- return { properties, required };
31
- }
32
- function createRow({ name, schema, required }) {
33
- return (0, utils_1.create)("tr", {
34
- children: (0, utils_1.create)("td", {
35
- children: [
36
- (0, utils_1.create)("code", { children: name }),
37
- (0, utils_1.create)("span", {
38
- style: { opacity: "0.6" },
39
- children: ` ${(0, schema_1.getSchemaName)(schema, true)}`,
40
- }),
41
- (0, utils_1.guard)(required, () => [
42
- (0, utils_1.create)("span", {
43
- style: { opacity: "0.6" },
44
- children: " — ",
45
- }),
46
- (0, utils_1.create)("strong", {
47
- style: {
48
- fontSize: "var(--ifm-code-font-size)",
49
- color: "var(--openapi-required)",
50
- },
51
- children: " REQUIRED",
52
- }),
53
- ]),
54
- (0, utils_1.guard)((0, schema_1.getQualifierMessage)(schema), (message) => (0, utils_1.create)("div", {
55
- style: { marginTop: "var(--ifm-table-cell-padding)" },
56
- children: (0, createDescription_1.createDescription)(message),
57
- })),
58
- (0, utils_1.guard)(schema.description, (description) => (0, utils_1.create)("div", {
59
- style: { marginTop: "var(--ifm-table-cell-padding)" },
60
- children: (0, createDescription_1.createDescription)(description),
61
- })),
62
- createRows({ schema: schema }),
63
- ],
64
- }),
65
- });
66
- }
67
- function createRows({ schema }) {
68
- // object
69
- if (schema.properties !== undefined) {
70
- return (0, createFullWidthTable_1.createFullWidthTable)({
71
- style: {
72
- marginTop: "var(--ifm-table-cell-padding)",
73
- marginBottom: "0px",
74
- },
75
- children: (0, utils_1.create)("tbody", {
76
- children: Object.entries(schema.properties).map(([key, val]) => createRow({
77
- name: key,
78
- schema: val,
79
- required: Array.isArray(schema.required)
80
- ? schema.required.includes(key)
81
- : false,
82
- })),
83
- }),
84
- });
85
- }
86
- // TODO: This can be a bit complicated types can be missmatched and there can be nested allOfs which need to be resolved before merging properties
87
- if (schema.allOf !== undefined) {
88
- const { properties, required } = resolveAllOf(schema.allOf);
89
- return (0, createFullWidthTable_1.createFullWidthTable)({
90
- style: {
91
- marginTop: "var(--ifm-table-cell-padding)",
92
- marginBottom: "0px",
93
- },
94
- children: (0, utils_1.create)("tbody", {
95
- children: Object.entries(properties).map(([key, val]) => createRow({
96
- name: key,
97
- schema: val,
98
- required: Array.isArray(required) ? required.includes(key) : false,
99
- })),
100
- }),
101
- });
102
- }
103
- // array
104
- if (schema.items !== undefined) {
105
- return createRows({ schema: schema.items });
106
- }
107
- // primitive
108
- return undefined;
109
- }
110
- function createRowsRoot({ schema }) {
111
- // object
112
- if (schema.properties !== undefined) {
113
- return Object.entries(schema.properties).map(([key, val]) => createRow({
114
- name: key,
115
- schema: val,
116
- required: Array.isArray(schema.required)
117
- ? schema.required.includes(key)
118
- : false,
119
- }));
120
- }
121
- // TODO: This can be a bit complicated types can be missmatched and there can be nested allOfs which need to be resolved before merging properties
122
- if (schema.allOf !== undefined) {
123
- const { properties, required } = resolveAllOf(schema.allOf);
124
- return Object.entries(properties).map(([key, val]) => createRow({
125
- name: key,
126
- schema: val,
127
- required: Array.isArray(required) ? required.includes(key) : false,
128
- }));
129
- }
130
- // array
131
- if (schema.items !== undefined) {
132
- return (0, utils_1.create)("tr", {
133
- children: (0, utils_1.create)("td", {
134
- children: [
135
- (0, utils_1.create)("span", {
136
- style: { opacity: "0.6" },
137
- children: ` ${(0, schema_1.getSchemaName)(schema, true)}`,
138
- }),
139
- createRows({ schema: schema.items }),
140
- ],
141
- }),
142
- });
143
- }
144
- // primitive
145
- return (0, utils_1.create)("tr", {
146
- children: (0, utils_1.create)("td", {
147
- children: [
148
- (0, utils_1.create)("span", {
149
- style: { opacity: "0.6" },
150
- children: ` ${schema.type}`,
151
- }),
152
- (0, utils_1.guard)((0, schema_1.getQualifierMessage)(schema), (message) => (0, utils_1.create)("div", {
153
- style: { marginTop: "var(--ifm-table-cell-padding)" },
154
- children: (0, createDescription_1.createDescription)(message),
155
- })),
156
- (0, utils_1.guard)(schema.description, (description) => (0, utils_1.create)("div", {
157
- style: { marginTop: "var(--ifm-table-cell-padding)" },
158
- children: (0, createDescription_1.createDescription)(description),
159
- })),
160
- ],
161
- }),
162
- });
163
- }
164
- function createSchemaTable({ title, body, ...rest }) {
165
- if (body === undefined || body.content === undefined) {
166
- return undefined;
167
- }
168
- // TODO:
169
- // NOTE: We just pick a random content-type.
170
- // How common is it to have multiple?
171
- const randomFirstKey = Object.keys(body.content)[0];
172
- const firstBody = body.content[randomFirstKey].schema;
173
- if (firstBody === undefined) {
174
- return undefined;
175
- }
176
- // we don't show the table if there is no properties to show
177
- if (firstBody.properties !== undefined) {
178
- if (Object.keys(firstBody.properties).length === 0) {
179
- return undefined;
180
- }
181
- }
182
- return (0, createFullWidthTable_1.createFullWidthTable)({
183
- ...rest,
184
- children: [
185
- (0, utils_1.create)("thead", {
186
- children: (0, utils_1.create)("tr", {
187
- children: (0, utils_1.create)("th", {
188
- style: { textAlign: "left" },
189
- children: [
190
- `${title} `,
191
- (0, utils_1.guard)(body.required, () => [
192
- (0, utils_1.create)("span", {
193
- style: { opacity: "0.6" },
194
- children: " — ",
195
- }),
196
- (0, utils_1.create)("strong", {
197
- style: {
198
- fontSize: "var(--ifm-code-font-size)",
199
- color: "var(--openapi-required)",
200
- },
201
- children: " REQUIRED",
202
- }),
203
- ]),
204
- (0, utils_1.create)("div", {
205
- children: (0, createDescription_1.createDescription)(body.description),
206
- }),
207
- ],
208
- }),
209
- }),
210
- }),
211
- (0, utils_1.create)("tbody", {
212
- children: createRowsRoot({ schema: firstBody }),
213
- }),
214
- ],
215
- });
216
- }
217
- exports.createSchemaTable = createSchemaTable;
@@ -1,16 +0,0 @@
1
- /* ============================================================================
2
- * Copyright (c) Palo Alto Networks
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- * ========================================================================== */
7
-
8
- import { create, Props } from "./utils";
9
-
10
- export function createFullWidthTable({ children, style, ...rest }: Props) {
11
- return create("table", {
12
- style: { display: "table", width: "100%", ...style },
13
- ...rest,
14
- children,
15
- });
16
- }
@@ -1,102 +0,0 @@
1
- /* ============================================================================
2
- * Copyright (c) Palo Alto Networks
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- * ========================================================================== */
7
-
8
- import { escape } from "lodash";
9
-
10
- import { ApiItem } from "../types";
11
- import { createDescription } from "./createDescription";
12
- import { createFullWidthTable } from "./createFullWidthTable";
13
- import { getQualifierMessage, getSchemaName } from "./schema";
14
- import { create, guard } from "./utils";
15
-
16
- interface Props {
17
- parameters: ApiItem["parameters"];
18
- type: "path" | "query" | "header" | "cookie";
19
- }
20
-
21
- export function createParamsTable({ parameters, type }: Props) {
22
- if (parameters === undefined) {
23
- return undefined;
24
- }
25
- const params = parameters.filter((param) => param?.in === type);
26
- if (params.length === 0) {
27
- return undefined;
28
- }
29
-
30
- return createFullWidthTable({
31
- children: [
32
- create("thead", {
33
- children: create("tr", {
34
- children: create("th", {
35
- style: { textAlign: "left" },
36
- children: `${
37
- type.charAt(0).toUpperCase() + type.slice(1)
38
- } Parameters`,
39
- }),
40
- }),
41
- }),
42
- create("tbody", {
43
- children: params.map((param) =>
44
- create("tr", {
45
- children: create("td", {
46
- children: [
47
- create("code", { children: param.name }),
48
- guard(param.schema, (schema) =>
49
- create("span", {
50
- style: { opacity: "0.6" },
51
- children: ` ${getSchemaName(schema)}`,
52
- })
53
- ),
54
- guard(param.required, () => [
55
- create("span", {
56
- style: { opacity: "0.6" },
57
- children: " — ",
58
- }),
59
- create("strong", {
60
- style: {
61
- fontSize: "var(--ifm-code-font-size)",
62
- color: "var(--openapi-required)",
63
- },
64
- children: " REQUIRED",
65
- }),
66
- ]),
67
- guard(getQualifierMessage(param.schema), (message) =>
68
- create("div", {
69
- style: { marginTop: "var(--ifm-table-cell-padding)" },
70
- children: createDescription(message),
71
- })
72
- ),
73
- guard(param.description, (description) =>
74
- create("div", {
75
- style: { marginTop: "var(--ifm-table-cell-padding)" },
76
- children: createDescription(description),
77
- })
78
- ),
79
- guard(param.example, (example) =>
80
- create("div", {
81
- style: { marginTop: "var(--ifm-table-cell-padding)" },
82
- children: escape(`Example: ${example}`),
83
- })
84
- ),
85
- guard(param.examples, (examples) =>
86
- create("div", {
87
- style: { marginTop: "var(--ifm-table-cell-padding)" },
88
- children: Object.entries(examples).map(([k, v]) =>
89
- create("div", {
90
- children: escape(`Example (${k}): ${v.value}`),
91
- })
92
- ),
93
- })
94
- ),
95
- ],
96
- }),
97
- })
98
- ),
99
- }),
100
- ],
101
- });
102
- }