@asyncapi/react-component 1.0.0-next.48 → 1.0.0-next.49
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/browser/index.js +32 -27
- package/browser/index.js.LICENSE.txt +88 -0
- package/browser/standalone/index.js +32 -51
- package/browser/standalone/index.js.LICENSE.txt +112 -0
- package/browser/standalone/without-parser.js +14 -41
- package/browser/standalone/without-parser.js.LICENSE.txt +110 -0
- package/browser/without-parser.js +14 -12
- package/browser/without-parser.js.LICENSE.txt +86 -0
- package/lib/cjs/components/Schema.js +40 -57
- package/lib/cjs/components/Schema.js.map +1 -1
- package/lib/cjs/components/Tag.js.map +1 -1
- package/lib/cjs/components/Tags.js.map +1 -1
- package/lib/cjs/containers/AsyncApi/AsyncApi.js.map +1 -1
- package/lib/cjs/containers/AsyncApi/Layout.js.map +1 -1
- package/lib/cjs/containers/AsyncApi/Standalone.js.map +1 -1
- package/lib/cjs/containers/Info/Info.js +6 -6
- package/lib/cjs/containers/Info/Info.js.map +1 -1
- package/lib/cjs/containers/Messages/Message.js +3 -3
- package/lib/cjs/containers/Messages/Message.js.map +1 -1
- package/lib/cjs/containers/Messages/MessageExample.js.map +1 -1
- package/lib/cjs/containers/Messages/Messages.js +1 -1
- package/lib/cjs/containers/Messages/Messages.js.map +1 -1
- package/lib/cjs/containers/Operations/Operation.js +9 -7
- package/lib/cjs/containers/Operations/Operation.js.map +1 -1
- package/lib/cjs/containers/Operations/Operations.js +10 -10
- package/lib/cjs/containers/Operations/Operations.js.map +1 -1
- package/lib/cjs/containers/Schemas/Schema.js.map +1 -1
- package/lib/cjs/containers/Schemas/Schemas.js +1 -1
- package/lib/cjs/containers/Schemas/Schemas.js.map +1 -1
- package/lib/cjs/containers/Servers/Security.js +44 -32
- package/lib/cjs/containers/Servers/Security.js.map +1 -1
- package/lib/cjs/containers/Servers/Server.js +2 -2
- package/lib/cjs/containers/Servers/Server.js.map +1 -1
- package/lib/cjs/containers/Sidebar/Sidebar.js +42 -31
- package/lib/cjs/containers/Sidebar/Sidebar.js.map +1 -1
- package/lib/cjs/contexts/useSpec.js.map +1 -1
- package/lib/cjs/helpers/message.js +16 -14
- package/lib/cjs/helpers/message.js.map +1 -1
- package/lib/cjs/helpers/parser.js +14 -17
- package/lib/cjs/helpers/parser.js.map +1 -1
- package/lib/cjs/helpers/schema.js +18 -24
- package/lib/cjs/helpers/schema.js.map +1 -1
- package/lib/cjs/helpers/server.js.map +1 -1
- package/lib/cjs/helpers/specification.js +21 -26
- package/lib/cjs/helpers/specification.js.map +1 -1
- package/lib/cjs/types.js.map +1 -1
- package/lib/esm/components/Schema.js +40 -57
- package/lib/esm/components/Schema.js.map +1 -1
- package/lib/esm/components/Tag.js.map +1 -1
- package/lib/esm/components/Tags.js.map +1 -1
- package/lib/esm/containers/AsyncApi/AsyncApi.js.map +1 -1
- package/lib/esm/containers/AsyncApi/Layout.js.map +1 -1
- package/lib/esm/containers/AsyncApi/Standalone.js.map +1 -1
- package/lib/esm/containers/Info/Info.js +6 -6
- package/lib/esm/containers/Info/Info.js.map +1 -1
- package/lib/esm/containers/Messages/Message.js +3 -3
- package/lib/esm/containers/Messages/Message.js.map +1 -1
- package/lib/esm/containers/Messages/MessageExample.js.map +1 -1
- package/lib/esm/containers/Messages/Messages.js +1 -1
- package/lib/esm/containers/Messages/Messages.js.map +1 -1
- package/lib/esm/containers/Operations/Operation.js +9 -7
- package/lib/esm/containers/Operations/Operation.js.map +1 -1
- package/lib/esm/containers/Operations/Operations.js +10 -10
- package/lib/esm/containers/Operations/Operations.js.map +1 -1
- package/lib/esm/containers/Schemas/Schema.js.map +1 -1
- package/lib/esm/containers/Schemas/Schemas.js +1 -1
- package/lib/esm/containers/Schemas/Schemas.js.map +1 -1
- package/lib/esm/containers/Servers/Security.js +44 -32
- package/lib/esm/containers/Servers/Security.js.map +1 -1
- package/lib/esm/containers/Servers/Server.js +2 -2
- package/lib/esm/containers/Servers/Server.js.map +1 -1
- package/lib/esm/containers/Sidebar/Sidebar.js +42 -31
- package/lib/esm/containers/Sidebar/Sidebar.js.map +1 -1
- package/lib/esm/contexts/useSpec.js.map +1 -1
- package/lib/esm/helpers/message.js +16 -14
- package/lib/esm/helpers/message.js.map +1 -1
- package/lib/esm/helpers/parser.js +15 -15
- package/lib/esm/helpers/parser.js.map +1 -1
- package/lib/esm/helpers/schema.js +14 -17
- package/lib/esm/helpers/schema.js.map +1 -1
- package/lib/esm/helpers/server.js.map +1 -1
- package/lib/esm/helpers/specification.js +21 -23
- package/lib/esm/helpers/specification.js.map +1 -1
- package/lib/esm/types.js.map +1 -1
- package/lib/types/components/Schema.d.ts +2 -2
- package/lib/types/components/Schema.d.ts.map +1 -1
- package/lib/types/components/Tag.d.ts +2 -2
- package/lib/types/components/Tag.d.ts.map +1 -1
- package/lib/types/components/Tags.d.ts +2 -2
- package/lib/types/components/Tags.d.ts.map +1 -1
- package/lib/types/containers/AsyncApi/AsyncApi.d.ts +2 -2
- package/lib/types/containers/AsyncApi/AsyncApi.d.ts.map +1 -1
- package/lib/types/containers/AsyncApi/Layout.d.ts +2 -2
- package/lib/types/containers/AsyncApi/Layout.d.ts.map +1 -1
- package/lib/types/containers/AsyncApi/Standalone.d.ts +2 -2
- package/lib/types/containers/AsyncApi/Standalone.d.ts.map +1 -1
- package/lib/types/containers/Info/Info.d.ts.map +1 -1
- package/lib/types/containers/Messages/Message.d.ts +2 -2
- package/lib/types/containers/Messages/Message.d.ts.map +1 -1
- package/lib/types/containers/Messages/MessageExample.d.ts +3 -3
- package/lib/types/containers/Messages/MessageExample.d.ts.map +1 -1
- package/lib/types/containers/Messages/Messages.d.ts.map +1 -1
- package/lib/types/containers/Operations/Operation.d.ts +3 -3
- package/lib/types/containers/Operations/Operation.d.ts.map +1 -1
- package/lib/types/containers/Operations/Operations.d.ts.map +1 -1
- package/lib/types/containers/Schemas/Schema.d.ts +2 -2
- package/lib/types/containers/Schemas/Schema.d.ts.map +1 -1
- package/lib/types/containers/Schemas/Schemas.d.ts.map +1 -1
- package/lib/types/containers/Servers/Security.d.ts +2 -2
- package/lib/types/containers/Servers/Security.d.ts.map +1 -1
- package/lib/types/containers/Servers/Server.d.ts +2 -2
- package/lib/types/containers/Servers/Server.d.ts.map +1 -1
- package/lib/types/containers/Sidebar/Sidebar.d.ts.map +1 -1
- package/lib/types/contexts/useSpec.d.ts +3 -3
- package/lib/types/contexts/useSpec.d.ts.map +1 -1
- package/lib/types/helpers/message.d.ts +3 -3
- package/lib/types/helpers/message.d.ts.map +1 -1
- package/lib/types/helpers/parser.d.ts.map +1 -1
- package/lib/types/helpers/schema.d.ts +8 -9
- package/lib/types/helpers/schema.d.ts.map +1 -1
- package/lib/types/helpers/server.d.ts +2 -2
- package/lib/types/helpers/server.d.ts.map +1 -1
- package/lib/types/helpers/specification.d.ts +5 -5
- package/lib/types/helpers/specification.d.ts.map +1 -1
- package/lib/types/types.d.ts +4 -4
- package/lib/types/types.d.ts.map +1 -1
- package/package.json +12 -11
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { TagInterface } from '@asyncapi/parser';
|
|
3
3
|
interface Props {
|
|
4
|
-
tags?:
|
|
4
|
+
tags?: TagInterface[];
|
|
5
5
|
}
|
|
6
6
|
export declare const Tags: React.FunctionComponent<Props>;
|
|
7
7
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tags.d.ts","sourceRoot":"","sources":["../../../src/components/Tags.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Tags.d.ts","sourceRoot":"","sources":["../../../src/components/Tags.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAIhD,UAAU,KAAK;IACb,IAAI,CAAC,EAAE,YAAY,EAAE,CAAC;CACvB;AAED,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAc/C,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Component } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { AsyncAPIDocumentInterface } from '@asyncapi/parser';
|
|
3
3
|
import { ErrorObject, PropsSchema } from '../../types';
|
|
4
4
|
import { ConfigInterface } from '../../config';
|
|
5
5
|
export interface AsyncApiProps {
|
|
@@ -7,7 +7,7 @@ export interface AsyncApiProps {
|
|
|
7
7
|
config?: Partial<ConfigInterface>;
|
|
8
8
|
}
|
|
9
9
|
interface AsyncAPIState {
|
|
10
|
-
asyncapi?:
|
|
10
|
+
asyncapi?: AsyncAPIDocumentInterface;
|
|
11
11
|
error?: ErrorObject;
|
|
12
12
|
}
|
|
13
13
|
declare class AsyncApiComponent extends Component<AsyncApiProps, AsyncAPIState> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AsyncApi.d.ts","sourceRoot":"","sources":["../../../../src/containers/AsyncApi/AsyncApi.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"AsyncApi.d.ts","sourceRoot":"","sources":["../../../../src/containers/AsyncApi/AsyncApi.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAI7D,OAAO,EAEL,WAAW,EACX,WAAW,EACZ,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAG/C,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,WAAW,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;CACnC;AAED,UAAU,aAAa;IACrB,QAAQ,CAAC,EAAE,yBAAyB,CAAC;IACrC,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB;AAED,cAAM,iBAAkB,SAAQ,SAAS,CAAC,aAAa,EAAE,aAAa,CAAC;IACrE,KAAK,EAAE,aAAa,CAGlB;gBAEU,KAAK,EAAE,aAAa;IAI1B,iBAAiB;IAOjB,kBAAkB,CAAC,SAAS,EAAE,aAAa;IAUjD,MAAM;YAaQ,WAAW;CAwB1B;AAED,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { AsyncAPIDocumentInterface } from '@asyncapi/parser';
|
|
3
3
|
import { ConfigInterface } from '../../config';
|
|
4
4
|
import { ErrorObject } from '../../types';
|
|
5
5
|
interface Props {
|
|
6
|
-
asyncapi:
|
|
6
|
+
asyncapi: AsyncAPIDocumentInterface;
|
|
7
7
|
config: ConfigInterface;
|
|
8
8
|
error?: ErrorObject;
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../src/containers/AsyncApi/Layout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../src/containers/AsyncApi/Layout.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAW7D,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,UAAU,KAAK;IACb,QAAQ,EAAE,yBAAyB,CAAC;IACpC,MAAM,EAAE,eAAe,CAAC;IACxB,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAkDlD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Component } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { AsyncAPIDocumentInterface } from '@asyncapi/parser';
|
|
3
3
|
import { ErrorObject, PropsSchema } from '../../types';
|
|
4
4
|
import { ConfigInterface } from '../../config';
|
|
5
5
|
export interface AsyncApiProps {
|
|
@@ -8,7 +8,7 @@ export interface AsyncApiProps {
|
|
|
8
8
|
error?: ErrorObject;
|
|
9
9
|
}
|
|
10
10
|
interface AsyncAPIState {
|
|
11
|
-
asyncapi?:
|
|
11
|
+
asyncapi?: AsyncAPIDocumentInterface;
|
|
12
12
|
error?: ErrorObject;
|
|
13
13
|
}
|
|
14
14
|
declare class AsyncApiComponent extends Component<AsyncApiProps, AsyncAPIState> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Standalone.d.ts","sourceRoot":"","sources":["../../../../src/containers/AsyncApi/Standalone.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Standalone.d.ts","sourceRoot":"","sources":["../../../../src/containers/AsyncApi/Standalone.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAG7D,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,eAAe,EAAiB,MAAM,cAAc,CAAC;AAK9D,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,WAAW,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;IAClC,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB;AAED,UAAU,aAAa;IACrB,QAAQ,CAAC,EAAE,yBAAyB,CAAC;IACrC,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB;AAED,cAAM,iBAAkB,SAAQ,SAAS,CAAC,aAAa,EAAE,aAAa,CAAC;IACrE,KAAK,EAAE,aAAa,CAGlB;gBAEU,KAAK,EAAE,aAAa;IAU1B,iBAAiB;IAMjB,kBAAkB,CAAC,SAAS,EAAE,aAAa;IASjD,MAAM;IAsCN,OAAO,CAAC,WAAW;CAQpB;AAED,eAAe,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Info.d.ts","sourceRoot":"","sources":["../../../../src/containers/Info/Info.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Info.d.ts","sourceRoot":"","sources":["../../../../src/containers/Info/Info.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,iBA2HxB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { MessageInterface } from '@asyncapi/parser';
|
|
3
3
|
interface Props {
|
|
4
|
-
message:
|
|
4
|
+
message: MessageInterface;
|
|
5
5
|
messageName?: string;
|
|
6
6
|
index?: number | string;
|
|
7
7
|
showExamples?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../src/containers/Messages/Message.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../src/containers/Messages/Message.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAmBpD,UAAU,KAAK;IACb,OAAO,EAAE,gBAAgB,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,iBAAiB,CAAC,KAAK,CA4JlD,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { MessageInterface, SchemaInterface } from '@asyncapi/parser';
|
|
3
3
|
import { MessageExample as MessageExampleType } from '../../types';
|
|
4
4
|
interface Props {
|
|
5
|
-
message:
|
|
5
|
+
message: MessageInterface;
|
|
6
6
|
}
|
|
7
7
|
export declare const MessageExample: React.FunctionComponent<Props>;
|
|
8
8
|
interface ExampleProps {
|
|
9
9
|
type: 'Payload' | 'Headers';
|
|
10
|
-
schema:
|
|
10
|
+
schema: SchemaInterface;
|
|
11
11
|
examples?: MessageExampleType[];
|
|
12
12
|
}
|
|
13
13
|
export declare const Example: React.FunctionComponent<ExampleProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageExample.d.ts","sourceRoot":"","sources":["../../../../src/containers/Messages/MessageExample.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"MessageExample.d.ts","sourceRoot":"","sources":["../../../../src/containers/Messages/MessageExample.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAIrE,OAAO,EAAE,cAAc,IAAI,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAGnE,UAAU,KAAK;IACb,OAAO,EAAE,gBAAgB,CAAC;CAC3B;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CAAC,KAAK,CA2BzD,CAAC;AAEF,UAAU,YAAY;IACpB,IAAI,EAAE,SAAS,GAAG,SAAS,CAAC;IAC5B,MAAM,EAAE,eAAe,CAAC;IACxB,QAAQ,CAAC,EAAE,kBAAkB,EAAE,CAAC;CACjC;AAED,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,iBAAiB,CAAC,YAAY,CAmEzD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Messages.d.ts","sourceRoot":"","sources":["../../../../src/containers/Messages/Messages.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"Messages.d.ts","sourceRoot":"","sources":["../../../../src/containers/Messages/Messages.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,iBAoC5B,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ChannelInterface, OperationInterface } from '@asyncapi/parser';
|
|
3
3
|
import { PayloadType } from '../../types';
|
|
4
4
|
interface Props {
|
|
5
5
|
type: PayloadType;
|
|
6
|
-
operation:
|
|
6
|
+
operation: OperationInterface;
|
|
7
7
|
channelName: string;
|
|
8
|
-
channel:
|
|
8
|
+
channel: ChannelInterface;
|
|
9
9
|
}
|
|
10
10
|
export declare const Operation: React.FunctionComponent<Props>;
|
|
11
11
|
export declare const OperationInfo: React.FunctionComponent<Props>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Operation.d.ts","sourceRoot":"","sources":["../../../../src/containers/Operations/Operation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Operation.d.ts","sourceRoot":"","sources":["../../../../src/containers/Operations/Operation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAoBxE,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,UAAU,KAAK;IACb,IAAI,EAAE,WAAW,CAAC;IAClB,SAAS,EAAE,kBAAkB,CAAC;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,gBAAgB,CAAC;CAC3B;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAuIpD,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAwExD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Operations.d.ts","sourceRoot":"","sources":["../../../../src/containers/Operations/Operations.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Operations.d.ts","sourceRoot":"","sources":["../../../../src/containers/Operations/Operations.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,iBA6D9B,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { SchemaInterface } from '@asyncapi/parser';
|
|
3
3
|
interface Props {
|
|
4
4
|
schemaName: string;
|
|
5
|
-
schema:
|
|
5
|
+
schema: SchemaInterface;
|
|
6
6
|
}
|
|
7
7
|
export declare const Schema: React.FunctionComponent<Props>;
|
|
8
8
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../../src/containers/Schemas/Schema.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../../src/containers/Schemas/Schema.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAInD,UAAU,KAAK;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,eAAe,CAAC;CACzB;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAmBjD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Schemas.d.ts","sourceRoot":"","sources":["../../../../src/containers/Schemas/Schemas.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"Schemas.d.ts","sourceRoot":"","sources":["../../../../src/containers/Schemas/Schemas.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,iBA+B3B,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { SecurityRequirementsInterface } from '@asyncapi/parser';
|
|
3
3
|
interface Props {
|
|
4
|
-
security:
|
|
4
|
+
security: SecurityRequirementsInterface[];
|
|
5
5
|
protocol?: string;
|
|
6
6
|
header?: string;
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Security.d.ts","sourceRoot":"","sources":["../../../../src/containers/Servers/Security.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,
|
|
1
|
+
{"version":3,"file":"Security.d.ts","sourceRoot":"","sources":["../../../../src/containers/Servers/Security.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAEL,6BAA6B,EAE9B,MAAM,kBAAkB,CAAC;AAM1B,UAAU,KAAK;IACb,QAAQ,EAAE,6BAA6B,EAAE,CAAC;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAgEnD,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { ServerInterface } from '@asyncapi/parser';
|
|
3
3
|
interface Props {
|
|
4
4
|
serverName: string;
|
|
5
|
-
server:
|
|
5
|
+
server: ServerInterface;
|
|
6
6
|
}
|
|
7
7
|
export declare const Server: React.FunctionComponent<Props>;
|
|
8
8
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Server.d.ts","sourceRoot":"","sources":["../../../../src/containers/Servers/Server.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Server.d.ts","sourceRoot":"","sources":["../../../../src/containers/Servers/Server.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAQnD,UAAU,KAAK;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,eAAe,CAAC;CACzB;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAuFjD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../../src/containers/Sidebar/Sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAepD,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../../src/containers/Sidebar/Sidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAepD,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,iBA6J3B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export declare const SpecificationContext: React.Context<
|
|
4
|
-
export declare function useSpec():
|
|
2
|
+
import { AsyncAPIDocumentInterface } from '@asyncapi/parser';
|
|
3
|
+
export declare const SpecificationContext: React.Context<AsyncAPIDocumentInterface>;
|
|
4
|
+
export declare function useSpec(): AsyncAPIDocumentInterface;
|
|
5
5
|
//# sourceMappingURL=useSpec.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSpec.d.ts","sourceRoot":"","sources":["../../../src/contexts/useSpec.ts"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"useSpec.d.ts","sourceRoot":"","sources":["../../../src/contexts/useSpec.ts"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAE7D,eAAO,MAAM,oBAAoB,0CAEnB,CAAC;AAEf,wBAAgB,OAAO,8BAEtB"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MessageInterface } from '@asyncapi/parser';
|
|
2
2
|
import { MessageExample } from '../types';
|
|
3
3
|
export declare class MessageHelpers {
|
|
4
4
|
static generateExample(schema: any, options?: any): any;
|
|
5
5
|
static sanitizeExample(schema: any): any;
|
|
6
|
-
static getPayloadExamples(msg:
|
|
7
|
-
static getHeadersExamples(msg:
|
|
6
|
+
static getPayloadExamples(msg: MessageInterface): MessageExample[] | undefined;
|
|
7
|
+
static getHeadersExamples(msg: MessageInterface): MessageExample[] | undefined;
|
|
8
8
|
}
|
|
9
9
|
//# sourceMappingURL=message.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../src/helpers/message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../src/helpers/message.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAIpD,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C,qBAAa,cAAc;IACzB,MAAM,CAAC,eAAe,CAAC,MAAM,EAAE,GAAG,EAAE,OAAO,GAAE,GAAQ;IAQrD,MAAM,CAAC,eAAe,CAAC,MAAM,EAAE,GAAG,GAAG,GAAG;IAexC,MAAM,CAAC,kBAAkB,CACvB,GAAG,EAAE,gBAAgB,GACpB,cAAc,EAAE,GAAG,SAAS;IA8B/B,MAAM,CAAC,kBAAkB,CACvB,GAAG,EAAE,gBAAgB,GACpB,cAAc,EAAE,GAAG,SAAS;CA4BhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../../src/helpers/parser.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../../src/helpers/parser.ts"],"names":[],"mappings":"AAMA,OAAO,EAAe,YAAY,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAU9E,qBAAa,MAAM;WACJ,KAAK,CAChB,OAAO,EAAE,MAAM,GAAG,GAAG,EACrB,aAAa,CAAC,EAAE,GAAG,GAClB,OAAO,CAAC,YAAY,CAAC;WASX,YAAY,CACvB,GAAG,EAAE,uBAAuB,EAC5B,aAAa,CAAC,EAAE,GAAG,GAClB,OAAO,CAAC,YAAY,CAAC;IAUxB,OAAO,CAAC,MAAM,CAAC,WAAW,CAOxB;CACH"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SchemaInterface, ChannelParametersInterface, ServerVariablesInterface } from '@asyncapi/parser';
|
|
2
2
|
export declare enum SchemaCustomTypes {
|
|
3
3
|
ANY = "any",
|
|
4
4
|
RESTRICTED_ANY = "restricted any",
|
|
@@ -6,20 +6,19 @@ export declare enum SchemaCustomTypes {
|
|
|
6
6
|
UNKNOWN = "unknown"
|
|
7
7
|
}
|
|
8
8
|
export declare class SchemaHelpers {
|
|
9
|
-
static extRenderType: string;
|
|
10
9
|
static extRenderAdditionalInfo: string;
|
|
11
10
|
static extRawValue: string;
|
|
12
11
|
static extParameterLocation: string;
|
|
13
|
-
static toSchemaType(schema:
|
|
12
|
+
static toSchemaType(schema: SchemaInterface): string;
|
|
14
13
|
static prettifyValue(value: any, strict?: boolean): string;
|
|
15
|
-
static humanizeConstraints(schema:
|
|
16
|
-
static isExpandable(schema:
|
|
17
|
-
static serverVariablesToSchema(urlVariables?:
|
|
18
|
-
static parametersToSchema(parameters?:
|
|
14
|
+
static humanizeConstraints(schema: SchemaInterface): string[];
|
|
15
|
+
static isExpandable(schema: SchemaInterface): boolean;
|
|
16
|
+
static serverVariablesToSchema(urlVariables?: ServerVariablesInterface): SchemaInterface | undefined;
|
|
17
|
+
static parametersToSchema(parameters?: ChannelParametersInterface): SchemaInterface | undefined;
|
|
19
18
|
static jsonToSchema(value: any): any;
|
|
20
19
|
static getCustomExtensions(value: any): {} | undefined;
|
|
21
|
-
static getDependentRequired(propertyName: string, schema:
|
|
22
|
-
static getDependentSchemas(schema:
|
|
20
|
+
static getDependentRequired(propertyName: string, schema: SchemaInterface): string[] | undefined;
|
|
21
|
+
static getDependentSchemas(schema: SchemaInterface): SchemaInterface | undefined;
|
|
23
22
|
private static toType;
|
|
24
23
|
private static toItemsType;
|
|
25
24
|
private static toCombinedType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/helpers/schema.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/helpers/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,0BAA0B,EAC1B,wBAAwB,EAIzB,MAAM,kBAAkB,CAAC;AAE1B,oBAAY,iBAAiB;IAE3B,GAAG,QAAQ;IAEX,cAAc,mBAAmB;IAEjC,KAAK,UAAU;IAEf,OAAO,YAAY;CACpB;AA2CD,qBAAa,aAAa;IACxB,MAAM,CAAC,uBAAuB,SAA6C;IAC3E,MAAM,CAAC,WAAW,SAAgC;IAClD,MAAM,CAAC,oBAAoB,SAAyC;IAEpE,MAAM,CAAC,YAAY,CAAC,MAAM,EAAE,eAAe,GAAG,MAAM;IAqCpD,MAAM,CAAC,aAAa,CAAC,KAAK,EAAE,GAAG,EAAE,MAAM,UAAO,GAAG,MAAM;IAcvD,MAAM,CAAC,mBAAmB,CAAC,MAAM,EAAE,eAAe,GAAG,MAAM,EAAE;IAsD7D,MAAM,CAAC,YAAY,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO;IA6BrD,MAAM,CAAC,uBAAuB,CAC5B,YAAY,CAAC,EAAE,wBAAwB,GACtC,eAAe,GAAG,SAAS;IAqB9B,MAAM,CAAC,kBAAkB,CACvB,UAAU,CAAC,EAAE,0BAA0B,GACtC,eAAe,GAAG,SAAS;IA2B9B,MAAM,CAAC,YAAY,CAAC,KAAK,EAAE,GAAG,GAAG,GAAG;IAWpC,MAAM,CAAC,mBAAmB,CAAC,KAAK,EAAE,GAAG;IAwBrC,MAAM,CAAC,oBAAoB,CACzB,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,eAAe,GACtB,MAAM,EAAE,GAAG,SAAS;IAoBvB,MAAM,CAAC,mBAAmB,CACxB,MAAM,EAAE,eAAe,GACtB,eAAe,GAAG,SAAS;IA8B9B,OAAO,CAAC,MAAM,CAAC,MAAM;IAiBrB,OAAO,CAAC,MAAM,CAAC,WAAW;IAiB1B,OAAO,CAAC,MAAM,CAAC,cAAc;IAc7B,OAAO,CAAC,MAAM,CAAC,SAAS;IAqCxB,OAAO,CAAC,MAAM,CAAC,6BAA6B;IA4B5C,OAAO,CAAC,MAAM,CAAC,4BAA4B;IAa3C,OAAO,CAAC,MAAM,CAAC,uBAAuB;IAwBtC,OAAO,CAAC,MAAM,CAAC,iBAAiB;IAqChC,OAAO,CAAC,MAAM,CAAC,YAAY;CAY5B"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SecuritySchemeInterface } from '@asyncapi/parser';
|
|
2
2
|
export declare class ServerHelpers {
|
|
3
3
|
static securityType(value: string): "API key" | "OAuth2" | "Open ID" | "HTTP" | "User/Password" | "X509:" | "Symmetric Encription" | "Asymmetric Encription" | "HTTP API key" | "ScramSha256" | "ScramSha512" | "GSSAPI";
|
|
4
4
|
static flowName(value: string): "Implicit" | "Password" | "Client credentials" | "Authorization Code";
|
|
5
|
-
static getKafkaSecurity(protocol: string, securitySchema:
|
|
5
|
+
static getKafkaSecurity(protocol: string, securitySchema: SecuritySchemeInterface | null): {
|
|
6
6
|
securityProtocol: string;
|
|
7
7
|
saslMechanism: string | undefined;
|
|
8
8
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../src/helpers/server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../../src/helpers/server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAE3D,qBAAa,aAAa;IACxB,MAAM,CAAC,YAAY,CAAC,KAAK,EAAE,MAAM;IA+BjC,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,MAAM;IAe7B,MAAM,CAAC,gBAAgB,CACrB,QAAQ,EAAE,MAAM,EAChB,cAAc,EAAE,uBAAuB,GAAG,IAAI;;;;CA0CjD"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AsyncAPIDocumentInterface, TagInterface } from '@asyncapi/parser';
|
|
2
2
|
export declare class SpecificationHelpers {
|
|
3
|
-
static retrieveParsedSpec(schema: any):
|
|
4
|
-
static containTags(schema: any, tags:
|
|
5
|
-
static operationsTags(spec:
|
|
6
|
-
static serversTags(spec:
|
|
3
|
+
static retrieveParsedSpec(schema: any): AsyncAPIDocumentInterface | undefined;
|
|
4
|
+
static containTags(schema: any, tags: TagInterface | TagInterface[]): boolean;
|
|
5
|
+
static operationsTags(spec: AsyncAPIDocumentInterface): TagInterface[];
|
|
6
|
+
static serversTags(spec: AsyncAPIDocumentInterface): {
|
|
7
7
|
string: string[];
|
|
8
8
|
};
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"specification.d.ts","sourceRoot":"","sources":["../../../src/helpers/specification.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"specification.d.ts","sourceRoot":"","sources":["../../../src/helpers/specification.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,YAAY,EAKb,MAAM,kBAAkB,CAAC;AAG1B,qBAAa,oBAAoB;IAI/B,MAAM,CAAC,kBAAkB,CACvB,MAAM,EAAE,GAAG,GACV,yBAAyB,GAAG,SAAS;IAmCxC,MAAM,CAAC,WAAW,CAChB,MAAM,EAAE,GAAG,EACX,IAAI,EAAE,YAAY,GAAG,YAAY,EAAE,GAClC,OAAO;IAeV,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,yBAAyB;IAgBrD,MAAM,CAAC,WAAW,CAAC,IAAI,EAAE,yBAAyB;gBACnB,MAAM,EAAE;;CAiBxC"}
|
package/lib/types/types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare type PropsSchema = string | FetchingSchemaInterface |
|
|
3
|
-
export declare type NullableAsyncApi =
|
|
1
|
+
import { AsyncAPIDocumentInterface } from '@asyncapi/parser';
|
|
2
|
+
export declare type PropsSchema = string | FetchingSchemaInterface | AsyncAPIDocumentInterface | object;
|
|
3
|
+
export declare type NullableAsyncApi = AsyncAPIDocumentInterface | null;
|
|
4
4
|
export interface AsyncApiState {
|
|
5
5
|
validatedSchema: NullableAsyncApi;
|
|
6
6
|
error?: ErrorObject;
|
|
@@ -11,7 +11,7 @@ export interface FetchingSchemaInterface {
|
|
|
11
11
|
requestOptions?: RequestInit;
|
|
12
12
|
}
|
|
13
13
|
export interface ParserReturn {
|
|
14
|
-
asyncapi?:
|
|
14
|
+
asyncapi?: AsyncAPIDocumentInterface;
|
|
15
15
|
error?: ErrorObject;
|
|
16
16
|
}
|
|
17
17
|
export declare enum PayloadType {
|
package/lib/types/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAE7D,oBAAY,WAAW,GACnB,MAAM,GACN,uBAAuB,GACvB,yBAAyB,GACzB,MAAM,CAAC;AAEX,oBAAY,gBAAgB,GAAG,yBAAyB,GAAG,IAAI,CAAC;AAEhE,MAAM,WAAW,aAAa;IAC5B,eAAe,EAAE,gBAAgB,CAAC;IAClC,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB;AAED,wBAAgB,yBAAyB,CACvC,MAAM,EAAE,WAAW,GAClB,MAAM,IAAI,uBAAuB,CAEnC;AAED,MAAM,WAAW,uBAAuB;IACtC,GAAG,EAAE,MAAM,CAAC;IACZ,cAAc,CAAC,EAAE,WAAW,CAAC;CAC9B;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,EAAE,yBAAyB,CAAC;IACrC,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB;AAED,oBAAY,WAAW;IACrB,OAAO,YAAY;IACnB,SAAS,cAAc;CACxB;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,GAAG,CAAC;CACd;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE;QACR,WAAW,EAAE,MAAM,CAAC;QACpB,SAAS,EAAE,MAAM,CAAC;QAClB,WAAW,EAAE,MAAM,CAAC;QACpB,WAAW,EAAE,MAAM,CAAC;QACpB,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CACH;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,gBAAgB,CAAC,EAAE,eAAe,EAAE,CAAC;IACrC,QAAQ,CAAC,EAAE;QACT,SAAS,EAAE,MAAM,CAAC;QAClB,WAAW,EAAE,MAAM,CAAC;QACpB,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,IAAI,CAAC,EAAE,KAAK,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,WAAW,EAAE,MAAM,CAAC;QACpB,SAAS,EAAE,MAAM,CAAC;QAClB,WAAW,EAAE,MAAM,CAAC;QACpB,WAAW,EAAE,MAAM,CAAC;QACpB,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC,CAAC;CACJ"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@asyncapi/react-component",
|
|
3
|
-
"version": "1.0.0-next.
|
|
3
|
+
"version": "1.0.0-next.49",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A React component for AsyncAPI specification.",
|
|
6
6
|
"repository": {
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"build:prod": "npm run build:esm && npm run build:cjs && npm run build:umd && npm run build:standalone && npm run build:types && npm run build:styles",
|
|
50
50
|
"build:esm": "tsc -p tsconfig.esm.json",
|
|
51
51
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
52
|
-
"build:umd": "cross-env BUILD_MODE=umd webpack
|
|
53
|
-
"build:standalone": "cross-env BUILD_MODE=standalone webpack
|
|
52
|
+
"build:umd": "cross-env BUILD_MODE=umd webpack",
|
|
53
|
+
"build:standalone": "cross-env BUILD_MODE=standalone webpack",
|
|
54
54
|
"build:types": "tsc -p tsconfig.types.json",
|
|
55
55
|
"build:styles": "npm run build:styles:dev && npm run build:styles:prod",
|
|
56
56
|
"build:styles:dev": "cross-env NODE_ENV=production postcss src/styles/default.css -o styles/default.css --verbose",
|
|
@@ -68,10 +68,10 @@
|
|
|
68
68
|
"get:version": "echo $npm_package_version"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@asyncapi/avro-schema-parser": "
|
|
72
|
-
"@asyncapi/openapi-schema-parser": "
|
|
73
|
-
"@asyncapi/
|
|
74
|
-
"@asyncapi/parser": "
|
|
71
|
+
"@asyncapi/avro-schema-parser": "3.0.3",
|
|
72
|
+
"@asyncapi/openapi-schema-parser": "3.0.4",
|
|
73
|
+
"@asyncapi/parser": "^3.0.0-next-major-spec.1",
|
|
74
|
+
"@asyncapi/protobuf-schema-parser": "1.0.0",
|
|
75
75
|
"highlight.js": "^10.7.2",
|
|
76
76
|
"isomorphic-dompurify": "^0.13.0",
|
|
77
77
|
"marked": "^4.0.14",
|
|
@@ -100,6 +100,7 @@
|
|
|
100
100
|
"cssnano": "^4.1.11",
|
|
101
101
|
"cypress": "^7.4.0",
|
|
102
102
|
"jest": "^26.0.0",
|
|
103
|
+
"node-polyfill-webpack-plugin": "^2.0.1",
|
|
103
104
|
"postcss": "^8.2.10",
|
|
104
105
|
"postcss-cli": "^8.3.1",
|
|
105
106
|
"postcss-import": "^14.0.2",
|
|
@@ -108,10 +109,10 @@
|
|
|
108
109
|
"react-dom": "^16.8.0",
|
|
109
110
|
"tailwindcss": "^2.1.1",
|
|
110
111
|
"ts-jest": "^26.4.1",
|
|
111
|
-
"ts-loader": "
|
|
112
|
-
"webpack": "
|
|
113
|
-
"webpack-bundle-analyzer": "
|
|
114
|
-
"webpack-cli": "
|
|
112
|
+
"ts-loader": "9.4.4",
|
|
113
|
+
"webpack": "5.88.2",
|
|
114
|
+
"webpack-bundle-analyzer": "4.9.0",
|
|
115
|
+
"webpack-cli": "5.1.4"
|
|
115
116
|
},
|
|
116
117
|
"publishConfig": {
|
|
117
118
|
"access": "public"
|