@digi-frontend/dgate-api-documentation 1.1.10 → 1.1.11

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.
@@ -5,10 +5,10 @@ declare const JsonInput: ({ placeholder, label, value, onValidation, onChange, d
5
5
  onValidation: any;
6
6
  onChange: any;
7
7
  dataId: any;
8
- className?: string | undefined;
8
+ className?: string;
9
9
  errorMessage: any;
10
- acceptType?: string | undefined;
10
+ acceptType?: string;
11
11
  fieldIsDisabled: any;
12
- withFooter?: boolean | undefined;
12
+ withFooter?: boolean;
13
13
  }) => import("react/jsx-runtime").JSX.Element;
14
14
  export default JsonInput;
@@ -7,6 +7,6 @@ declare const ParamterTable: ({ id, headCells, data, isFormOpen, setIsFormOpen,
7
7
  setIsFormOpen: any;
8
8
  saveNewRow: any;
9
9
  readOnly: any;
10
- isRequest?: boolean | undefined;
10
+ isRequest?: boolean;
11
11
  }) => import("react/jsx-runtime").JSX.Element;
12
12
  export default ParamterTable;
@@ -1,2 +1,2 @@
1
- export declare const copyToClipboard: (text: string) => Promise<unknown>;
1
+ export declare const copyToClipboard: (text: string) => Promise<any>;
2
2
  export declare const capitalizeFirstLetter: (text: string) => string;
@@ -2,35 +2,35 @@ import * as yup from 'yup';
2
2
  export declare const schemaValidation: yup.ObjectSchema<{
3
3
  openapi: string;
4
4
  info: {
5
- title: string;
6
- description: string;
7
- version: string;
5
+ title?: string;
6
+ description?: string;
7
+ version?: string;
8
8
  };
9
9
  servers: {
10
- description?: string | undefined;
11
- url: string;
12
- }[] | undefined;
10
+ description?: string;
11
+ url?: string;
12
+ }[];
13
13
  paths: {
14
- path: string;
15
- methods: {
16
- type?: string | undefined;
17
- description?: string | undefined;
18
- tags?: (string | undefined)[] | undefined;
19
- requestBody?: {} | undefined;
20
- summary: string;
14
+ path?: string;
15
+ methods?: {
16
+ summary?: string;
17
+ type?: string;
18
+ description?: string;
19
+ tags?: string[];
20
+ requestBody?: {};
21
21
  }[];
22
22
  }[];
23
23
  components: {
24
- securitySchemes?: {} | undefined;
25
- schemas?: {} | undefined;
26
- } | undefined;
24
+ securitySchemes?: {};
25
+ schemas?: {};
26
+ };
27
27
  security: {
28
- schemeName?: (string | undefined)[] | undefined;
29
- }[] | undefined;
28
+ schemeName?: string[];
29
+ }[];
30
30
  tags: {
31
- description?: string | undefined;
32
- name: string;
33
- }[] | undefined;
31
+ name?: string;
32
+ description?: string;
33
+ }[];
34
34
  }, yup.AnyObject, {
35
35
  openapi: undefined;
36
36
  info: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digi-frontend/dgate-api-documentation",
3
- "version": "1.1.10",
3
+ "version": "1.1.11",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
@@ -10,8 +10,7 @@
10
10
  ],
11
11
  "scripts": {
12
12
  "test": "echo \"Error: no test specified\" && exit 1",
13
- "build_old": "tsc --noEmit --skipLibCheck || true && rollup -c || true",
14
- "build": "tsup src/index.ts --dts --format esm,cjs --out-dir dist"
13
+ "build": "tsc --noEmit --skipLibCheck || true && rollup -c || true"
15
14
  },
16
15
  "exports": {
17
16
  ".": "./src/index.ts"