@drawbridge/components 0.1.12 → 0.1.13

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.
@@ -300,6 +300,9 @@ const TemplateSocketOrganization = ({
300
300
  queryClient.invalidateQueries({
301
301
  queryKey: ["organization-workflow", params.organization]
302
302
  });
303
+ queryClient.invalidateQueries({
304
+ queryKey: ["organization-affiliate-campaigns"]
305
+ });
303
306
  },
304
307
  // A sending domain or SMS number changed state without the browser
305
308
  // asking. Registration is asynchronous — the api writes the row and
@@ -468,6 +471,33 @@ const TemplateSocketOrganization = ({
468
471
  queryClient.invalidateQueries({
469
472
  queryKey: ["organization-members", params.organization]
470
473
  });
474
+ queryClient.invalidateQueries({
475
+ queryKey: ["organization-analytics"]
476
+ });
477
+ queryClient.invalidateQueries({
478
+ queryKey: ["organization-brands", params.organization]
479
+ });
480
+ queryClient.invalidateQueries({
481
+ queryKey: ["organization-brand"]
482
+ });
483
+ queryClient.invalidateQueries({
484
+ queryKey: ["organization-affiliates", params.organization]
485
+ });
486
+ queryClient.invalidateQueries({
487
+ queryKey: ["organization-affiliate"]
488
+ });
489
+ queryClient.invalidateQueries({
490
+ queryKey: ["organization-affiliate-campaigns"]
491
+ });
492
+ queryClient.invalidateQueries({
493
+ queryKey: ["list-resource", "affiliate"]
494
+ });
495
+ queryClient.invalidateQueries({
496
+ queryKey: ["campaign-advertisements", params.organization]
497
+ });
498
+ queryClient.invalidateQueries({
499
+ queryKey: ["organization-campaign-advertisement"]
500
+ });
471
501
  },
472
502
  // @story workflows/list
473
503
  // Sync emits this on every workflow status change, on delete, and when
@@ -534,6 +564,7 @@ const TemplateSocketOrganization = ({
534
564
  ["organization-segments", params == null ? void 0 : params.organization],
535
565
  ["organization-affiliates", params == null ? void 0 : params.organization],
536
566
  ["organization-analytics"],
567
+ ["organization-affiliate-campaigns"],
537
568
  ["list-resource", "affiliate"],
538
569
  ["menu", "organization", params == null ? void 0 : params.organization],
539
570
  ["menu", "campaign", params == null ? void 0 : params.organization]
@@ -265,6 +265,9 @@ const TemplateSocketOrganization = ({
265
265
  queryClient.invalidateQueries({
266
266
  queryKey: ["organization-workflow", params.organization]
267
267
  });
268
+ queryClient.invalidateQueries({
269
+ queryKey: ["organization-affiliate-campaigns"]
270
+ });
268
271
  },
269
272
  // A sending domain or SMS number changed state without the browser
270
273
  // asking. Registration is asynchronous — the api writes the row and
@@ -433,6 +436,33 @@ const TemplateSocketOrganization = ({
433
436
  queryClient.invalidateQueries({
434
437
  queryKey: ["organization-members", params.organization]
435
438
  });
439
+ queryClient.invalidateQueries({
440
+ queryKey: ["organization-analytics"]
441
+ });
442
+ queryClient.invalidateQueries({
443
+ queryKey: ["organization-brands", params.organization]
444
+ });
445
+ queryClient.invalidateQueries({
446
+ queryKey: ["organization-brand"]
447
+ });
448
+ queryClient.invalidateQueries({
449
+ queryKey: ["organization-affiliates", params.organization]
450
+ });
451
+ queryClient.invalidateQueries({
452
+ queryKey: ["organization-affiliate"]
453
+ });
454
+ queryClient.invalidateQueries({
455
+ queryKey: ["organization-affiliate-campaigns"]
456
+ });
457
+ queryClient.invalidateQueries({
458
+ queryKey: ["list-resource", "affiliate"]
459
+ });
460
+ queryClient.invalidateQueries({
461
+ queryKey: ["campaign-advertisements", params.organization]
462
+ });
463
+ queryClient.invalidateQueries({
464
+ queryKey: ["organization-campaign-advertisement"]
465
+ });
436
466
  },
437
467
  // @story workflows/list
438
468
  // Sync emits this on every workflow status change, on delete, and when
@@ -499,6 +529,7 @@ const TemplateSocketOrganization = ({
499
529
  ["organization-segments", params == null ? void 0 : params.organization],
500
530
  ["organization-affiliates", params == null ? void 0 : params.organization],
501
531
  ["organization-analytics"],
532
+ ["organization-affiliate-campaigns"],
502
533
  ["list-resource", "affiliate"],
503
534
  ["menu", "organization", params == null ? void 0 : params.organization],
504
535
  ["menu", "campaign", params == null ? void 0 : params.organization]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drawbridge/components",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "exports": {
5
5
  "./advertisement": {
6
6
  "types": "./types/advertisement.d.ts",