@hiver/connector-agent 4.17.1-slack-beta.0 → 4.17.1
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/context/react-query-client-provider/index.d.ts.map +1 -1
- package/features/slack/components/LinkedConversationPanel/MessageItem.d.ts.map +1 -1
- package/features/slack/components/LinkedConversationPanel/style.d.ts +5 -5
- package/features/slack/components/StartModal/MemberSelect.d.ts.map +1 -1
- package/features/slack/components/StartModal/SlackThreadTab.d.ts.map +1 -1
- package/features/slack/components/StartModal/index.d.ts.map +1 -1
- package/features/slack/hooks/__tests__/useReauthStatusRefetch.test.d.ts +2 -0
- package/features/slack/hooks/__tests__/useReauthStatusRefetch.test.d.ts.map +1 -0
- package/features/slack/hooks/useReauthStatusRefetch.d.ts +8 -1
- package/features/slack/hooks/useReauthStatusRefetch.d.ts.map +1 -1
- package/index.es.js +1425 -1431
- package/index.umd.js +207 -207
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/context/react-query-client-provider/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/context/react-query-client-provider/index.tsx"],"names":[],"mappings":"AAKA,KAAK,uBAAuB,GAAG;IAC7B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,wBAAwB,iBAAkB,uBAAuB,4CAyBtE,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageItem.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/LinkedConversationPanel/MessageItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,EAAE,EAAgC,MAAM,OAAO,CAAC;AASxE,OAAO,KAAK,EAAE,YAAY,EAAiB,MAAM,6BAA6B,CAAC;AAgB/E,UAAU,gBAAgB;IACxB,OAAO,EAAE,YAAY,CAAC;IACtB;wEACoE;IACpE,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC;;kCAE8B;IAC9B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;2EACuE;IACvE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;gDAE4C;IAC5C,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AA0ID;;;;;;;;GAQG;AACH,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,
|
|
1
|
+
{"version":3,"file":"MessageItem.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/LinkedConversationPanel/MessageItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,EAAE,EAAgC,MAAM,OAAO,CAAC;AASxE,OAAO,KAAK,EAAE,YAAY,EAAiB,MAAM,6BAA6B,CAAC;AAgB/E,UAAU,gBAAgB;IACxB,OAAO,EAAE,YAAY,CAAC;IACtB;wEACoE;IACpE,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC;;kCAE8B;IAC9B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;2EACuE;IACvE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;gDAE4C;IAC5C,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AA0ID;;;;;;;;GAQG;AACH,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAoK5C,CAAC"}
|
|
@@ -104,11 +104,11 @@ export declare const MessageHeaderRow: StyledComponent<StackProps>;
|
|
|
104
104
|
export declare const ReactionsRow: StyledComponent<BoxProps>;
|
|
105
105
|
/**
|
|
106
106
|
* One reaction pill (Figma 683:671874 "Emoji states") — a fully-rounded
|
|
107
|
-
* chip holding a 12px emoji glyph + the reactor count.
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
* hover/cursor affordance. The 1px transparent
|
|
111
|
-
*
|
|
107
|
+
* chip holding a 12px emoji glyph + the reactor count. Uniform neutral
|
|
108
|
+
* slate-100 fill with no border for every reaction (the viewer's own
|
|
109
|
+
* reactions are distinguished by their tooltip, not a colour wash).
|
|
110
|
+
* Display-only in M1, so no hover/cursor affordance. The 1px transparent
|
|
111
|
+
* border is kept only to hold the box geometry stable.
|
|
112
112
|
*/
|
|
113
113
|
export declare const ReactionPill: StyledComponent<BoxProps>;
|
|
114
114
|
//# sourceMappingURL=style.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MemberSelect.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/StartModal/MemberSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAM3B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAM7D,UAAU,iBAAiB;IACzB,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,QAAQ,EAAE,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,IAAI,CAAC;CACvC;AAuCD,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,
|
|
1
|
+
{"version":3,"file":"MemberSelect.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/StartModal/MemberSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAM3B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAM7D,UAAU,iBAAiB;IACzB,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,QAAQ,EAAE,CAAC,IAAI,EAAE,SAAS,EAAE,KAAK,IAAI,CAAC;CACvC;AAuCD,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA0G9C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlackThreadTab.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/StartModal/SlackThreadTab.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAA4B,MAAM,OAAO,CAAC;AAcrD,UAAU,mBAAmB;IAC3B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACpD,wEAAwE;IACxE,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/D;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,
|
|
1
|
+
{"version":3,"file":"SlackThreadTab.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/StartModal/SlackThreadTab.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAA4B,MAAM,OAAO,CAAC;AAcrD,UAAU,mBAAmB;IAC3B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,EAAE,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IACpD,wEAAwE;IACxE,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/D;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAmGlD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/StartModal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAyB,MAAM,OAAO,CAAC;AAgClD,UAAU,eAAe;IACvB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;6DACyD;IACzD,SAAS,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC;AAID;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/components/StartModal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAyB,MAAM,OAAO,CAAC;AAgClD,UAAU,eAAe;IACvB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;6DACyD;IACzD,SAAS,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC;AAID;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CAmN1C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useReauthStatusRefetch.test.d.ts","sourceRoot":"","sources":["../../../../../src/features/slack/hooks/__tests__/useReauthStatusRefetch.test.ts"],"names":[],"mappings":""}
|
|
@@ -6,7 +6,14 @@
|
|
|
6
6
|
* already flagged reauth_required, so the resolver short-circuits
|
|
7
7
|
* before hitting Slack.
|
|
8
8
|
*
|
|
9
|
-
*
|
|
9
|
+
* The slack-agent controller raises these via FastAPI `HTTPException(
|
|
10
|
+
* detail={reason, ...})`, which serialises as `{ detail: { reason } }` —
|
|
11
|
+
* NOT a top-level `reason`. (The generic user-tier resolver's
|
|
12
|
+
* UserAuthRequiredHandler does return a top-level `reason`.) We read
|
|
13
|
+
* `detail.reason` first and fall back to the top level so BOTH shapes
|
|
14
|
+
* match. Reading `err.response` defensively (rather than gating on
|
|
15
|
+
* axios's `isAxiosError`, which can return false across bundled axios
|
|
16
|
+
* instances) mirrors how StartModal's handleSubmitError reads the body.
|
|
10
17
|
*/
|
|
11
18
|
export declare const isSlackAuthError: (err: unknown) => boolean;
|
|
12
19
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useReauthStatusRefetch.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/hooks/useReauthStatusRefetch.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useReauthStatusRefetch.d.ts","sourceRoot":"","sources":["../../../../src/features/slack/hooks/useReauthStatusRefetch.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,gBAAgB,QAAS,OAAO,KAAG,OAS/C,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,wBAAgB,sBAAsB,IAAI,MAAM,IAAI,CAMnD"}
|