@cartanova/qgrid-cli 2.6.4 → 2.6.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/README.ko.md +2 -0
- package/README.md +2 -0
- package/bundle/dist/application/qgrid/expired-token-digest.js +78 -0
- package/bundle/dist/application/qgrid/qgrid.frame.js +1 -1
- package/bundle/dist/application/qgrid/token-death.js +1 -1
- package/bundle/dist/application/token/token.model.js +21 -1
- package/bundle/dist/sonamu.config.js +4 -1
- package/bundle/dist/utils/slack-notify.js +2 -2
- package/bundle/src/application/qgrid/expired-token-digest.test.ts +49 -0
- package/bundle/src/application/qgrid/expired-token-digest.ts +93 -0
- package/bundle/src/application/token/token.model.ts +19 -0
- package/bundle/src/sonamu.config.ts +7 -0
- package/bundle/src/utils/slack-notify.test.ts +6 -4
- package/bundle/src/utils/slack-notify.ts +10 -3
- package/bundle/web-dist/client/assets/{index-CnNT0mdq.js → index-DTy-s79t.js} +3 -3
- package/bundle/web-dist/client/assets/{logs-DCY81UWb.js → logs-DYqUSqg-.js} +1 -1
- package/bundle/web-dist/client/assets/{monit-D5OoAday.js → monit-GnFS0_Xa.js} +1 -1
- package/bundle/web-dist/client/assets/{routes-B4D9C86u.js → routes-CBwpn4d-.js} +1 -1
- package/bundle/web-dist/client/assets/{show-BSX8ii7Z.js → show-DDgukGuY.js} +1 -1
- package/bundle/web-dist/client/assets/{tokens-Gapk41cz.js → tokens-Co1wPrXX.js} +1 -1
- package/bundle/web-dist/client/index.html +1 -1
- package/bundle/web-dist/server/entry-server.generated.js +1 -1
- package/package.json +1 -1
- package/skills/qgrid/references/token-auth-quota-lifecycle.md +1 -0
|
@@ -55,9 +55,16 @@ export async function notifySlack(notification: SlackNotification): Promise<void
|
|
|
55
55
|
},
|
|
56
56
|
body: JSON.stringify({
|
|
57
57
|
channel,
|
|
58
|
-
//
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
// fallback 은 attachment 안에 둔다. 최상위 text 로 보내면 blocks 가 정상 렌더되는
|
|
59
|
+
// 화면에서도 함께 출력돼 제목이 두 번 보인다. attachment fallback 은 blocks 를
|
|
60
|
+
// 못 그리는 클라이언트와 푸시 알림에서만 쓰인다.
|
|
61
|
+
attachments: [
|
|
62
|
+
{
|
|
63
|
+
fallback: subject ? `${title} — ${subject}` : title,
|
|
64
|
+
...(color ? { color } : {}),
|
|
65
|
+
blocks,
|
|
66
|
+
},
|
|
67
|
+
],
|
|
61
68
|
}),
|
|
62
69
|
signal: AbortSignal.timeout(SLACK_TIMEOUT_MS),
|
|
63
70
|
});
|