@digi-frontend/dgate-api-documentation 1.0.15 → 1.0.18
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/src/components/InfoForm/InfoForm.js +1 -1
- package/dist/src/components/InfoForm/InfoForm.js.map +1 -1
- package/dist/src/components/LivePreview/LivePreview.js +1 -1
- package/dist/src/components/LivePreview/LivePreview.js.map +1 -1
- package/dist/src/components/MethodAccordion/MethodAccordion.js +1 -1
- package/dist/src/components/MethodAccordion/MethodAccordion.js.map +1 -1
- package/dist/src/components/table/tags-table.js +1 -1
- package/dist/src/components/table/tags-table.js.map +1 -1
- package/dist/src/constants/index.js +1 -1
- package/dist/src/constants/index.js.map +1 -1
- package/dist/styles.css +375 -369
- package/dist/types/components/MethodAccordion/MethodAccordion.d.ts +1 -0
- package/dist/types/constants/index.d.ts +7 -2
- package/package.json +1 -1
- package/src/components/InfoForm/InfoForm.tsx +3 -2
- package/src/components/LivePreview/LivePreview.tsx +8 -6
- package/src/components/MethodAccordion/MethodAccordion.tsx +1 -1
- package/src/components/table/style.scss +11 -0
- package/src/components/table/tags-table.tsx +1 -1
- package/src/constants/index.ts +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/constants/index.ts"],"sourcesContent":["export const methodColorMapping = {\r\n get: {\r\n label: 'Get',\r\n color: '#3A6CD1',\r\n order: 1,\r\n },\r\n post: {\r\n label: 'Post',\r\n color: '#3AAA35',\r\n order: 2,\r\n },\r\n put: {\r\n label: 'Put',\r\n color: '#FAAD14',\r\n order: 3,\r\n },\r\n delete: {\r\n label: 'Delete',\r\n color: '#DA3F3F',\r\n order: 4,\r\n },\r\n patch: {\r\n label: 'Patch',\r\n color: '#58E2C2',\r\n order: 5,\r\n },\r\n options: {\r\n label: 'Options',\r\n color: '#495D97',\r\n order: 6,\r\n },\r\n trace: {\r\n label: 'Trace',\r\n color: '#FFA28F',\r\n order: 7,\r\n },\r\n head: {\r\n label: 'Head',\r\n color: '#9461C9',\r\n order: 8,\r\n },\r\n}\r\n\r\nexport const tagsTableHeaders = [\r\n {\r\n id: 'tagName',\r\n label: 'Tag Name',\r\n sortable: false,\r\n classes: 'requiredParam',\r\n },\r\n {\r\n id: 'description',\r\n label: 'Description',\r\n sortable: false,\r\n
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/constants/index.ts"],"sourcesContent":["export const methodColorMapping = {\r\n get: {\r\n label: 'Get',\r\n color: '#3A6CD1',\r\n order: 1,\r\n },\r\n post: {\r\n label: 'Post',\r\n color: '#3AAA35',\r\n order: 2,\r\n },\r\n put: {\r\n label: 'Put',\r\n color: '#FAAD14',\r\n order: 3,\r\n },\r\n delete: {\r\n label: 'Delete',\r\n color: '#DA3F3F',\r\n order: 4,\r\n },\r\n patch: {\r\n label: 'Patch',\r\n color: '#58E2C2',\r\n order: 5,\r\n },\r\n options: {\r\n label: 'Options',\r\n color: '#495D97',\r\n order: 6,\r\n },\r\n trace: {\r\n label: 'Trace',\r\n color: '#FFA28F',\r\n order: 7,\r\n },\r\n head: {\r\n label: 'Head',\r\n color: '#9461C9',\r\n order: 8,\r\n },\r\n}\r\n\r\nexport const tagsTableHeaders = [\r\n {\r\n id: 'tagName',\r\n label: 'Tag Name',\r\n sortable: false,\r\n classes: 'requiredParam',\r\n },\r\n {\r\n id: 'description',\r\n label: 'Description',\r\n sortable: false,\r\n },\r\n {\r\n id: 'externalDocs',\r\n label: 'External Docs',\r\n sortable: false,\r\n },\r\n]\r\n\r\nexport const paramsTableHeaders = [\r\n {\r\n id: 'paramName',\r\n label: 'Parameter Name',\r\n sortable: false,\r\n required: true,\r\n classes: 'requiredParam',\r\n },\r\n { id: 'paramType', label: 'In', sortable: false, classes: 'requiredParam' },\r\n { id: 'schemaType', label: 'Schema-Type', sortable: false, classes: 'requiredParam' },\r\n { id: 'required', label: 'Required', sortable: false, classes: 'requiredParam' },\r\n { id: 'description', label: 'Description', sortable: false },\r\n]\r\n\r\nexport const httpStatusCodes = [\r\n // 1xx: Informational responses\r\n 100, 101, 102, 103,\r\n\r\n // 2xx: Success\r\n 200, 201, 202, 203, 204, 205, 206, 207, 208, 226,\r\n\r\n // 3xx: Redirection\r\n 300, 301, 302, 303, 304, 305, 306, 307, 308,\r\n\r\n // 4xx: Client errors\r\n 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418,\r\n 421, 422, 423, 424, 425, 426, 428, 429, 431, 451,\r\n\r\n // 5xx: Server errors\r\n 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, 511,\r\n]\r\n"],"names":["methodColorMapping","get","label","color","order","post","put","delete","patch","options","trace","head","tagsTableHeaders","id","sortable","classes","paramsTableHeaders","required","httpStatusCodes"],"mappings":"AAAa,MAAAA,EAAqB,CAChCC,IAAK,CACHC,MAAO,MACPC,MAAO,UACPC,MAAO,GAETC,KAAM,CACJH,MAAO,OACPC,MAAO,UACPC,MAAO,GAETE,IAAK,CACHJ,MAAO,MACPC,MAAO,UACPC,MAAO,GAETG,OAAQ,CACNL,MAAO,SACPC,MAAO,UACPC,MAAO,GAETI,MAAO,CACLN,MAAO,QACPC,MAAO,UACPC,MAAO,GAETK,QAAS,CACPP,MAAO,UACPC,MAAO,UACPC,MAAO,GAETM,MAAO,CACLR,MAAO,QACPC,MAAO,UACPC,MAAO,GAETO,KAAM,CACJT,MAAO,OACPC,MAAO,UACPC,MAAO,IAIEQ,EAAmB,CAC9B,CACEC,GAAI,UACJX,MAAO,WACPY,UAAU,EACVC,QAAS,iBAEX,CACEF,GAAI,cACJX,MAAO,cACPY,UAAU,GAEZ,CACED,GAAI,eACJX,MAAO,gBACPY,UAAU,IAIDE,EAAqB,CAChC,CACEH,GAAI,YACJX,MAAO,iBACPY,UAAU,EACVG,UAAU,EACVF,QAAS,iBAEX,CAAEF,GAAI,YAAaX,MAAO,KAAMY,UAAU,EAAOC,QAAS,iBAC1D,CAAEF,GAAI,aA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