@feasibleone/blong 1.9.3 → 1.9.5

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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.9.5](https://github.com/feasibleone/blong/compare/blong-v1.9.4...blong-v1.9.5) (2026-03-03)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * deps ([b6c52e5](https://github.com/feasibleone/blong/commit/b6c52e56dc8943801908fd2fc5209361e7da3d6c))
9
+
10
+ ## [1.9.4](https://github.com/feasibleone/blong/compare/blong-v1.9.3...blong-v1.9.4) (2026-03-03)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * deps ([9644d8d](https://github.com/feasibleone/blong/commit/9644d8d07dce1dab2e64f4714fef1c5602e6ac5a))
16
+
3
17
  ## [1.9.3](https://github.com/feasibleone/blong/compare/blong-v1.9.2...blong-v1.9.3) (2026-03-03)
4
18
 
5
19
 
package/dist/types.d.ts CHANGED
@@ -3463,7 +3463,10 @@ declare class KeycloakAdminClient {
3463
3463
  auth(credentials: Credentials): Promise<void>;
3464
3464
  registerTokenProvider(provider: TokenProvider): void;
3465
3465
  setAccessToken(token: string): void;
3466
+ setRefreshToken(token: string): void;
3466
3467
  getAccessToken(): Promise<string | undefined>;
3468
+ isTokenExpired(): boolean;
3469
+ isRefreshTokenExpired(): boolean;
3467
3470
  getRequestOptions(): RequestOptions | undefined;
3468
3471
  getGlobalRequestArgOptions(): Pick<RequestArgs, "catchNotFound"> | undefined;
3469
3472
  setConfig(connectionConfig: ConnectionConfig): void;
@@ -3698,7 +3701,7 @@ export interface Block {
3698
3701
  * A helper union type of all known Blocks, as listed out on the
3699
3702
  * {@link https://docs.slack.dev/reference/block-kit/blocks Blocks reference}.
3700
3703
  */
3701
- export type KnownBlock = ActionsBlock | ContextBlock | ContextActionsBlock | DividerBlock | FileBlock | HeaderBlock | ImageBlock | InputBlock | MarkdownBlock | RichTextBlock | SectionBlock | TableBlock | VideoBlock;
3704
+ export type KnownBlock = ActionsBlock | ContextBlock | ContextActionsBlock | DividerBlock | FileBlock | HeaderBlock | ImageBlock | InputBlock | MarkdownBlock | RichTextBlock | SectionBlock | TableBlock | TaskCardBlock | PlanBlock | VideoBlock;
3702
3705
  /**
3703
3706
  * A helper union type of all known Blocks as well as the generic {@link Block} interface. A full list of known blocks
3704
3707
  * is available here: {@link https://docs.slack.dev/reference/block-kit/blocks Blocks reference}.
@@ -3978,6 +3981,58 @@ export interface TableBlockColumnSettings {
3978
3981
  */
3979
3982
  is_wrapped?: boolean;
3980
3983
  }
3984
+ /**
3985
+ * @description A discrete task or tool call.
3986
+ * @see https://docs.slack.dev/reference/block-kit/blocks/task-card-block/
3987
+ */
3988
+ export interface TaskCardBlock extends Block {
3989
+ /**
3990
+ * @description The type of block. For this block, type will always be `task_card`.
3991
+ */
3992
+ type: "task_card";
3993
+ /**
3994
+ * @description ID for the task.
3995
+ */
3996
+ task_id: string;
3997
+ /**
3998
+ * @description Title of the task in plain text.
3999
+ */
4000
+ title: string;
4001
+ /**
4002
+ * @description Details of the task in the form of a single "rich_text" entity.
4003
+ */
4004
+ details?: RichTextBlock;
4005
+ /**
4006
+ * @description Output of the task in the form of a single "rich_text" entity.
4007
+ */
4008
+ output?: RichTextBlock;
4009
+ /**
4010
+ * @description Array of URL source elements used to generate a response.
4011
+ */
4012
+ sources?: URLSourceElement[];
4013
+ /**
4014
+ * @description The state of a task. Can be "pending", "in_progress", "complete", or "error".
4015
+ */
4016
+ status: "pending" | "in_progress" | "complete" | "error";
4017
+ }
4018
+ /**
4019
+ * @description A collection of related tasks.
4020
+ * @see https://docs.slack.dev/reference/block-kit/blocks/plan-block/
4021
+ */
4022
+ export interface PlanBlock extends Block {
4023
+ /**
4024
+ * @description The type of block. In this case `type` is always `plan`.
4025
+ */
4026
+ type: "plan";
4027
+ /**
4028
+ * @description Title of the plan in plain text.
4029
+ */
4030
+ title: string;
4031
+ /**
4032
+ * @description A sequence of task card blocks. Each task represents a single action within the plan.
4033
+ */
4034
+ tasks?: (TaskCardBlock | Record<string, unknown>)[];
4035
+ }
3981
4036
  /**
3982
4037
  * @description Displays an embedded video player. A video block is designed to embed videos in all app surfaces (e.g.
3983
4038
  * link unfurls, messages, modals, App Home) — anywhere you can put blocks! To use the video block within your app, you
@@ -4729,6 +4784,24 @@ export interface URLInput extends Actionable, Dispatchable, Focusable, Placehold
4729
4784
  */
4730
4785
  initial_value?: string;
4731
4786
  }
4787
+ /**
4788
+ * @description A URL source element that displays a URL source for referencing within a task card block.
4789
+ * @see {@link https://docs.slack.dev/reference/block-kit/block-elements/url-source-element}
4790
+ */
4791
+ export interface URLSourceElement {
4792
+ /**
4793
+ * @description The type of element. In this case `type` is always `url`.
4794
+ */
4795
+ type: "url";
4796
+ /**
4797
+ * @description The URL type source.
4798
+ */
4799
+ url: string;
4800
+ /**
4801
+ * @description Display text for the URL.
4802
+ */
4803
+ text: string;
4804
+ }
4732
4805
  /**
4733
4806
  * @description Allows users to run a {@link https://docs.slack.dev/tools/deno-slack-sdk/guides/creating-link-triggers/#workflow_buttons link trigger} with customizable inputs.
4734
4807
  * @see {@link https://docs.slack.dev/reference/block-kit/block-elements/workflow-button-element Workflow button element reference}.
@@ -17954,8 +18027,8 @@ export type ApiDefinition = (blong: IValidationProxy) => {
17954
18027
  "x-blong-namespace": string;
17955
18028
  }>)[]>;
17956
18029
  };
17957
- export type PortHandler<T, C> = <R>(this: ReturnType<IAdapterFactory<T, C>>, params: unknown, $meta: IMeta, context?: IContext) => Promise<R> | R;
17958
- export type PortHandlerBound = <T>(params: unknown, $meta: IMeta, context?: IContext) => Promise<T> | T;
18030
+ export type PortHandler<T, C> = <R>(this: ReturnType<IAdapterFactory<T, C>>, params: {}, $meta: IMeta, context?: IContext) => Promise<R> | R;
18031
+ export type PortHandlerBound = <T>(params: {}, $meta: IMeta, context?: IContext) => Promise<T> | T;
17959
18032
  export type LibFn = <T>(...params: unknown[]) => T;
17960
18033
  export interface IRemoteHandler {
17961
18034
  [name: string]: PortHandlerBound;
package/dist/types.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../types.ts"],"names":[],"mappings":"AAYA,OAAO,EACH,IAAI,GASP,MAAM,SAAS,CAAC;AAMjB,OAAO,KAAK,MAAM,mBAAmB,CAAC;AAykBtC,MAAM,IAAI,GAAW,MAAM,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;AAE9C,MAAM,OAAgB,QAAQ;IAC1B,IAAI,CAAQ;IACF,GAAG,CAA8B;IAC3C,YAAmB,GAAiB;QAChC,IAAI,CAAC,IAAI,GAAG,GAAG,EAAE,GAAG,CAAC;IACzB,CAAC;IACS,KAAK,GAAkB,CAAC,GAAG,IAA+B,EAAE,EAAE;QACpE,MAAM,MAAM,GAAG,KAAK,CAAqB,GAAG,IAAI,CAAC,CAAC;QAClD,IAAI,MAAM,CAAC,QAAQ,IAAI,IAAI,CAAC,IAAI;YAC5B,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE,EAAC,IAAI,EAAE,IAAI,CAAC,WAAW,CAAC,IAAI,EAAC,CAAC,CAAC;QAChF,OAAO,MAAM,CAAC;IAClB,CAAC,CAAC;IACK,KAAK,CAAC,IAAI,KAAmB,CAAC;IAC9B,KAAK,CAAC,KAAK,CAAC,GAAG,MAAiB,IAAkB,CAAC;CAC7D;AAED,MAAM,CAAC,MAAM,OAAO,GAAG,CACnB,UAA4B,EACZ,EAAE,CAAC,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,IAAI,EAAE,EAAC,KAAK,EAAE,SAAS,EAAC,CAAC,CAAC;AACnF,MAAM,CAAC,MAAM,OAAO,GAAG,CAA8B,UAAkB,EAAU,EAAE,CAC/E,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,IAAI,EAAE,EAAC,KAAK,EAAE,KA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E,OAAO,EAAC,CAAC,CAAC;AACjG,MAAM,CAAC,MAAM,OAAO,GAAG,CACnB,UAAiC,EACZ,EAAE,CAAC,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,IAAI,EAAE,EAAC,KAAK,EAAE,SAAS,EAAC,CAAC,CAAC;AACxF,MAAM,CAAC,MAAM,YAAY,GAAG,CACxB,UAAiC,EACZ,EAAE,CAAC,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,IAAI,EAAE,EAAC,KAAK,EAAE,cAAc,EAAC,CAAC,CAAC;AAW7F,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,IAAiC,EAAqB,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAEzF,eAAe;IACX,OAAO;IACP,OAAO;IACP,UAAU;IACV,GAAG;IACH,KAAK;IACL,MAAM;IACN,OAAO;IACP,OAAO;IACP,YAAY;IACZ,IAAI;CACP,CAAC"}
package/package.json CHANGED
@@ -16,15 +16,15 @@
16
16
  "ut-function.merge": "^1.5.6"
17
17
  },
18
18
  "devDependencies": {
19
- "@aws-sdk/client-s3": "^3.983.0",
20
- "@keycloak/keycloak-admin-client": "^26.5.2",
19
+ "@aws-sdk/client-s3": "^3.1001.0",
20
+ "@keycloak/keycloak-admin-client": "^26.5.4",
21
21
  "@kubernetes/client-node": "^1.4.0",
22
22
  "@rushstack/eslint-config": "^4.6.4",
23
23
  "@rushstack/heft-lint-plugin": "^1.2.6",
24
24
  "@rushstack/heft-typescript-plugin": "^1.3.1",
25
25
  "@rushstack/heft": "^1.2.6",
26
- "@slack/types": "^2.19.0",
27
- "@slack/webhook": "^7.0.6",
26
+ "@slack/types": "^2.20.0",
27
+ "@slack/webhook": "^7.0.7",
28
28
  "@types/request": "^2.48.13",
29
29
  "@types/ut-function.merge": "file:./types/ut-function.merge",
30
30
  "bson": "^7.2.0",
@@ -42,7 +42,7 @@
42
42
  "./types": "./types.ts"
43
43
  },
44
44
  "type": "module",
45
- "version": "1.9.3",
45
+ "version": "1.9.5",
46
46
  "scripts": {
47
47
  "build": "heft build --clean;dts-bundle-generator --config dts-gen.config.json",
48
48
  "ci-publish": "node ../../common/scripts/install-run-rush-pnpm.js publish --access public --provenance"