@coopenomics/notifications 2026.8.8-2 → 2026.8.11-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.
Files changed (33) hide show
  1. package/build.config.ts +16 -0
  2. package/dist/index.cjs +1156 -199
  3. package/dist/index.d.cts +1262 -348
  4. package/dist/index.d.mts +1262 -348
  5. package/dist/index.d.ts +1262 -348
  6. package/dist/index.mjs +1156 -199
  7. package/package.json +2 -2
  8. package/src/workflows/branch-meeting-reminder/index.ts +47 -0
  9. package/src/workflows/branch-trusted-requested/index.ts +46 -0
  10. package/src/workflows/branch-trusted-resolved/index.ts +47 -0
  11. package/src/workflows/branch-voting-started/index.ts +47 -0
  12. package/src/workflows/index.ts +75 -0
  13. package/src/workflows/marketplace-aid-council-decided/index.ts +49 -0
  14. package/src/workflows/marketplace-aid-payout-confirmed/index.ts +47 -0
  15. package/src/workflows/marketplace-apl-reception-cancelled-by-supplier/index.ts +45 -0
  16. package/src/workflows/marketplace-apl-supplier-sign-request/index.ts +49 -0
  17. package/src/workflows/marketplace-cashier-new-payment/index.ts +49 -0
  18. package/src/workflows/marketplace-new-order-for-supplier/index.ts +46 -0
  19. package/src/workflows/marketplace-new-supplier-request/index.ts +47 -0
  20. package/src/workflows/marketplace-order-declined-by-supplier/index.ts +49 -0
  21. package/src/workflows/marketplace-order-ready/index.ts +47 -0
  22. package/src/workflows/marketplace-return-accepted-supplier/index.ts +51 -0
  23. package/src/workflows/marketplace-return-claim-decided/index.ts +50 -0
  24. package/src/workflows/marketplace-return-claim-finalized/index.ts +57 -0
  25. package/src/workflows/marketplace-return-claim-submitted/index.ts +50 -0
  26. package/src/workflows/marketplace-supplier-approved/index.ts +46 -0
  27. package/src/workflows/marketplace-supplier-payment-confirmed/index.ts +49 -0
  28. package/src/workflows/marketplace-supplier-payment-declined/index.ts +49 -0
  29. package/src/workflows/marketplace-writeoff-authorized/index.ts +47 -0
  30. package/src/workflows/marketplace-writeoff-draft-built/index.ts +50 -0
  31. package/src/workflows/marketplace-writeoff-executed/index.ts +47 -0
  32. package/src/workflows/marketplace-writeoff-proposed/index.ts +49 -0
  33. package/src/workflows/marketplace-writeoff-rejected/index.ts +46 -0
package/build.config.ts CHANGED
@@ -8,4 +8,20 @@ export default defineBuildConfig({
8
8
  rollup: {
9
9
  emitCJS: true,
10
10
  },
11
+ hooks: {
12
+ 'rollup:options'(_ctx, options) {
13
+ const prev = options.external
14
+ // chokidar тянет fsevents (.node) — Rollup не может их бандлить.
15
+ // devDep остаётся runtime-зависимостью только для sync --dev.
16
+ options.external = (id: string, importer?: string, isResolved?: boolean) => {
17
+ if (id === 'chokidar' || id === 'fsevents')
18
+ return true
19
+ if (typeof prev === 'function')
20
+ return (prev as (id: string, importer?: string, isResolved?: boolean) => boolean | undefined)(id, importer, isResolved)
21
+ if (Array.isArray(prev))
22
+ return prev.includes(id)
23
+ return undefined
24
+ }
25
+ },
26
+ },
11
27
  })