@things-factory/webhook 10.1.4
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/dist-client/bootstrap.d.ts +1 -0
- package/dist-client/bootstrap.js +2 -0
- package/dist-client/bootstrap.js.map +1 -0
- package/dist-client/index.d.ts +1 -0
- package/dist-client/index.js +2 -0
- package/dist-client/index.js.map +1 -0
- package/dist-client/pages/webhook-destinations-page.d.ts +20 -0
- package/dist-client/pages/webhook-destinations-page.js +228 -0
- package/dist-client/pages/webhook-destinations-page.js.map +1 -0
- package/dist-client/route.d.ts +1 -0
- package/dist-client/route.js +8 -0
- package/dist-client/route.js.map +1 -0
- package/dist-client/tsconfig.tsbuildinfo +1 -0
- package/dist-server/index.d.ts +1 -0
- package/dist-server/index.js +5 -0
- package/dist-server/index.js.map +1 -0
- package/dist-server/service/index.d.ts +4 -0
- package/dist-server/service/index.js +17 -0
- package/dist-server/service/index.js.map +1 -0
- package/dist-server/service/webhook-destination/webhook-destination-resolver.d.ts +22 -0
- package/dist-server/service/webhook-destination/webhook-destination-resolver.js +130 -0
- package/dist-server/service/webhook-destination/webhook-destination-resolver.js.map +1 -0
- package/dist-server/service/webhook-destination/webhook-destination.d.ts +57 -0
- package/dist-server/service/webhook-destination/webhook-destination.js +118 -0
- package/dist-server/service/webhook-destination/webhook-destination.js.map +1 -0
- package/dist-server/service/webhook-outbox-event/webhook-outbox-event.d.ts +57 -0
- package/dist-server/service/webhook-outbox-event/webhook-outbox-event.js +166 -0
- package/dist-server/service/webhook-outbox-event/webhook-outbox-event.js.map +1 -0
- package/dist-server/service/webhook-sequence/webhook-sequence.d.ts +31 -0
- package/dist-server/service/webhook-sequence/webhook-sequence.js +82 -0
- package/dist-server/service/webhook-sequence/webhook-sequence.js.map +1 -0
- package/dist-server/tsconfig.tsbuildinfo +1 -0
- package/package.json +39 -0
- package/things-factory.config.js +13 -0
- package/translations/en.json +11 -0
- package/translations/ja.json +11 -0
- package/translations/ko.json +11 -0
- package/translations/ms.json +11 -0
- package/translations/zh.json +11 -0
package/package.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@things-factory/webhook",
|
|
3
|
+
"version": "10.1.4",
|
|
4
|
+
"main": "dist-server/index.js",
|
|
5
|
+
"browser": "dist-client/index.js",
|
|
6
|
+
"things-factory": true,
|
|
7
|
+
"author": "heartyoh <heartyoh@hatiolab.com>",
|
|
8
|
+
"description": "Module for the webhook seam — where to push facts, the queue that gets them there, and the numbering that keeps them in order",
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"publishConfig": {
|
|
11
|
+
"access": "public",
|
|
12
|
+
"@things-factory:registry": "https://registry.npmjs.org"
|
|
13
|
+
},
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "git+https://github.com/hatiolab/things-factory.git",
|
|
17
|
+
"directory": "packages/webhook"
|
|
18
|
+
},
|
|
19
|
+
"scripts": {
|
|
20
|
+
"build": "npm run build:server && npm run build:client",
|
|
21
|
+
"copy:files": "copyfiles -e \"./client/**/*.{ts,js,json}\" -u 1 \"./client/**/*\" dist-client",
|
|
22
|
+
"build:client": "npm run copy:files && npx tsc --p ./client/tsconfig.json",
|
|
23
|
+
"build:server": "npx tsc --p ./server/tsconfig.json",
|
|
24
|
+
"clean:client": "npx rimraf dist-client",
|
|
25
|
+
"clean:server": "npx rimraf dist-server",
|
|
26
|
+
"clean": "npm run clean:server && npm run clean:client",
|
|
27
|
+
"test": "node --import ./test/resolve-ts-siblings.mjs --test test/*.test.ts"
|
|
28
|
+
},
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"@operato/graphql": "^10.0.0",
|
|
31
|
+
"@operato/i18n": "^10.0.0",
|
|
32
|
+
"@operato/ops-contract": "^0.9.14",
|
|
33
|
+
"@things-factory/auth-base": "^10.1.4",
|
|
34
|
+
"@things-factory/env": "^10.1.3",
|
|
35
|
+
"@things-factory/shell": "^10.1.4",
|
|
36
|
+
"@things-factory/task-lease": "^10.1.4"
|
|
37
|
+
},
|
|
38
|
+
"gitHead": "c653a2967daa76b3828f1eb7f4eb18934263d4b8"
|
|
39
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"webhook.destinations.empty.title": "this site is not pushing facts anywhere yet.",
|
|
3
|
+
"webhook.destinations.empty.two-peers": "two peers means two rows — numbering and the queue are kept per peer, so one being stuck does not hold up the other.",
|
|
4
|
+
"webhook.destinations.empty.what": "a destination says who you are sending to. give the peer a name and an address, and queued facts go there in order. if the peer cannot take them they are kept and sent again, not dropped.",
|
|
5
|
+
"webhook.destinations.lede": "shows which peer this site's facts are pushed to. numbering and the queue are kept per peer.",
|
|
6
|
+
"webhook.destinations.load-failed": "could not load the list",
|
|
7
|
+
"webhook.destinations.title": "system connections — where facts go",
|
|
8
|
+
"webhook.field.active": "pushing",
|
|
9
|
+
"webhook.field.endpoint": "address",
|
|
10
|
+
"webhook.field.peer": "peer"
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"webhook.destinations.empty.title": "この現場はまだどこにもデータを送っていません。",
|
|
3
|
+
"webhook.destinations.empty.two-peers": "相手が二つなら行も二つです — 採番と待ち行列は相手ごとに保たれるので、一方が止まってももう一方は流れ続けます。",
|
|
4
|
+
"webhook.destinations.empty.what": "送信先は「誰に送るか」を書く場所です。相手の名前と住所を入れると、溜まったデータが番号順にその住所へ送られます。相手が受け取れない場合も破棄せず、再送します。",
|
|
5
|
+
"webhook.destinations.lede": "この現場のデータがどの相手に送られるかを表示します。採番と待ち行列は相手ごとに保持されます。",
|
|
6
|
+
"webhook.destinations.load-failed": "一覧を取得できませんでした",
|
|
7
|
+
"webhook.destinations.title": "システム連携 — 送信先",
|
|
8
|
+
"webhook.field.active": "送信",
|
|
9
|
+
"webhook.field.endpoint": "アドレス",
|
|
10
|
+
"webhook.field.peer": "相手"
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"webhook.destinations.empty.title": "이 현장은 아직 아무 곳에도 사실을 보내지 않습니다.",
|
|
3
|
+
"webhook.destinations.empty.two-peers": "상대가 둘이면 줄도 둘입니다 — 번호와 대기 줄이 상대마다 따로 매겨지므로, 한 곳이 멈춰도 다른 곳은 그대로 갑니다.",
|
|
4
|
+
"webhook.destinations.empty.what": "목적지는 「누구에게 보내나」를 적는 자리입니다. 상대 이름과 주소를 넣으면 쌓인 사실이 번호 순서대로 그 주소로 나갑니다. 상대가 받지 못하면 버리지 않고 다시 보냅니다.",
|
|
5
|
+
"webhook.destinations.lede": "이 현장의 사실이 어느 상대에게 나가는지 보여줍니다. 상대마다 번호와 대기 줄이 따로 있습니다.",
|
|
6
|
+
"webhook.destinations.load-failed": "목록을 가져오지 못했습니다",
|
|
7
|
+
"webhook.destinations.title": "시스템 연결 — 보내는 곳",
|
|
8
|
+
"webhook.field.active": "보냄",
|
|
9
|
+
"webhook.field.endpoint": "주소",
|
|
10
|
+
"webhook.field.peer": "상대"
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"webhook.destinations.empty.title": "tapak ini belum menghantar fakta ke mana-mana.",
|
|
3
|
+
"webhook.destinations.empty.two-peers": "dua rakan bermakna dua baris — penomboran dan baris giliran disimpan bagi setiap rakan, jadi satu yang tersekat tidak menahan yang lain.",
|
|
4
|
+
"webhook.destinations.empty.what": "destinasi menyatakan kepada siapa anda menghantar. berikan rakan itu nama dan alamat, dan fakta yang menunggu akan pergi ke sana mengikut urutan. jika rakan itu tidak dapat menerimanya, ia disimpan dan dihantar semula, bukan dibuang.",
|
|
5
|
+
"webhook.destinations.lede": "menunjukkan rakan mana fakta tapak ini dihantar. penomboran dan baris giliran disimpan bagi setiap rakan.",
|
|
6
|
+
"webhook.destinations.load-failed": "tidak dapat memuatkan senarai",
|
|
7
|
+
"webhook.destinations.title": "sambungan sistem — ke mana fakta pergi",
|
|
8
|
+
"webhook.field.active": "menghantar",
|
|
9
|
+
"webhook.field.endpoint": "alamat",
|
|
10
|
+
"webhook.field.peer": "rakan"
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"webhook.destinations.empty.title": "本现场尚未向任何地方发送数据。",
|
|
3
|
+
"webhook.destinations.empty.two-peers": "两个对端就是两行 — 编号与队列按对端分别保存,因此一处停滞不会拖住另一处。",
|
|
4
|
+
"webhook.destinations.empty.what": "发送目标用来记录「发给谁」。填入对端名称与地址后,累积的数据会按编号顺序发往该地址。对端无法接收时不会丢弃,而是重新发送。",
|
|
5
|
+
"webhook.destinations.lede": "显示本现场的数据发送给哪些对端。编号与队列按对端分别保存。",
|
|
6
|
+
"webhook.destinations.load-failed": "无法加载列表",
|
|
7
|
+
"webhook.destinations.title": "系统连接 — 发送目标",
|
|
8
|
+
"webhook.field.active": "发送",
|
|
9
|
+
"webhook.field.endpoint": "地址",
|
|
10
|
+
"webhook.field.peer": "对端"
|
|
11
|
+
}
|