@marleena/trb-proto 1.0.27 → 1.0.29
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 +10 -14
- package/gen/js-ts/{tinvest → api/tinvest}/InstrumentsServiceClientPb.ts +432 -432
- package/gen/js-ts/{tinvest → api/tinvest}/MarketdataServiceClientPb.ts +98 -98
- package/gen/js-ts/{tinvest → api/tinvest}/OperationsServiceClientPb.ts +90 -90
- package/gen/js-ts/{tinvest → api/tinvest}/OrdersServiceClientPb.ts +94 -94
- package/gen/js-ts/{tinvest → api/tinvest}/SandboxServiceClientPb.ts +206 -206
- package/gen/js-ts/{tinvest → api/tinvest}/SignalsServiceClientPb.ts +22 -22
- package/gen/js-ts/{tinvest → api/tinvest}/StopordersServiceClientPb.ts +32 -32
- package/gen/js-ts/{tinvest → api/tinvest}/UsersServiceClientPb.ts +82 -82
- package/gen/js-ts/{tinvest → api/tinvest}/common_pb.js +1 -1
- package/gen/js-ts/{tinvest → api/tinvest}/instruments_pb.d.ts +560 -560
- package/gen/js-ts/{tinvest → api/tinvest}/instruments_pb.js +804 -804
- package/gen/js-ts/{tinvest → api/tinvest}/marketdata_pb.d.ts +104 -104
- package/gen/js-ts/{tinvest → api/tinvest}/marketdata_pb.js +154 -154
- package/gen/js-ts/{tinvest → api/tinvest}/operations_pb.d.ts +229 -229
- package/gen/js-ts/{tinvest → api/tinvest}/operations_pb.js +364 -364
- package/gen/js-ts/{tinvest → api/tinvest}/orders_pb.d.ts +153 -153
- package/gen/js-ts/{tinvest → api/tinvest}/orders_pb.js +226 -226
- package/gen/js-ts/{tinvest → api/tinvest}/sandbox_pb.d.ts +12 -12
- package/gen/js-ts/{tinvest → api/tinvest}/sandbox_pb.js +22 -22
- package/gen/js-ts/{tinvest → api/tinvest}/signals_pb.d.ts +32 -32
- package/gen/js-ts/{tinvest → api/tinvest}/signals_pb.js +54 -54
- package/gen/js-ts/{tinvest → api/tinvest}/stoporders_pb.d.ts +38 -38
- package/gen/js-ts/{tinvest → api/tinvest}/stoporders_pb.js +59 -59
- package/gen/js-ts/{tinvest → api/tinvest}/users_pb.d.ts +36 -36
- package/gen/js-ts/{tinvest → api/tinvest}/users_pb.js +59 -59
- package/gen/js-ts/clickhouse/AdminServiceClientPb.ts +1161 -0
- package/gen/js-ts/clickhouse/ClickhouseServiceClientPb.ts +216 -0
- package/gen/js-ts/{api/clickhouse/manager_pb.d.ts → clickhouse/admin_pb.d.ts} +2 -2
- package/gen/js-ts/{api/clickhouse/manager_pb.js → clickhouse/admin_pb.js} +1551 -1551
- package/gen/js-ts/{api/db_api/db_api_pb.d.ts → clickhouse/clickhouse_pb.d.ts} +8 -158
- package/gen/js-ts/clickhouse/clickhouse_pb.js +2440 -0
- package/gen/js-ts/nats/NatsServiceClientPb.ts +1032 -0
- package/gen/js-ts/{api/nats/manager_pb.d.ts → nats/nats_pb.d.ts} +1 -1
- package/gen/js-ts/{api/nats/manager_pb.js → nats/nats_pb.js} +1784 -1784
- package/gen/js-ts/postgresql/PostgresqlServiceClientPb.ts +129 -0
- package/gen/js-ts/postgresql/postgresql_pb.d.ts +156 -0
- package/gen/js-ts/postgresql/postgresql_pb.js +1311 -0
- package/gen/js-ts/{api/test → test}/TestServiceClientPb.ts +22 -22
- package/gen/js-ts/{api/test → test}/test_pb.d.ts +5 -5
- package/gen/js-ts/{api/test → test}/test_pb.js +58 -58
- package/package.json +1 -1
- package/gen/js-ts/api/clickhouse/ManagerServiceClientPb.ts +0 -1161
- package/gen/js-ts/api/db_api/Db_apiServiceClientPb.ts +0 -302
- package/gen/js-ts/api/db_api/db_api_pb.js +0 -3723
- package/gen/js-ts/api/nats/ManagerServiceClientPb.ts +0 -1032
- /package/gen/js-ts/{tinvest → api/tinvest}/common_pb.d.ts +0 -0
package/README.md
CHANGED
|
@@ -32,29 +32,25 @@ const req = new MessageRequest();
|
|
|
32
32
|
req.setText('hello');
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
Сервисы:
|
|
35
|
+
Сервисы:
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
Внешние контракты в `api/`: `api/tinvest`.
|
|
38
38
|
|
|
39
|
-
`
|
|
39
|
+
Свои сервисы: `clickhouse`, `nats`, `postgresql`, `test`.
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
`clickhouse` — два proto: `admin.proto` (`trb.clickhouse.v1.ClickHouse_Admin`) и `clickhouse.proto` (`trb.clickhouse.v1.ClickHouse`).
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
`postgresql` (`trb.postgresql.v1.PostgreSQL`) — цели планировщика: `ListSchedulerTargets`, `SyncSchedulerTargets`.
|
|
44
44
|
|
|
45
|
-
|
|
46
|
-
- просит [pkg.go.dev](https://pkg.go.dev/github.com/Mar1eena/trb_proto) проиндексировать `github.com/Mar1eena/trb_proto@v1.2.3` (git-тег + запрос к module proxy).
|
|
45
|
+
`nats` (`trb.nats.v1.Nats`) — управление JetStream.
|
|
47
46
|
|
|
48
|
-
|
|
47
|
+
`test` (`trb.test.v1.Test`) — тестовый оркестратор.
|
|
49
48
|
|
|
50
|
-
|
|
49
|
+
## CI/CD
|
|
51
50
|
|
|
52
|
-
|
|
53
|
-
- Repository: `TrB_proto`
|
|
54
|
-
- Workflow filename: `release.yml`
|
|
55
|
-
- Allowed actions: `npm publish`
|
|
51
|
+
[Release](.github/workflows/release.yml) на коммит `v1.2.3` в `main`: npm (если версии ещё нет) и `POST /fetch/...` на [pkg.go.dev](https://pkg.go.dev/github.com/Mar1eena/trb_proto).
|
|
56
52
|
|
|
57
|
-
|
|
53
|
+
Trusted Publisher на npm: GitHub `Mar1eena` / `TrB_proto` / `release.yml` / `npm publish`.
|
|
58
54
|
|
|
59
55
|
## Релиз
|
|
60
56
|
|