@asgard-js/react 0.0.19 → 0.0.21
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/README.md +131 -21
- package/dist/components/chatbot/chatbot-container/chatbot-container.d.ts.map +1 -1
- package/dist/components/chatbot/chatbot-footer/chatbot-footer.d.ts.map +1 -1
- package/dist/components/chatbot/chatbot-footer/speech-input-button.d.ts +2 -1
- package/dist/components/chatbot/chatbot-footer/speech-input-button.d.ts.map +1 -1
- package/dist/components/chatbot/chatbot.d.ts +3 -0
- package/dist/components/chatbot/chatbot.d.ts.map +1 -1
- package/dist/components/templates/button-template/button-template.d.ts.map +1 -1
- package/dist/components/templates/button-template/card.d.ts.map +1 -1
- package/dist/components/templates/carousel-template/carousel-template.d.ts.map +1 -1
- package/dist/components/templates/chart-template/chart-template.d.ts.map +1 -1
- package/dist/components/templates/hint-template/hint-template.d.ts.map +1 -1
- package/dist/components/templates/image-template/image-template.d.ts.map +1 -1
- package/dist/components/templates/quick-replies/quick-replies.d.ts.map +1 -1
- package/dist/components/templates/template-box/template-box.d.ts +3 -1
- package/dist/components/templates/template-box/template-box.d.ts.map +1 -1
- package/dist/components/templates/text-template/text-template.d.ts.map +1 -1
- package/dist/context/asgard-app-initialization-context.d.ts +33 -0
- package/dist/context/asgard-app-initialization-context.d.ts.map +1 -0
- package/dist/context/asgard-template-context.d.ts +2 -0
- package/dist/context/asgard-template-context.d.ts.map +1 -1
- package/dist/context/asgard-theme-context.d.ts +88 -0
- package/dist/context/asgard-theme-context.d.ts.map +1 -1
- package/dist/context/index.d.ts +1 -0
- package/dist/context/index.d.ts.map +1 -1
- package/dist/index.js +11641 -11405
- package/dist/models/bot-provider.d.ts +26 -0
- package/dist/models/bot-provider.d.ts.map +1 -0
- package/dist/utils/selectors.d.ts +4 -0
- package/dist/utils/selectors.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ClientConfig } from '@asgard-js/core';
|
|
2
|
+
|
|
3
|
+
export type BotProviderMetadataResponse = {
|
|
4
|
+
name: string;
|
|
5
|
+
namespace: string;
|
|
6
|
+
uid: string;
|
|
7
|
+
resourceVersion: string;
|
|
8
|
+
generation: number;
|
|
9
|
+
creationTimestamp: string;
|
|
10
|
+
labels: Record<string, string>;
|
|
11
|
+
annotations: Record<string, string>;
|
|
12
|
+
managedFields: Array<{
|
|
13
|
+
manager: string;
|
|
14
|
+
operation: string;
|
|
15
|
+
apiVersion: string;
|
|
16
|
+
time: string;
|
|
17
|
+
fieldsType: string;
|
|
18
|
+
fieldsV1: Record<string, unknown>;
|
|
19
|
+
subresource: string;
|
|
20
|
+
}>;
|
|
21
|
+
};
|
|
22
|
+
export declare const getBotProviderModels: (config: ClientConfig) => {
|
|
23
|
+
getAsgardBotProviderMetadata: () => Promise<BotProviderMetadataResponse>;
|
|
24
|
+
getAnnotations: () => Promise<Record<string, unknown>>;
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=bot-provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bot-provider.d.ts","sourceRoot":"","sources":["../../src/models/bot-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAG/C,MAAM,MAAM,2BAA2B,GAAG;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,aAAa,EAAE,KAAK,CAAC;QACnB,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,EAAE,MAAM,CAAC;QAClB,UAAU,EAAE,MAAM,CAAC;QACnB,IAAI,EAAE,MAAM,CAAC;QACb,UAAU,EAAE,MAAM,CAAC;QACnB,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAClC,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC,CAAC;CACJ,CAAC;AAEF,eAAO,MAAM,oBAAoB,WACvB,YAAY,KACnB;IACD,4BAA4B,EAAE,MAAM,OAAO,CAAC,2BAA2B,CAAC,CAAC;IACzE,cAAc,EAAE,MAAM,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;CAwCxD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../src/utils/selectors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AAErE,eAAO,MAAM,yCAAyC,UAC7C,2BAA2B,KACjC,MAAM,CAAC,MAAM,EAAE,OAAO,CAExB,CAAC"}
|