@sendproof/core 0.1.0-alpha.1 → 0.1.0-alpha.2
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/assets/api.js +2 -1
- package/assets/app.css +612 -1
- package/assets/app.js +89 -13
- package/assets/bar-fit.js +91 -0
- package/assets/commands.js +27 -4
- package/assets/dialog.css +125 -0
- package/assets/dialog.js +191 -0
- package/assets/fields/lookup-source.js +5 -2
- package/assets/fields/lookup.js +3 -2
- package/assets/i18n.js +13 -2
- package/assets/icons.js +18 -0
- package/assets/index.html +1 -0
- package/assets/journeys/compare.js +225 -0
- package/assets/journeys/expressions.js +89 -0
- package/assets/journeys/index.js +7 -0
- package/assets/journeys/run.js +152 -0
- package/assets/journeys/steps.js +163 -0
- package/assets/journeys-code.js +193 -0
- package/assets/journeys-dialog-model.js +172 -0
- package/assets/journeys-dialogs.js +301 -0
- package/assets/journeys-model.js +259 -0
- package/assets/journeys-runs.js +109 -0
- package/assets/journeys-session.js +135 -0
- package/assets/journeys-view.js +961 -0
- package/assets/journeys.js +962 -0
- package/assets/locales/ar-journeys.js +468 -0
- package/assets/locales/ar.js +2 -0
- package/assets/locales/cs-journeys.js +468 -0
- package/assets/locales/cs.js +2 -0
- package/assets/locales/da-journeys.js +465 -0
- package/assets/locales/da.js +2 -0
- package/assets/locales/de-journeys.js +465 -0
- package/assets/locales/de.js +2 -0
- package/assets/locales/el-journeys.js +465 -0
- package/assets/locales/el.js +2 -0
- package/assets/locales/en-journeys.js +467 -0
- package/assets/locales/en.js +2 -0
- package/assets/locales/es-journeys.js +467 -0
- package/assets/locales/es.js +2 -0
- package/assets/locales/fa-journeys.js +465 -0
- package/assets/locales/fa.js +2 -0
- package/assets/locales/fi-journeys.js +465 -0
- package/assets/locales/fi.js +2 -0
- package/assets/locales/fr-journeys.js +467 -0
- package/assets/locales/fr.js +2 -0
- package/assets/locales/he-journeys.js +468 -0
- package/assets/locales/he.js +2 -0
- package/assets/locales/hi-journeys.js +465 -0
- package/assets/locales/hi.js +2 -0
- package/assets/locales/id-journeys.js +466 -0
- package/assets/locales/id.js +2 -0
- package/assets/locales/it-journeys.js +467 -0
- package/assets/locales/it.js +2 -0
- package/assets/locales/ja-journeys.js +466 -0
- package/assets/locales/ja.js +2 -0
- package/assets/locales/ko-journeys.js +465 -0
- package/assets/locales/ko.js +2 -0
- package/assets/locales/nb-journeys.js +465 -0
- package/assets/locales/nb.js +2 -0
- package/assets/locales/nl-journeys.js +465 -0
- package/assets/locales/nl.js +2 -0
- package/assets/locales/pl-journeys.js +468 -0
- package/assets/locales/pl.js +2 -0
- package/assets/locales/pt-BR-journeys.js +467 -0
- package/assets/locales/pt-BR.js +2 -0
- package/assets/locales/pt-PT-journeys.js +467 -0
- package/assets/locales/pt-PT.js +2 -0
- package/assets/locales/ru-journeys.js +468 -0
- package/assets/locales/ru.js +2 -0
- package/assets/locales/sv-journeys.js +465 -0
- package/assets/locales/sv.js +2 -0
- package/assets/locales/th-journeys.js +466 -0
- package/assets/locales/th.js +2 -0
- package/assets/locales/tr-journeys.js +468 -0
- package/assets/locales/tr.js +2 -0
- package/assets/locales/uk-journeys.js +468 -0
- package/assets/locales/uk.js +2 -0
- package/assets/locales/vi-journeys.js +466 -0
- package/assets/locales/vi.js +2 -0
- package/assets/locales/zh-Hans-journeys.js +466 -0
- package/assets/locales/zh-Hans.js +2 -0
- package/assets/locales/zh-Hant-journeys.js +466 -0
- package/assets/locales/zh-Hant.js +2 -0
- package/assets/manifest.json +349 -104
- package/assets/markdown.js +27 -2
- package/assets/request-editor.js +7 -1
- package/assets/result-states.js +2 -2
- package/assets/results.js +41 -14
- package/assets/router.js +25 -1
- package/assets/seeded-menu.js +2 -1
- package/assets/shortcuts-sheet.js +3 -1
- package/assets/shortcuts.js +6 -0
- package/assets/sidebar.js +54 -5
- package/assets/signin.js +6 -3
- package/assets/styles.css +8 -2
- package/assets/toast.js +29 -0
- package/assets/vendor/arazzo-runtime-expression.js +136 -0
- package/assets/vendor/json-pointer.js +48 -0
- package/assets/vendor/jsonpath-rfc9535.js +15 -0
- package/assets/view.js +11 -3
- package/assets/views.css +7 -0
- package/dist/index.d.ts +7 -3
- package/dist/index.js +217 -26
- package/dist/journey-builder.d.ts +178 -0
- package/dist/journey-builder.js +169 -0
- package/dist/journeys.d.ts +24 -0
- package/dist/journeys.js +157 -0
- package/dist/node-http.d.ts +2 -0
- package/dist/node-http.js +17 -0
- package/dist/sessions.d.ts +43 -0
- package/dist/sessions.js +145 -0
- package/dist/statements.js +2 -2
- package/dist/stores/tables.d.ts +213 -0
- package/dist/stores/tables.js +213 -0
- package/dist/types.d.ts +34 -2
- package/package.json +1 -1
package/dist/stores/tables.d.ts
CHANGED
|
@@ -6,6 +6,219 @@ export declare const redisTable: {
|
|
|
6
6
|
readonly source: "redis 7.4 COMMAND flags";
|
|
7
7
|
readonly default: "write";
|
|
8
8
|
readonly keyFormat: "Upper-case command name; a container command and its subcommand are joined with a vertical bar, as in OBJECT|ENCODING.";
|
|
9
|
+
readonly firstKeyNote: "Where a command's first key argument is, for the Db log entry target. A 1-based position in the arguments after the command name, so INCRBY key by is 1; a container command's subcommand counts as an argument, so OBJECT FREQ key is 2. A command that is not listed has its first key at position 1; 0 means no positional key. Generated from COMMAND INFO on Redis 7.4.12, keeping the entries that are not 1.";
|
|
10
|
+
readonly firstKey: {
|
|
11
|
+
readonly ACL: 0;
|
|
12
|
+
readonly "ACL|CAT": 0;
|
|
13
|
+
readonly "ACL|DELUSER": 0;
|
|
14
|
+
readonly "ACL|DRYRUN": 0;
|
|
15
|
+
readonly "ACL|GENPASS": 0;
|
|
16
|
+
readonly "ACL|GETUSER": 0;
|
|
17
|
+
readonly "ACL|HELP": 0;
|
|
18
|
+
readonly "ACL|LIST": 0;
|
|
19
|
+
readonly "ACL|LOAD": 0;
|
|
20
|
+
readonly "ACL|LOG": 0;
|
|
21
|
+
readonly "ACL|SAVE": 0;
|
|
22
|
+
readonly "ACL|SETUSER": 0;
|
|
23
|
+
readonly "ACL|USERS": 0;
|
|
24
|
+
readonly "ACL|WHOAMI": 0;
|
|
25
|
+
readonly ASKING: 0;
|
|
26
|
+
readonly AUTH: 0;
|
|
27
|
+
readonly BGREWRITEAOF: 0;
|
|
28
|
+
readonly BGSAVE: 0;
|
|
29
|
+
readonly BITOP: 2;
|
|
30
|
+
readonly BLMPOP: 0;
|
|
31
|
+
readonly BZMPOP: 0;
|
|
32
|
+
readonly CLIENT: 0;
|
|
33
|
+
readonly "CLIENT|CACHING": 0;
|
|
34
|
+
readonly "CLIENT|GETNAME": 0;
|
|
35
|
+
readonly "CLIENT|GETREDIR": 0;
|
|
36
|
+
readonly "CLIENT|HELP": 0;
|
|
37
|
+
readonly "CLIENT|ID": 0;
|
|
38
|
+
readonly "CLIENT|INFO": 0;
|
|
39
|
+
readonly "CLIENT|KILL": 0;
|
|
40
|
+
readonly "CLIENT|LIST": 0;
|
|
41
|
+
readonly "CLIENT|NO-EVICT": 0;
|
|
42
|
+
readonly "CLIENT|NO-TOUCH": 0;
|
|
43
|
+
readonly "CLIENT|PAUSE": 0;
|
|
44
|
+
readonly "CLIENT|REPLY": 0;
|
|
45
|
+
readonly "CLIENT|SETINFO": 0;
|
|
46
|
+
readonly "CLIENT|SETNAME": 0;
|
|
47
|
+
readonly "CLIENT|TRACKING": 0;
|
|
48
|
+
readonly "CLIENT|TRACKINGINFO": 0;
|
|
49
|
+
readonly "CLIENT|UNBLOCK": 0;
|
|
50
|
+
readonly "CLIENT|UNPAUSE": 0;
|
|
51
|
+
readonly CLUSTER: 0;
|
|
52
|
+
readonly "CLUSTER|ADDSLOTS": 0;
|
|
53
|
+
readonly "CLUSTER|ADDSLOTSRANGE": 0;
|
|
54
|
+
readonly "CLUSTER|BUMPEPOCH": 0;
|
|
55
|
+
readonly "CLUSTER|COUNT-FAILURE-REPORTS": 0;
|
|
56
|
+
readonly "CLUSTER|COUNTKEYSINSLOT": 0;
|
|
57
|
+
readonly "CLUSTER|DELSLOTS": 0;
|
|
58
|
+
readonly "CLUSTER|DELSLOTSRANGE": 0;
|
|
59
|
+
readonly "CLUSTER|FAILOVER": 0;
|
|
60
|
+
readonly "CLUSTER|FLUSHSLOTS": 0;
|
|
61
|
+
readonly "CLUSTER|FORGET": 0;
|
|
62
|
+
readonly "CLUSTER|GETKEYSINSLOT": 0;
|
|
63
|
+
readonly "CLUSTER|HELP": 0;
|
|
64
|
+
readonly "CLUSTER|INFO": 0;
|
|
65
|
+
readonly "CLUSTER|KEYSLOT": 0;
|
|
66
|
+
readonly "CLUSTER|LINKS": 0;
|
|
67
|
+
readonly "CLUSTER|MEET": 0;
|
|
68
|
+
readonly "CLUSTER|MYID": 0;
|
|
69
|
+
readonly "CLUSTER|MYSHARDID": 0;
|
|
70
|
+
readonly "CLUSTER|NODES": 0;
|
|
71
|
+
readonly "CLUSTER|REPLICAS": 0;
|
|
72
|
+
readonly "CLUSTER|REPLICATE": 0;
|
|
73
|
+
readonly "CLUSTER|RESET": 0;
|
|
74
|
+
readonly "CLUSTER|SAVECONFIG": 0;
|
|
75
|
+
readonly "CLUSTER|SET-CONFIG-EPOCH": 0;
|
|
76
|
+
readonly "CLUSTER|SETSLOT": 0;
|
|
77
|
+
readonly "CLUSTER|SHARDS": 0;
|
|
78
|
+
readonly "CLUSTER|SLAVES": 0;
|
|
79
|
+
readonly "CLUSTER|SLOTS": 0;
|
|
80
|
+
readonly COMMAND: 0;
|
|
81
|
+
readonly "COMMAND|COUNT": 0;
|
|
82
|
+
readonly "COMMAND|DOCS": 0;
|
|
83
|
+
readonly "COMMAND|GETKEYS": 0;
|
|
84
|
+
readonly "COMMAND|GETKEYSANDFLAGS": 0;
|
|
85
|
+
readonly "COMMAND|HELP": 0;
|
|
86
|
+
readonly "COMMAND|INFO": 0;
|
|
87
|
+
readonly "COMMAND|LIST": 0;
|
|
88
|
+
readonly CONFIG: 0;
|
|
89
|
+
readonly "CONFIG|GET": 0;
|
|
90
|
+
readonly "CONFIG|HELP": 0;
|
|
91
|
+
readonly "CONFIG|RESETSTAT": 0;
|
|
92
|
+
readonly "CONFIG|REWRITE": 0;
|
|
93
|
+
readonly "CONFIG|SET": 0;
|
|
94
|
+
readonly DBSIZE: 0;
|
|
95
|
+
readonly DEBUG: 0;
|
|
96
|
+
readonly DISCARD: 0;
|
|
97
|
+
readonly ECHO: 0;
|
|
98
|
+
readonly EVAL: 0;
|
|
99
|
+
readonly EVALSHA: 0;
|
|
100
|
+
readonly EVALSHA_RO: 0;
|
|
101
|
+
readonly EVAL_RO: 0;
|
|
102
|
+
readonly EXEC: 0;
|
|
103
|
+
readonly FAILOVER: 0;
|
|
104
|
+
readonly FCALL: 0;
|
|
105
|
+
readonly FCALL_RO: 0;
|
|
106
|
+
readonly FLUSHALL: 0;
|
|
107
|
+
readonly FLUSHDB: 0;
|
|
108
|
+
readonly FUNCTION: 0;
|
|
109
|
+
readonly "FUNCTION|DELETE": 0;
|
|
110
|
+
readonly "FUNCTION|DUMP": 0;
|
|
111
|
+
readonly "FUNCTION|FLUSH": 0;
|
|
112
|
+
readonly "FUNCTION|HELP": 0;
|
|
113
|
+
readonly "FUNCTION|KILL": 0;
|
|
114
|
+
readonly "FUNCTION|LIST": 0;
|
|
115
|
+
readonly "FUNCTION|LOAD": 0;
|
|
116
|
+
readonly "FUNCTION|RESTORE": 0;
|
|
117
|
+
readonly "FUNCTION|STATS": 0;
|
|
118
|
+
readonly HELLO: 0;
|
|
119
|
+
readonly INFO: 0;
|
|
120
|
+
readonly KEYS: 0;
|
|
121
|
+
readonly LASTSAVE: 0;
|
|
122
|
+
readonly LATENCY: 0;
|
|
123
|
+
readonly "LATENCY|DOCTOR": 0;
|
|
124
|
+
readonly "LATENCY|GRAPH": 0;
|
|
125
|
+
readonly "LATENCY|HELP": 0;
|
|
126
|
+
readonly "LATENCY|HISTOGRAM": 0;
|
|
127
|
+
readonly "LATENCY|HISTORY": 0;
|
|
128
|
+
readonly "LATENCY|LATEST": 0;
|
|
129
|
+
readonly "LATENCY|RESET": 0;
|
|
130
|
+
readonly LMPOP: 0;
|
|
131
|
+
readonly LOLWUT: 0;
|
|
132
|
+
readonly MEMORY: 0;
|
|
133
|
+
readonly "MEMORY|DOCTOR": 0;
|
|
134
|
+
readonly "MEMORY|HELP": 0;
|
|
135
|
+
readonly "MEMORY|MALLOC-STATS": 0;
|
|
136
|
+
readonly "MEMORY|PURGE": 0;
|
|
137
|
+
readonly "MEMORY|STATS": 0;
|
|
138
|
+
readonly "MEMORY|USAGE": 2;
|
|
139
|
+
readonly MIGRATE: 3;
|
|
140
|
+
readonly MODULE: 0;
|
|
141
|
+
readonly "MODULE|HELP": 0;
|
|
142
|
+
readonly "MODULE|LIST": 0;
|
|
143
|
+
readonly "MODULE|LOAD": 0;
|
|
144
|
+
readonly "MODULE|LOADEX": 0;
|
|
145
|
+
readonly "MODULE|UNLOAD": 0;
|
|
146
|
+
readonly MONITOR: 0;
|
|
147
|
+
readonly MULTI: 0;
|
|
148
|
+
readonly OBJECT: 0;
|
|
149
|
+
readonly "OBJECT|ENCODING": 2;
|
|
150
|
+
readonly "OBJECT|FREQ": 2;
|
|
151
|
+
readonly "OBJECT|HELP": 0;
|
|
152
|
+
readonly "OBJECT|IDLETIME": 2;
|
|
153
|
+
readonly "OBJECT|REFCOUNT": 2;
|
|
154
|
+
readonly PFDEBUG: 2;
|
|
155
|
+
readonly PFSELFTEST: 0;
|
|
156
|
+
readonly PING: 0;
|
|
157
|
+
readonly PSUBSCRIBE: 0;
|
|
158
|
+
readonly PSYNC: 0;
|
|
159
|
+
readonly PUBLISH: 0;
|
|
160
|
+
readonly PUBSUB: 0;
|
|
161
|
+
readonly "PUBSUB|CHANNELS": 0;
|
|
162
|
+
readonly "PUBSUB|HELP": 0;
|
|
163
|
+
readonly "PUBSUB|NUMPAT": 0;
|
|
164
|
+
readonly "PUBSUB|NUMSUB": 0;
|
|
165
|
+
readonly "PUBSUB|SHARDCHANNELS": 0;
|
|
166
|
+
readonly "PUBSUB|SHARDNUMSUB": 0;
|
|
167
|
+
readonly PUNSUBSCRIBE: 0;
|
|
168
|
+
readonly QUIT: 0;
|
|
169
|
+
readonly RANDOMKEY: 0;
|
|
170
|
+
readonly READONLY: 0;
|
|
171
|
+
readonly READWRITE: 0;
|
|
172
|
+
readonly REPLCONF: 0;
|
|
173
|
+
readonly REPLICAOF: 0;
|
|
174
|
+
readonly RESET: 0;
|
|
175
|
+
readonly ROLE: 0;
|
|
176
|
+
readonly SAVE: 0;
|
|
177
|
+
readonly SCAN: 0;
|
|
178
|
+
readonly SCRIPT: 0;
|
|
179
|
+
readonly "SCRIPT|DEBUG": 0;
|
|
180
|
+
readonly "SCRIPT|EXISTS": 0;
|
|
181
|
+
readonly "SCRIPT|FLUSH": 0;
|
|
182
|
+
readonly "SCRIPT|HELP": 0;
|
|
183
|
+
readonly "SCRIPT|KILL": 0;
|
|
184
|
+
readonly "SCRIPT|LOAD": 0;
|
|
185
|
+
readonly SELECT: 0;
|
|
186
|
+
readonly SHUTDOWN: 0;
|
|
187
|
+
readonly SINTERCARD: 0;
|
|
188
|
+
readonly SLAVEOF: 0;
|
|
189
|
+
readonly SLOWLOG: 0;
|
|
190
|
+
readonly "SLOWLOG|GET": 0;
|
|
191
|
+
readonly "SLOWLOG|HELP": 0;
|
|
192
|
+
readonly "SLOWLOG|LEN": 0;
|
|
193
|
+
readonly "SLOWLOG|RESET": 0;
|
|
194
|
+
readonly SUBSCRIBE: 0;
|
|
195
|
+
readonly SWAPDB: 0;
|
|
196
|
+
readonly SYNC: 0;
|
|
197
|
+
readonly TIME: 0;
|
|
198
|
+
readonly UNSUBSCRIBE: 0;
|
|
199
|
+
readonly UNWATCH: 0;
|
|
200
|
+
readonly WAIT: 0;
|
|
201
|
+
readonly WAITAOF: 0;
|
|
202
|
+
readonly XGROUP: 0;
|
|
203
|
+
readonly "XGROUP|CREATE": 2;
|
|
204
|
+
readonly "XGROUP|CREATECONSUMER": 2;
|
|
205
|
+
readonly "XGROUP|DELCONSUMER": 2;
|
|
206
|
+
readonly "XGROUP|DESTROY": 2;
|
|
207
|
+
readonly "XGROUP|HELP": 0;
|
|
208
|
+
readonly "XGROUP|SETID": 2;
|
|
209
|
+
readonly XINFO: 0;
|
|
210
|
+
readonly "XINFO|CONSUMERS": 2;
|
|
211
|
+
readonly "XINFO|GROUPS": 2;
|
|
212
|
+
readonly "XINFO|HELP": 0;
|
|
213
|
+
readonly "XINFO|STREAM": 2;
|
|
214
|
+
readonly XREAD: 0;
|
|
215
|
+
readonly XREADGROUP: 0;
|
|
216
|
+
readonly ZDIFF: 0;
|
|
217
|
+
readonly ZINTER: 0;
|
|
218
|
+
readonly ZINTERCARD: 0;
|
|
219
|
+
readonly ZMPOP: 0;
|
|
220
|
+
readonly ZUNION: 0;
|
|
221
|
+
};
|
|
9
222
|
readonly read: readonly ["BITCOUNT", "BITFIELD_RO", "BITPOS", "DBSIZE", "DUMP", "EVALSHA_RO", "EVAL_RO", "EXISTS", "EXPIRETIME", "FCALL_RO", "GEODIST", "GEOHASH", "GEOPOS", "GEORADIUSBYMEMBER_RO", "GEORADIUS_RO", "GEOSEARCH", "GET", "GETBIT", "GETRANGE", "HEXISTS", "HEXPIRETIME", "HGET", "HGETALL", "HKEYS", "HLEN", "HMGET", "HPEXPIRETIME", "HPTTL", "HRANDFIELD", "HSCAN", "HSTRLEN", "HTTL", "HVALS", "KEYS", "LCS", "LINDEX", "LLEN", "LOLWUT", "LPOS", "LRANGE", "MEMORY|USAGE", "MGET", "OBJECT|ENCODING", "OBJECT|FREQ", "OBJECT|IDLETIME", "OBJECT|REFCOUNT", "PEXPIRETIME", "PFCOUNT", "PTTL", "RANDOMKEY", "SCAN", "SCARD", "SDIFF", "SINTER", "SINTERCARD", "SISMEMBER", "SMEMBERS", "SMISMEMBER", "SORT_RO", "SRANDMEMBER", "SSCAN", "STRLEN", "SUBSTR", "SUNION", "TOUCH", "TTL", "TYPE", "XINFO|CONSUMERS", "XINFO|GROUPS", "XINFO|STREAM", "XLEN", "XPENDING", "XRANGE", "XREAD", "XREVRANGE", "ZCARD", "ZCOUNT", "ZDIFF", "ZINTER", "ZINTERCARD", "ZLEXCOUNT", "ZMSCORE", "ZRANDMEMBER", "ZRANGE", "ZRANGEBYLEX", "ZRANGEBYSCORE", "ZRANK", "ZREVRANGE", "ZREVRANGEBYLEX", "ZREVRANGEBYSCORE", "ZREVRANK", "ZSCAN", "ZSCORE", "ZUNION"];
|
|
10
223
|
readonly moduleRead: readonly ["BF.CARD", "BF.EXISTS", "BF.INFO", "BF.MEXISTS", "CF.COUNT", "CF.EXISTS", "CF.INFO", "CF.MEXISTS", "FT._LIST", "FT.AGGREGATE", "FT.EXPLAIN", "FT.INFO", "FT.SEARCH", "FT.SPELLCHECK", "FT.SUGGET", "FT.SUGLEN", "FT.TAGVALS", "JSON.ARRINDEX", "JSON.ARRLEN", "JSON.GET", "JSON.MGET", "JSON.OBJKEYS", "JSON.OBJLEN", "JSON.RESP", "JSON.STRLEN", "JSON.TYPE", "TS.GET", "TS.INFO", "TS.MGET", "TS.MRANGE", "TS.MREVRANGE", "TS.QUERYINDEX", "TS.RANGE", "TS.REVRANGE"];
|
|
11
224
|
readonly session: readonly ["ASKING", "AUTH", "CLIENT|GETNAME", "CLIENT|ID", "CLIENT|INFO", "CLIENT|MAINT_NOTIFICATIONS", "CLIENT|SETINFO", "CLIENT|SETNAME", "COMMAND", "COMMAND|COUNT", "COMMAND|DOCS", "COMMAND|INFO", "COMMAND|LIST", "ECHO", "HELLO", "INFO", "LASTSAVE", "PING", "QUIT", "READONLY", "READWRITE", "RESET", "ROLE", "SELECT", "TIME", "WAIT", "WAITAOF"];
|
package/dist/stores/tables.js
CHANGED
|
@@ -8,6 +8,219 @@ export const redisTable = {
|
|
|
8
8
|
"source": "redis 7.4 COMMAND flags",
|
|
9
9
|
"default": "write",
|
|
10
10
|
"keyFormat": "Upper-case command name; a container command and its subcommand are joined with a vertical bar, as in OBJECT|ENCODING.",
|
|
11
|
+
"firstKeyNote": "Where a command's first key argument is, for the Db log entry target. A 1-based position in the arguments after the command name, so INCRBY key by is 1; a container command's subcommand counts as an argument, so OBJECT FREQ key is 2. A command that is not listed has its first key at position 1; 0 means no positional key. Generated from COMMAND INFO on Redis 7.4.12, keeping the entries that are not 1.",
|
|
12
|
+
"firstKey": {
|
|
13
|
+
"ACL": 0,
|
|
14
|
+
"ACL|CAT": 0,
|
|
15
|
+
"ACL|DELUSER": 0,
|
|
16
|
+
"ACL|DRYRUN": 0,
|
|
17
|
+
"ACL|GENPASS": 0,
|
|
18
|
+
"ACL|GETUSER": 0,
|
|
19
|
+
"ACL|HELP": 0,
|
|
20
|
+
"ACL|LIST": 0,
|
|
21
|
+
"ACL|LOAD": 0,
|
|
22
|
+
"ACL|LOG": 0,
|
|
23
|
+
"ACL|SAVE": 0,
|
|
24
|
+
"ACL|SETUSER": 0,
|
|
25
|
+
"ACL|USERS": 0,
|
|
26
|
+
"ACL|WHOAMI": 0,
|
|
27
|
+
"ASKING": 0,
|
|
28
|
+
"AUTH": 0,
|
|
29
|
+
"BGREWRITEAOF": 0,
|
|
30
|
+
"BGSAVE": 0,
|
|
31
|
+
"BITOP": 2,
|
|
32
|
+
"BLMPOP": 0,
|
|
33
|
+
"BZMPOP": 0,
|
|
34
|
+
"CLIENT": 0,
|
|
35
|
+
"CLIENT|CACHING": 0,
|
|
36
|
+
"CLIENT|GETNAME": 0,
|
|
37
|
+
"CLIENT|GETREDIR": 0,
|
|
38
|
+
"CLIENT|HELP": 0,
|
|
39
|
+
"CLIENT|ID": 0,
|
|
40
|
+
"CLIENT|INFO": 0,
|
|
41
|
+
"CLIENT|KILL": 0,
|
|
42
|
+
"CLIENT|LIST": 0,
|
|
43
|
+
"CLIENT|NO-EVICT": 0,
|
|
44
|
+
"CLIENT|NO-TOUCH": 0,
|
|
45
|
+
"CLIENT|PAUSE": 0,
|
|
46
|
+
"CLIENT|REPLY": 0,
|
|
47
|
+
"CLIENT|SETINFO": 0,
|
|
48
|
+
"CLIENT|SETNAME": 0,
|
|
49
|
+
"CLIENT|TRACKING": 0,
|
|
50
|
+
"CLIENT|TRACKINGINFO": 0,
|
|
51
|
+
"CLIENT|UNBLOCK": 0,
|
|
52
|
+
"CLIENT|UNPAUSE": 0,
|
|
53
|
+
"CLUSTER": 0,
|
|
54
|
+
"CLUSTER|ADDSLOTS": 0,
|
|
55
|
+
"CLUSTER|ADDSLOTSRANGE": 0,
|
|
56
|
+
"CLUSTER|BUMPEPOCH": 0,
|
|
57
|
+
"CLUSTER|COUNT-FAILURE-REPORTS": 0,
|
|
58
|
+
"CLUSTER|COUNTKEYSINSLOT": 0,
|
|
59
|
+
"CLUSTER|DELSLOTS": 0,
|
|
60
|
+
"CLUSTER|DELSLOTSRANGE": 0,
|
|
61
|
+
"CLUSTER|FAILOVER": 0,
|
|
62
|
+
"CLUSTER|FLUSHSLOTS": 0,
|
|
63
|
+
"CLUSTER|FORGET": 0,
|
|
64
|
+
"CLUSTER|GETKEYSINSLOT": 0,
|
|
65
|
+
"CLUSTER|HELP": 0,
|
|
66
|
+
"CLUSTER|INFO": 0,
|
|
67
|
+
"CLUSTER|KEYSLOT": 0,
|
|
68
|
+
"CLUSTER|LINKS": 0,
|
|
69
|
+
"CLUSTER|MEET": 0,
|
|
70
|
+
"CLUSTER|MYID": 0,
|
|
71
|
+
"CLUSTER|MYSHARDID": 0,
|
|
72
|
+
"CLUSTER|NODES": 0,
|
|
73
|
+
"CLUSTER|REPLICAS": 0,
|
|
74
|
+
"CLUSTER|REPLICATE": 0,
|
|
75
|
+
"CLUSTER|RESET": 0,
|
|
76
|
+
"CLUSTER|SAVECONFIG": 0,
|
|
77
|
+
"CLUSTER|SET-CONFIG-EPOCH": 0,
|
|
78
|
+
"CLUSTER|SETSLOT": 0,
|
|
79
|
+
"CLUSTER|SHARDS": 0,
|
|
80
|
+
"CLUSTER|SLAVES": 0,
|
|
81
|
+
"CLUSTER|SLOTS": 0,
|
|
82
|
+
"COMMAND": 0,
|
|
83
|
+
"COMMAND|COUNT": 0,
|
|
84
|
+
"COMMAND|DOCS": 0,
|
|
85
|
+
"COMMAND|GETKEYS": 0,
|
|
86
|
+
"COMMAND|GETKEYSANDFLAGS": 0,
|
|
87
|
+
"COMMAND|HELP": 0,
|
|
88
|
+
"COMMAND|INFO": 0,
|
|
89
|
+
"COMMAND|LIST": 0,
|
|
90
|
+
"CONFIG": 0,
|
|
91
|
+
"CONFIG|GET": 0,
|
|
92
|
+
"CONFIG|HELP": 0,
|
|
93
|
+
"CONFIG|RESETSTAT": 0,
|
|
94
|
+
"CONFIG|REWRITE": 0,
|
|
95
|
+
"CONFIG|SET": 0,
|
|
96
|
+
"DBSIZE": 0,
|
|
97
|
+
"DEBUG": 0,
|
|
98
|
+
"DISCARD": 0,
|
|
99
|
+
"ECHO": 0,
|
|
100
|
+
"EVAL": 0,
|
|
101
|
+
"EVALSHA": 0,
|
|
102
|
+
"EVALSHA_RO": 0,
|
|
103
|
+
"EVAL_RO": 0,
|
|
104
|
+
"EXEC": 0,
|
|
105
|
+
"FAILOVER": 0,
|
|
106
|
+
"FCALL": 0,
|
|
107
|
+
"FCALL_RO": 0,
|
|
108
|
+
"FLUSHALL": 0,
|
|
109
|
+
"FLUSHDB": 0,
|
|
110
|
+
"FUNCTION": 0,
|
|
111
|
+
"FUNCTION|DELETE": 0,
|
|
112
|
+
"FUNCTION|DUMP": 0,
|
|
113
|
+
"FUNCTION|FLUSH": 0,
|
|
114
|
+
"FUNCTION|HELP": 0,
|
|
115
|
+
"FUNCTION|KILL": 0,
|
|
116
|
+
"FUNCTION|LIST": 0,
|
|
117
|
+
"FUNCTION|LOAD": 0,
|
|
118
|
+
"FUNCTION|RESTORE": 0,
|
|
119
|
+
"FUNCTION|STATS": 0,
|
|
120
|
+
"HELLO": 0,
|
|
121
|
+
"INFO": 0,
|
|
122
|
+
"KEYS": 0,
|
|
123
|
+
"LASTSAVE": 0,
|
|
124
|
+
"LATENCY": 0,
|
|
125
|
+
"LATENCY|DOCTOR": 0,
|
|
126
|
+
"LATENCY|GRAPH": 0,
|
|
127
|
+
"LATENCY|HELP": 0,
|
|
128
|
+
"LATENCY|HISTOGRAM": 0,
|
|
129
|
+
"LATENCY|HISTORY": 0,
|
|
130
|
+
"LATENCY|LATEST": 0,
|
|
131
|
+
"LATENCY|RESET": 0,
|
|
132
|
+
"LMPOP": 0,
|
|
133
|
+
"LOLWUT": 0,
|
|
134
|
+
"MEMORY": 0,
|
|
135
|
+
"MEMORY|DOCTOR": 0,
|
|
136
|
+
"MEMORY|HELP": 0,
|
|
137
|
+
"MEMORY|MALLOC-STATS": 0,
|
|
138
|
+
"MEMORY|PURGE": 0,
|
|
139
|
+
"MEMORY|STATS": 0,
|
|
140
|
+
"MEMORY|USAGE": 2,
|
|
141
|
+
"MIGRATE": 3,
|
|
142
|
+
"MODULE": 0,
|
|
143
|
+
"MODULE|HELP": 0,
|
|
144
|
+
"MODULE|LIST": 0,
|
|
145
|
+
"MODULE|LOAD": 0,
|
|
146
|
+
"MODULE|LOADEX": 0,
|
|
147
|
+
"MODULE|UNLOAD": 0,
|
|
148
|
+
"MONITOR": 0,
|
|
149
|
+
"MULTI": 0,
|
|
150
|
+
"OBJECT": 0,
|
|
151
|
+
"OBJECT|ENCODING": 2,
|
|
152
|
+
"OBJECT|FREQ": 2,
|
|
153
|
+
"OBJECT|HELP": 0,
|
|
154
|
+
"OBJECT|IDLETIME": 2,
|
|
155
|
+
"OBJECT|REFCOUNT": 2,
|
|
156
|
+
"PFDEBUG": 2,
|
|
157
|
+
"PFSELFTEST": 0,
|
|
158
|
+
"PING": 0,
|
|
159
|
+
"PSUBSCRIBE": 0,
|
|
160
|
+
"PSYNC": 0,
|
|
161
|
+
"PUBLISH": 0,
|
|
162
|
+
"PUBSUB": 0,
|
|
163
|
+
"PUBSUB|CHANNELS": 0,
|
|
164
|
+
"PUBSUB|HELP": 0,
|
|
165
|
+
"PUBSUB|NUMPAT": 0,
|
|
166
|
+
"PUBSUB|NUMSUB": 0,
|
|
167
|
+
"PUBSUB|SHARDCHANNELS": 0,
|
|
168
|
+
"PUBSUB|SHARDNUMSUB": 0,
|
|
169
|
+
"PUNSUBSCRIBE": 0,
|
|
170
|
+
"QUIT": 0,
|
|
171
|
+
"RANDOMKEY": 0,
|
|
172
|
+
"READONLY": 0,
|
|
173
|
+
"READWRITE": 0,
|
|
174
|
+
"REPLCONF": 0,
|
|
175
|
+
"REPLICAOF": 0,
|
|
176
|
+
"RESET": 0,
|
|
177
|
+
"ROLE": 0,
|
|
178
|
+
"SAVE": 0,
|
|
179
|
+
"SCAN": 0,
|
|
180
|
+
"SCRIPT": 0,
|
|
181
|
+
"SCRIPT|DEBUG": 0,
|
|
182
|
+
"SCRIPT|EXISTS": 0,
|
|
183
|
+
"SCRIPT|FLUSH": 0,
|
|
184
|
+
"SCRIPT|HELP": 0,
|
|
185
|
+
"SCRIPT|KILL": 0,
|
|
186
|
+
"SCRIPT|LOAD": 0,
|
|
187
|
+
"SELECT": 0,
|
|
188
|
+
"SHUTDOWN": 0,
|
|
189
|
+
"SINTERCARD": 0,
|
|
190
|
+
"SLAVEOF": 0,
|
|
191
|
+
"SLOWLOG": 0,
|
|
192
|
+
"SLOWLOG|GET": 0,
|
|
193
|
+
"SLOWLOG|HELP": 0,
|
|
194
|
+
"SLOWLOG|LEN": 0,
|
|
195
|
+
"SLOWLOG|RESET": 0,
|
|
196
|
+
"SUBSCRIBE": 0,
|
|
197
|
+
"SWAPDB": 0,
|
|
198
|
+
"SYNC": 0,
|
|
199
|
+
"TIME": 0,
|
|
200
|
+
"UNSUBSCRIBE": 0,
|
|
201
|
+
"UNWATCH": 0,
|
|
202
|
+
"WAIT": 0,
|
|
203
|
+
"WAITAOF": 0,
|
|
204
|
+
"XGROUP": 0,
|
|
205
|
+
"XGROUP|CREATE": 2,
|
|
206
|
+
"XGROUP|CREATECONSUMER": 2,
|
|
207
|
+
"XGROUP|DELCONSUMER": 2,
|
|
208
|
+
"XGROUP|DESTROY": 2,
|
|
209
|
+
"XGROUP|HELP": 0,
|
|
210
|
+
"XGROUP|SETID": 2,
|
|
211
|
+
"XINFO": 0,
|
|
212
|
+
"XINFO|CONSUMERS": 2,
|
|
213
|
+
"XINFO|GROUPS": 2,
|
|
214
|
+
"XINFO|HELP": 0,
|
|
215
|
+
"XINFO|STREAM": 2,
|
|
216
|
+
"XREAD": 0,
|
|
217
|
+
"XREADGROUP": 0,
|
|
218
|
+
"ZDIFF": 0,
|
|
219
|
+
"ZINTER": 0,
|
|
220
|
+
"ZINTERCARD": 0,
|
|
221
|
+
"ZMPOP": 0,
|
|
222
|
+
"ZUNION": 0
|
|
223
|
+
},
|
|
11
224
|
"read": [
|
|
12
225
|
"BITCOUNT",
|
|
13
226
|
"BITFIELD_RO",
|
package/dist/types.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { CodeJourney } from './journey-builder.js';
|
|
1
2
|
export interface BenchIdentity {
|
|
2
3
|
name?: string | null;
|
|
3
4
|
role?: string;
|
|
@@ -25,12 +26,22 @@ export interface AuthProvider {
|
|
|
25
26
|
export interface PreviewProvider {
|
|
26
27
|
/** Run dispatch in the enrolled transaction and resolve only after rollback. */
|
|
27
28
|
preview<T>(dispatch: () => Promise<T>): Promise<T>;
|
|
29
|
+
/** Open a pinned transaction for a sequence of rollback-only requests. */
|
|
30
|
+
openSession?(): Promise<HeldPreview>;
|
|
28
31
|
/**
|
|
29
32
|
* The SQL provider id discovery reports as `database.system`: `sqlite`, `postgresql`, `mysql`,
|
|
30
33
|
* `mariadb`, `mssql` or another lower-case id, so the workbench shows that provider's mark.
|
|
31
34
|
*/
|
|
32
35
|
readonly system?: string;
|
|
33
36
|
}
|
|
37
|
+
/** A rollback-only lease. Rewinding discards this checkpoint and any later steps. */
|
|
38
|
+
export interface HeldPreview {
|
|
39
|
+
checkpoint(step: number): Promise<void>;
|
|
40
|
+
run<T>(capture: CaptureRecorder, dispatch: () => Promise<T>): Promise<T>;
|
|
41
|
+
verify(step: number): Promise<void>;
|
|
42
|
+
rewind(step: number): Promise<void>;
|
|
43
|
+
close(): Promise<void>;
|
|
44
|
+
}
|
|
34
45
|
/** The binding serving the workbench, reported as capabilities `binding`. */
|
|
35
46
|
export interface BenchBinding {
|
|
36
47
|
language: 'node';
|
|
@@ -57,8 +68,10 @@ export interface DataStore {
|
|
|
57
68
|
readonly system: string;
|
|
58
69
|
/** Describe the store for discovery. May detect the server topology on first call. */
|
|
59
70
|
describe(): Promise<DataStoreDescription>;
|
|
60
|
-
/**
|
|
61
|
-
|
|
71
|
+
/** Required in Preview mode for the host to support sessions. */
|
|
72
|
+
openSession?(): Promise<HeldPreview>;
|
|
73
|
+
/** Wrap dispatch. In a held session, a store enrolled in guard mode must stay in guard mode. */
|
|
74
|
+
around?<T>(capture: CaptureRecorder, dispatch: () => Promise<T>, mode?: 'guard'): Promise<T>;
|
|
62
75
|
/**
|
|
63
76
|
* Called once after the handler of every Preview, before the SQL rollback: capture changes and
|
|
64
77
|
* abort the store transaction. A rejection means the abort may not have happened, and the
|
|
@@ -94,10 +107,19 @@ export interface BenchOptions<Raw = unknown> {
|
|
|
94
107
|
environment?: string;
|
|
95
108
|
environments?: string[];
|
|
96
109
|
openApiUrl?: string;
|
|
110
|
+
/** The OpenAPI document served at openApiUrl. Required when registering code journeys. */
|
|
111
|
+
openApiDocument?: object;
|
|
97
112
|
documents?: {
|
|
98
113
|
name: string;
|
|
99
114
|
url: string;
|
|
100
115
|
}[];
|
|
116
|
+
/** Code workflows or Arazzo JSON files paired with sibling .expect.json files. */
|
|
117
|
+
journeys?: readonly (string | URL | CodeJourney)[];
|
|
118
|
+
/** The route ID and title for the document containing the code workflows. */
|
|
119
|
+
journeyDocument?: {
|
|
120
|
+
id?: string;
|
|
121
|
+
title?: string;
|
|
122
|
+
};
|
|
101
123
|
fieldModules?: string[];
|
|
102
124
|
/** Display name of the database, such as `PostgreSQL`. Connection strings, URLs and paths are rejected. */
|
|
103
125
|
database?: string | null;
|
|
@@ -111,6 +133,11 @@ export interface BenchOptions<Raw = unknown> {
|
|
|
111
133
|
* database the binding has no provider for is then not covered, like any unhooked client.
|
|
112
134
|
*/
|
|
113
135
|
previewProvider?: PreviewProvider;
|
|
136
|
+
/** Sessions are enabled for capable stores by default. */
|
|
137
|
+
previewSessions?: false | {
|
|
138
|
+
idleTimeoutSeconds?: number;
|
|
139
|
+
maxLifetimeSeconds?: number;
|
|
140
|
+
};
|
|
114
141
|
captureLimits?: Partial<Record<'effects' | 'logs' | 'changes' | 'bytes' | 'valueBytes', number>>;
|
|
115
142
|
maxResponseBytes?: number;
|
|
116
143
|
traceTtlMs?: number;
|
|
@@ -258,8 +285,13 @@ export interface Observation {
|
|
|
258
285
|
export type DispatchResponse = TransportResponse | {
|
|
259
286
|
unmatched: true;
|
|
260
287
|
};
|
|
288
|
+
export interface SessionAccess {
|
|
289
|
+
id: string;
|
|
290
|
+
owner: string | undefined;
|
|
291
|
+
}
|
|
261
292
|
export type LookupResponse = TransportResponse | {
|
|
262
293
|
target: string;
|
|
294
|
+
session?: SessionAccess;
|
|
263
295
|
} | null;
|
|
264
296
|
export interface PreviewOperation {
|
|
265
297
|
method: string;
|