@fabrika/check 0.4.8 → 0.5.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fabrika/check",
3
- "version": "0.4.8",
3
+ "version": "0.5.1",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -46,11 +46,11 @@
46
46
  },
47
47
  "dependencies": {
48
48
  "@babel/parser": "8.0.7",
49
- "@fabrika/app": "0.4.8",
50
- "@fabrika/auth-core": "0.4.8",
51
- "@fabrika/db": "0.4.8",
52
- "@fabrika/operations-contract": "0.4.8",
53
- "@fabrika/platform-node": "0.4.8",
49
+ "@fabrika/app": "0.5.1",
50
+ "@fabrika/auth-core": "0.5.1",
51
+ "@fabrika/db": "0.5.1",
52
+ "@fabrika/operations-contract": "0.5.1",
53
+ "@fabrika/platform-node": "0.5.1",
54
54
  "zod": "^3.25.76"
55
55
  }
56
56
  }
@@ -708,6 +708,8 @@ function declared(options: Entries): DeclaredDeclaration {
708
708
  unscoped: plain(options.get('unscoped')),
709
709
  connect: plain(options.get('connect')),
710
710
  issues: plain(options.get('issues')),
711
+ then: plain(options.get('then')),
712
+ mailer: plain(options.get('mailer')),
711
713
  })
712
714
  }
713
715
 
@@ -732,7 +734,8 @@ function plain(value: LiteralValue | undefined): unknown {
732
734
  }
733
735
  }
734
736
 
735
- const DECLARED_ALLOWED = "sql: 'read' | 'write', unscoped: { <table>: 'read' | 'write' }, connect: ['<import>'], issues: '<link mount>'"
737
+ const DECLARED_ALLOWED =
738
+ "sql: 'read' | 'write', unscoped: { <table>: 'read' | 'write' }, connect: ['<import>'], issues: '<link mount>', then: '<cron job>', mailer: 'installation' | 'own'"
736
739
 
737
740
  /** A builder of the kit read as the `defineContract` builder of the same name, which builds the same declaration. */
738
741
  const asSurface = (builder: BuilderValue): LiteralValue => ({