@antcde/connect-ts 0.4.15 → 0.4.16-rc.64ce643

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.
Files changed (68) hide show
  1. package/README.md +550 -0
  2. package/build/AntConnect.d.ts +4 -0
  3. package/build/AntConnect.d.ts.map +1 -1
  4. package/build/AntConnect.js +4 -0
  5. package/build/comms/client.d.ts.map +1 -1
  6. package/build/comms/client.js +62 -18
  7. package/build/comms/host.d.ts +5 -4
  8. package/build/comms/host.d.ts.map +1 -1
  9. package/build/comms/host.js +37 -9
  10. package/build/comms/models.d.ts +2 -1
  11. package/build/comms/models.d.ts.map +1 -1
  12. package/build/comms/signal.d.ts +112 -12
  13. package/build/comms/signal.d.ts.map +1 -1
  14. package/build/comms/signal.js +25 -9
  15. package/build/index.d.ts +14 -10
  16. package/build/index.d.ts.map +1 -1
  17. package/build/index.js +2 -1
  18. package/build/services/AppService.d.ts +1 -10
  19. package/build/services/AppService.d.ts.map +1 -1
  20. package/build/services/AppService.js +0 -1
  21. package/build/services/ColumnService.d.ts +60 -3
  22. package/build/services/ColumnService.d.ts.map +1 -1
  23. package/build/services/ColumnService.js +1 -0
  24. package/build/services/DmsService.d.ts +122 -21
  25. package/build/services/DmsService.d.ts.map +1 -1
  26. package/build/services/DmsService.js +60 -16
  27. package/build/services/LabelService.d.ts +4 -2
  28. package/build/services/LabelService.d.ts.map +1 -1
  29. package/build/services/LabelService.js +1 -1
  30. package/build/services/LicenseService.d.ts +42 -0
  31. package/build/services/LicenseService.d.ts.map +1 -1
  32. package/build/services/LicenseService.js +1 -0
  33. package/build/services/ProjectService.d.ts +20 -1
  34. package/build/services/ProjectService.d.ts.map +1 -1
  35. package/build/services/PropagationService.d.ts +128 -0
  36. package/build/services/PropagationService.d.ts.map +1 -0
  37. package/build/services/PropagationService.js +31 -0
  38. package/build/services/RBAC/PermissionService.d.ts +10 -3
  39. package/build/services/RBAC/PermissionService.d.ts.map +1 -1
  40. package/build/services/RBAC/PermissionService.js +1 -0
  41. package/build/services/RBAC/RoleService.d.ts +0 -3
  42. package/build/services/RBAC/RoleService.d.ts.map +1 -1
  43. package/build/services/RecordLockService.d.ts +132 -0
  44. package/build/services/RecordLockService.d.ts.map +1 -0
  45. package/build/services/RecordLockService.js +12 -0
  46. package/build/services/RecordService.d.ts +193 -7
  47. package/build/services/RecordService.d.ts.map +1 -1
  48. package/build/services/RecordService.js +23 -9
  49. package/build/services/TableService.d.ts +61 -16
  50. package/build/services/TableService.d.ts.map +1 -1
  51. package/build/services/TableService.js +3 -0
  52. package/build/services/TaskService.d.ts +16 -8
  53. package/build/services/TaskService.d.ts.map +1 -1
  54. package/build/services/TaskService.js +1 -3
  55. package/build/services/TaskServiceQueries.d.ts +3 -2
  56. package/build/services/TaskServiceQueries.d.ts.map +1 -1
  57. package/build/services/TaskServiceQueries.js +5 -2
  58. package/build/services/UserService.d.ts +0 -2
  59. package/build/services/UserService.d.ts.map +1 -1
  60. package/build/services/Websockets/DmsEvents.d.ts +25 -0
  61. package/build/services/Websockets/DmsEvents.d.ts.map +1 -0
  62. package/build/services/Websockets/DmsEvents.js +6 -0
  63. package/build/services/WorkflowServiceQueries.js +1 -1
  64. package/build/tsconfig.esm.tsbuildinfo +1 -1
  65. package/build/types.d.ts +169 -0
  66. package/build/types.d.ts.map +1 -1
  67. package/build/types.js +19 -1
  68. package/package.json +10 -13
package/README.md CHANGED
@@ -127,3 +127,553 @@ let projects = await antConnect.projects.getProjects()
127
127
  in the above example we fetch the projects of a given user.
128
128
 
129
129
  As we have an idea to move all projects to monorepo, maybe will be better to move to pnpm packager
130
+
131
+ ## queryTables Examples
132
+
133
+ The `queryTables` method lets you query one or more tables in a single request via `connect.tables.queryTables(query)`.
134
+
135
+ ### 1. Select all columns
136
+
137
+ ```typescript
138
+ const query: TablesQuery = {
139
+ tables: [{
140
+ name: 'EMPLOYEES',
141
+ project: projectId,
142
+ as: 'employees',
143
+ columns: ['*'],
144
+ }],
145
+ }
146
+ ```
147
+
148
+ ### 2. Specific columns, no filter
149
+
150
+ ```typescript
151
+ const query: TablesQuery = {
152
+ tables: [{
153
+ name: 'EMPLOYEES',
154
+ project: projectId,
155
+ as: 'employees',
156
+ columns: [
157
+ { name: 'first_name' },
158
+ { name: 'last_name' },
159
+ { name: 'department' },
160
+ ],
161
+ }],
162
+ }
163
+ ```
164
+
165
+ ### 3. Equality condition
166
+
167
+ ```typescript
168
+ const query: TablesQuery = {
169
+ tables: [{
170
+ name: 'EMPLOYEES',
171
+ project: projectId,
172
+ as: 'employees',
173
+ columns: [
174
+ {
175
+ name: 'department',
176
+ conditions: [{ operator: '=', value: 'Engineering' }],
177
+ },
178
+ { name: 'first_name' },
179
+ { name: 'last_name' },
180
+ ],
181
+ }],
182
+ }
183
+ ```
184
+
185
+ ### 4. IN query — match multiple values
186
+
187
+ ```typescript
188
+ const query: TablesQuery = {
189
+ tables: [{
190
+ name: 'EMPLOYEES',
191
+ project: projectId,
192
+ as: 'employees',
193
+ columns: [
194
+ {
195
+ name: 'status',
196
+ conditions: [{ operator: 'in', value: ['active', 'on_leave', 'probation'] }],
197
+ },
198
+ { name: 'first_name' },
199
+ { name: 'last_name' },
200
+ { name: 'department' },
201
+ ],
202
+ }],
203
+ }
204
+ ```
205
+
206
+ ### 5. Multiple conditions (AND)
207
+
208
+ ```typescript
209
+ const query: TablesQuery = {
210
+ tables: [{
211
+ name: 'EMPLOYEES',
212
+ project: projectId,
213
+ as: 'employees',
214
+ columns: [
215
+ {
216
+ name: 'department',
217
+ conditions: [{ operator: '=', value: 'Engineering' }],
218
+ },
219
+ {
220
+ name: 'status',
221
+ conditions: [{ operator: 'in', value: ['active', 'probation'] }],
222
+ },
223
+ { name: 'first_name' },
224
+ { name: 'last_name' },
225
+ ],
226
+ }],
227
+ }
228
+ ```
229
+
230
+ ### 6. Pagination + sorting
231
+
232
+ ```typescript
233
+ const query: TablesQuery = {
234
+ limit: 25,
235
+ offset: 50,
236
+ tables: [{
237
+ name: 'EMPLOYEES',
238
+ project: projectId,
239
+ as: 'employees',
240
+ columns: ['*'],
241
+ sortBy: 'last_name',
242
+ sortByOrder: 'asc',
243
+ }],
244
+ }
245
+ ```
246
+
247
+ ### 7. Multiple tables in one request
248
+
249
+ ```typescript
250
+ const query: TablesQuery = {
251
+ tables: [
252
+ {
253
+ name: 'DEPARTMENTS',
254
+ project: projectId,
255
+ as: 'departments',
256
+ columns: ['*'],
257
+ },
258
+ {
259
+ name: 'EMPLOYEES',
260
+ project: projectId,
261
+ as: 'employees',
262
+ columns: [
263
+ {
264
+ name: 'status',
265
+ conditions: [{ operator: 'in', value: ['active'] }],
266
+ },
267
+ { name: 'first_name' },
268
+ { name: 'last_name' },
269
+ { name: 'department' },
270
+ ],
271
+ },
272
+ ],
273
+ }
274
+ ```
275
+
276
+ ### Reading results
277
+
278
+ ```typescript
279
+ const response = await connect.tables.queryTables(query)
280
+
281
+ const departments = response.departments.records // records array
282
+ const employees = response.employees.records
283
+ const totalEmployees = response.employees.stats.count
284
+ ```
285
+
286
+ ### Supported condition operators
287
+
288
+ `=`, `!=`, `>`, `<`, `>=`, `<=`, `like`, `in`, `not in`, `between`, `not between`, `is null`, `is not null`
289
+
290
+ For `in` / `not in`, pass `value` as an array: `value: ['a', 'b']`.
291
+ For `between` / `not between`, pass a two-element array: `value: [10, 50]`.
292
+
293
+ ---
294
+
295
+ ## Task Query Parameters
296
+
297
+ Documentation for the `query` parameter in `TaskService.getV2Tasks()`.
298
+
299
+ **Backend**: Uses [Laravel Purity](https://github.com/abbasudo/purity) for filtering with Spatie QueryBuilder.
300
+
301
+ ### Query Structure
302
+
303
+ ```typescript
304
+ interface TaskQuery {
305
+ filters?: FilterObject
306
+ fields?: FieldsObject
307
+ include?: string // comma-separated relations
308
+ per_page?: number // pagination limit (default: 10)
309
+ page?: number // current page (1-indexed)
310
+ sort?: string[] // sort fields
311
+ is_task?: boolean // filter tasks vs workflows (default: true)
312
+ }
313
+ ```
314
+
315
+ ### Filters
316
+
317
+ #### Filter Operators (Laravel Purity)
318
+
319
+ | Operator | Description | Example |
320
+ |----------|-------------|---------|
321
+ | `$eq` | Equal | `{ status: { $eq: 'open' } }` |
322
+ | `$ne` | Not equal | `{ status: { $ne: 'closed' } }` |
323
+ | `$gt` | Greater than | `{ progress: { $gt: 50 } }` |
324
+ | `$lt` | Less than | `{ progress: { $lt: 100 } }` |
325
+ | `$gte` | Greater than or equal | `{ due: { $gte: '2024-01-01' } }` |
326
+ | `$lte` | Less than or equal | `{ due: { $lte: '2024-12-31' } }` |
327
+ | `$in` | In array (OR) | `{ status: { $in: ['open', 'processing'] } }` |
328
+ | `$notIn` | Not in array | `{ status: { $notIn: ['closed', 'canceled'] } }` |
329
+ | `$contains` | Contains substring (case-insensitive) | `{ title: { $contains: 'bug' } }` |
330
+ | `$notContains` | Does not contain | `{ title: { $notContains: 'test' } }` |
331
+ | `$containss` | Contains (case-sensitive) | `{ title: { $containss: 'BUG' } }` |
332
+ | `$notContainss` | Not contains (case-sensitive) | `{ title: { $notContainss: 'TEST' } }` |
333
+ | `$startsWith` | Starts with (case-insensitive) | `{ title: { $startsWith: 'task-' } }` |
334
+ | `$startsWiths` | Starts with (case-sensitive) | `{ title: { $startsWiths: 'TASK-' } }` |
335
+ | `$endsWith` | Ends with (case-insensitive) | `{ title: { $endsWith: '-urgent' } }` |
336
+ | `$endsWiths` | Ends with (case-sensitive) | `{ title: { $endsWiths: '-URGENT' } }` |
337
+ | `$eqs` | Equal (case-sensitive) | `{ title: { $eqs: 'Exact Match' } }` |
338
+ | `$between` | Between two values | `{ progress: { $between: [25, 75] } }` |
339
+ | `$notBetween` | Not between | `{ progress: { $notBetween: [0, 10] } }` |
340
+ | `$null` | Is null | `{ assigned_to: { $null: true } }` |
341
+ | `$notNull` | Is not null | `{ assigned_to: { $notNull: true } }` |
342
+ | `$doesntHave` | Relation doesn't exist | `{ type: { $doesntHave: true } }` |
343
+
344
+ #### Logical Operators
345
+
346
+ | Operator | Description | Example |
347
+ |----------|-------------|---------|
348
+ | `$or` | OR condition (array of conditions) | `{ $or: [{ status: { $eq: 'open' } }, { status: { $eq: 'processing' } }] }` |
349
+ | `$and` | AND condition (array of conditions) | `{ $and: [{ priority: { $eq: 'high' } }, { status: { $eq: 'open' } }] }` |
350
+
351
+ #### Combining Operators
352
+
353
+ Multiple operators can be combined on the same field:
354
+
355
+ ```typescript
356
+ {
357
+ status: {
358
+ $in: ['open', 'processing'], // include these
359
+ $notIn: ['failed'] // but exclude this
360
+ }
361
+ }
362
+ ```
363
+
364
+ #### Nested Relation Filters
365
+
366
+ Filter on related models:
367
+
368
+ ```typescript
369
+ {
370
+ filters: {
371
+ relationsToMe: {
372
+ source_id: { $eq: taskId }
373
+ }
374
+ }
375
+ }
376
+ ```
377
+
378
+ ### Filterable Task Fields
379
+
380
+ These fields are defined in the backend `Task` model's `$filterFields`:
381
+
382
+ | Field | Type | Description |
383
+ |-------|------|-------------|
384
+ | `id` | uuid | Task UUID |
385
+ | `title` | string | Task title |
386
+ | `description` | string | Task description |
387
+ | `number` | integer | Task number |
388
+ | `status` | enum | `'open'`, `'closed'`, `'canceled'`, `'processing'`, `'executed'`, `'failed'`, `'inactive'` |
389
+ | `priority` | enum | `'low'`, `'normal'`, `'high'`, `'urgent'` |
390
+ | `planned_start` | datetime | Planned start date |
391
+ | `planned_end` | datetime | Planned end date |
392
+ | `due` | datetime | Due date |
393
+ | `license` | uuid | License UUID |
394
+ | `parent` | uuid | Parent task UUID |
395
+ | `project` | uuid | Project UUID |
396
+ | `type` | relation | Task type relation |
397
+ | `sbscode` | string | SBS code reference |
398
+ | `assigned_to` | uuid | Assigned user UUID |
399
+ | `taskProject` | relation | Project relation |
400
+ | `is_private` | boolean | Private task flag |
401
+ | `is_task` | boolean | Is task (vs workflow) |
402
+ | `is_locked` | boolean | Locked task flag |
403
+ | `relations` | relation | Outgoing task relations |
404
+ | `relationsToMe` | relation | Incoming task relations |
405
+
406
+ #### Special Filter Fields
407
+
408
+ | Field | Type | Description |
409
+ |-------|------|-------------|
410
+ | `label_ids` | array | Array of label UUIDs to filter by |
411
+ | `label_operator` | string | `'and'` (all labels) or `'or'` (any label) - default: `'and'` |
412
+
413
+ **Note**: Label filters are processed separately from Purity filters.
414
+
415
+ ### Selectable Fields
416
+
417
+ Fields that can be requested via `fields` parameter:
418
+
419
+ ```
420
+ id, title, description, number, status, priority, planned_start, planned_end,
421
+ due, project, license, parent, sbscode, assigned_to, created_by, position_x,
422
+ position_y, is_private, is_task, is_locked, script, trigger_id
423
+ ```
424
+
425
+ ### Include (Relations)
426
+
427
+ Load related resources. Defined in `TaskQueryBuilder::getRelations()`:
428
+
429
+ ```typescript
430
+ {
431
+ include: 'taskProject,labels,children,assignedTo,trigger,trigger.event'
432
+ }
433
+ ```
434
+
435
+ #### Available Relations
436
+
437
+ | Relation | Model | Description |
438
+ |----------|-------|-------------|
439
+ | `taskProject` | Project | Associated project |
440
+ | `parentTask` | Task | Parent task |
441
+ | `children` | Task | Child tasks |
442
+ | `activities` | TaskActivity | Activity log entries |
443
+ | `createdBy` | User | User who created the task |
444
+ | `assignedTo` | User | Assigned user |
445
+ | `activities.activityUser` | User | Activity log with users |
446
+ | `labels` | LabelOs | Task labels (V2) |
447
+ | `attachments` | TaskFile | File attachments |
448
+ | `checks` | TaskCheck | Checklist items |
449
+ | `type` | TaskType | Task type |
450
+ | `sbsObject` | SbsRecord | SBS code record |
451
+ | `relations` | TaskRelation | Outgoing relations |
452
+ | `relations.queries` | TableQuery | Relation queries |
453
+ | `relationsToMe` | TaskRelation | Incoming relations |
454
+ | `rules` | TaskRule | Task rules |
455
+ | `rules.resource` | User/Role | Rule resources |
456
+ | `app` | ResourceApp | Associated app |
457
+ | `trigger` | Trigger | Associated trigger |
458
+ | `trigger.event` | Event | Trigger's event |
459
+ | `assignableUsers` | (computed) | Users that can be assigned |
460
+
461
+ **Note**: `assignableUsers` is a computed property, not a true relation. It's handled specially.
462
+
463
+ ### Pagination
464
+
465
+ ```typescript
466
+ {
467
+ per_page: 200, // items per page (default: 10)
468
+ page: 1 // page number (1-indexed)
469
+ }
470
+ ```
471
+
472
+ Without pagination params, all results are returned via `->get()`.
473
+ With pagination params, results use `->simplePaginate()`.
474
+
475
+ ### Sorting
476
+
477
+ Uses Spatie QueryBuilder sorting:
478
+
479
+ ```typescript
480
+ {
481
+ sort: ['created_at'] // ascending
482
+ sort: ['-created_at'] // descending (prefix with -)
483
+ sort: ['priority', '-due'] // multiple fields
484
+ }
485
+ ```
486
+
487
+ ### Complete Example
488
+
489
+ ```typescript
490
+ import qs from 'qs'
491
+
492
+ const query = qs.stringify({
493
+ filters: {
494
+ status: { $in: ['open', 'processing'] },
495
+ priority: { $notIn: ['low'] },
496
+ project: { $eq: projectId },
497
+ title: { $contains: 'bug' },
498
+ $or: [
499
+ { assigned_to: { $eq: null } },
500
+ { assigned_to: { $eq: currentUserId } }
501
+ ],
502
+ label_ids: ['label-uuid-1', 'label-uuid-2'],
503
+ label_operator: 'or'
504
+ },
505
+ fields: {
506
+ 'tasks': 'id,title,status,priority,due',
507
+ 'taskProject': 'id,name',
508
+ 'labels': 'id,name,color'
509
+ },
510
+ include: 'taskProject,labels,assignedTo',
511
+ per_page: 50,
512
+ page: 1,
513
+ sort: ['-priority', 'due']
514
+ })
515
+
516
+ const tasks = await taskService.getV2Tasks(licenseId, query)
517
+ ```
518
+
519
+ ### URL Encoding
520
+
521
+ Use `qs.stringify()` for proper encoding:
522
+
523
+ ```typescript
524
+ import qs from 'qs'
525
+
526
+ // Basic usage
527
+ const query = qs.stringify(params)
528
+
529
+ // With options for complex queries
530
+ const query = qs.stringify(params, {
531
+ encodeValuesOnly: true, // don't encode bracket keys
532
+ arrayFormat: 'brackets' // arrays as foo[]=a&foo[]=b
533
+ })
534
+ ```
535
+
536
+ ### Response Format
537
+
538
+ #### Paginated Response
539
+
540
+ ```typescript
541
+ {
542
+ data: Task[],
543
+ links: {
544
+ first: string | null,
545
+ last: string | null,
546
+ prev: string | null,
547
+ next: string | null
548
+ },
549
+ meta: {
550
+ current_page: number,
551
+ from: number,
552
+ path: string,
553
+ per_page: number,
554
+ to: number
555
+ }
556
+ }
557
+ ```
558
+
559
+ #### Non-Paginated Response
560
+
561
+ ```typescript
562
+ {
563
+ data: Task[]
564
+ }
565
+ ```
566
+
567
+ ---
568
+
569
+ ## Resource Signals
570
+
571
+ Arbitrary resource signals let apps send and receive domain-specific events (e.g., `cat`, `homeowner`, `invoice`) without modifying the core `ChangeSignal` types. Signals are distributed locally across split-screen apps and can optionally be backed by WebSocket (Echo) for backend-driven events.
572
+
573
+ ### Recipe 1: Local — send & receive across all apps
574
+
575
+ All split-screen apps receive the signal via the OS redistribution watcher. No backend needed.
576
+
577
+ #### Send
578
+
579
+ ```typescript
580
+ const { signal } = comms
581
+
582
+ signal.send({
583
+ resource: {
584
+ cat: {
585
+ id: crypto.randomUUID().slice(0, 8),
586
+ action: 'created',
587
+ data: { sound: 'meow', volume: 'loud' },
588
+ },
589
+ },
590
+ })
591
+ ```
592
+
593
+ #### Receive (raw — no Echo subscription)
594
+
595
+ ```typescript
596
+ signal.receive((s) => {
597
+ const cat = s.resource?.cat
598
+ if (cat) {
599
+ console.log(cat.id, cat.action, cat.data)
600
+ }
601
+ })
602
+ ```
603
+
604
+ #### Receive (with — also sets up Echo subscription)
605
+
606
+ ```typescript
607
+ // Also sends an `observe` signal → host subscribes to Echo channel
608
+ signal.with('cat').receive((cause) => {
609
+ console.log(cause.id, cause.action, cause.data)
610
+ })
611
+ ```
612
+
613
+ > **`signal.send()` is local only** — it never touches the backend/socket.
614
+ > The OS redistribution watcher forwards it to all other split-screen apps.
615
+ >
616
+ > `signal.receive()` catches all signals (local + Echo-backed).
617
+ > `signal.with('cat').receive()` filters for `cat` AND subscribes to the Echo channel for backend events.
618
+
619
+ ### Recipe 2: Over Socket (Echo-backed) — backend broadcasts to all clients
620
+
621
+ The backend broadcasts a `ResourceChanged` event on `App.Project.{id}.Resources`. All apps subscribed to that channel receive it.
622
+
623
+ #### Receive (project-scoped)
624
+
625
+ ```typescript
626
+ const { signal, context } = comms
627
+
628
+ watch(context, ({ project }, _, onCleanup) => {
629
+ if (project) {
630
+ onCleanup(
631
+ signal.with('cat', undefined, undefined, ['project']).receive((cause) => {
632
+ // cause.meta?.source === 'timeseries' (from Echo)
633
+ console.log(cause.id, cause.action, cause.data)
634
+ })
635
+ )
636
+ }
637
+ })
638
+ ```
639
+
640
+ #### What happens under the hood
641
+
642
+ 1. `signal.with('cat', ..., ['project'])` sends an `observe` signal to the host
643
+ 2. Host calls `newSignalEchoAdapter` → subscribes to `App.Project.{projectId}.Resources`
644
+ 3. Backend broadcasts `resource.cat.created` / `resource.cat.updated` on that channel
645
+ 4. Echo adapter receives it → sends signal back to the iframe client
646
+ 5. `cause.meta.source` is `'timeseries'`
647
+
648
+ #### Backend: broadcast via `ResourceChanged` (`app/Events/ResourceChanged.php`)
649
+
650
+ ```php
651
+ // Project-scoped — broadcasts on App.Project.{id}.Resources
652
+ broadcast(ResourceChanged::forProject(
653
+ projectId: $projectId,
654
+ resource: 'cat',
655
+ id: $catId,
656
+ action: 'updated',
657
+ data: ['sound' => 'purrr'],
658
+ ))->toOthers();
659
+
660
+ // License-scoped — broadcasts on App.License.{id}.Resources
661
+ broadcast(ResourceChanged::forLicense(
662
+ licenseId: $licenseId,
663
+ resource: 'cat',
664
+ id: $catId,
665
+ action: 'created',
666
+ data: ['sound' => 'meow'],
667
+ ))->toOthers();
668
+
669
+ // broadcastAs() returns "resource.cat.updated" / "resource.cat.created"
670
+ // broadcastWith() returns { resource, id, action, data }
671
+ ```
672
+
673
+ ### Summary
674
+
675
+ | Method | Distribution | Backend needed? | Use case |
676
+ |--------|-------------|----------------|----------|
677
+ | `signal.send()` + `signal.receive()` | Local (all split-screen apps) | No | App-to-app communication |
678
+ | `signal.with('cat').receive()` | Echo-backed | Yes — backend broadcasts | Backend-driven (default scope) |
679
+ | `signal.with('cat', ..., ['project']).receive()` | Echo-backed (project-scoped) | Yes | Backend-driven real-time updates |
@@ -10,8 +10,10 @@ import type LicenseService from './services/LicenseService';
10
10
  import type NotificationService from './services/Notifications/NotificationService';
11
11
  import type { ProjectUserService } from './services/Project/ProjectUserService';
12
12
  import type ProjectService from './services/ProjectService';
13
+ import type PropagationService from './services/PropagationService';
13
14
  import type { RBACPermissionService } from './services/RBAC/PermissionService';
14
15
  import type { RBACRoleService } from './services/RBAC/RoleService';
16
+ import type RecordLockService from './services/RecordLockService';
15
17
  import type RecordService from './services/RecordService';
16
18
  import type { ResellerService } from './services/ResellerService';
17
19
  import type RevisionService from './services/RevisionService';
@@ -41,6 +43,7 @@ export interface AntConnect {
41
43
  readonly licenses: LicenseService;
42
44
  readonly projects: ProjectService;
43
45
  readonly records: RecordService;
46
+ readonly recordLocks: RecordLockService;
44
47
  readonly revisions: RevisionService;
45
48
  readonly sbs: SbsService;
46
49
  readonly tables: TableService;
@@ -64,6 +67,7 @@ export interface AntConnect {
64
67
  readonly webhookEvents: EventService;
65
68
  readonly webhookConfig: ConfigService;
66
69
  readonly notifications: NotificationService;
70
+ readonly propagations: PropagationService;
67
71
  }
68
72
  export declare function newAntConnect(httpClient: AntHttpClient): AntConnect;
69
73
  export declare function newCommunityAntConnect(httpClient: AntHttpClient): PartialAntConnect;
@@ -1 +1 @@
1
- {"version":3,"file":"AntConnect.d.ts","sourceRoot":"","sources":["../src/AntConnect.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AACpD,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAA;AACnD,OAAO,KAAK,aAAa,MAAM,0BAA0B,CAAA;AACzD,OAAO,KAAK,aAAa,MAAM,0BAA0B,CAAA;AACzD,OAAO,KAAK,UAAU,MAAM,uBAAuB,CAAA;AACnD,OAAO,KAAK,eAAe,MAAM,4BAA4B,CAAA;AAC7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,KAA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Q,CAAC,CAAC,SAAS,MAAM,EAAE,KAAK,EAAE,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAQ7E"}
@@ -9,8 +9,10 @@ import { newLicenseService } from './services/LicenseService';
9
9
  import { newNotificationService } from './services/Notifications/NotificationService';
10
10
  import { newProjectUserService } from './services/Project/ProjectUserService';
11
11
  import { newProjectService } from './services/ProjectService';
12
+ import { newPropagationService } from './services/PropagationService';
12
13
  import { newRBACPermissionService } from './services/RBAC/PermissionService';
13
14
  import { newRBACRoleService } from './services/RBAC/RoleService';
15
+ import { newRecordLockService } from './services/RecordLockService';
14
16
  import { newRecordService } from './services/RecordService';
15
17
  import { newResellerService } from './services/ResellerService';
16
18
  import { newRevisionService } from './services/RevisionService';
@@ -38,6 +40,7 @@ export function newAntConnect(httpClient) {
38
40
  queue: newLaravelQueueService(httpClient),
39
41
  licenses: newLicenseService(httpClient),
40
42
  records: newRecordService(httpClient),
43
+ recordLocks: newRecordLockService(httpClient),
41
44
  revisions: newRevisionService(httpClient),
42
45
  sbs: newSbsService(httpClient),
43
46
  tables: newTableService(httpClient),
@@ -61,6 +64,7 @@ export function newAntConnect(httpClient) {
61
64
  webhookEvents: createEventService(httpClient),
62
65
  webhookConfig: createConfigService(httpClient),
63
66
  notifications: newNotificationService(httpClient),
67
+ propagations: newPropagationService(httpClient),
64
68
  };
65
69
  }
66
70
  export function newCommunityAntConnect(httpClient) {
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/comms/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAA;AAC/C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAA;AACtC,OAAO,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AACxE,OAAO,KAAK,EAAE,cAAc,EAAE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