@reventlessdev/reventless-infra 3.0.0-alpha.86 → 3.0.0-alpha.87
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/CHANGELOG.md +7 -0
- package/package.json +2 -2
- package/src/components/Api.res +3 -3
- package/src/components/Plugin.res +8 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# 3.0.0-alpha.87 (2026-07-05)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* @[@reventless](https://github.com/reventless).systemCallable slice opt-in for deploy-time system callers ([c5ed537](https://github.com/ReventlessDev/reventless-core/commit/c5ed537309f8e4b7d4a4d4af1ed1ec83d060aea3))
|
|
11
|
+
|
|
12
|
+
|
|
6
13
|
# 3.0.0-alpha.86 (2026-07-05)
|
|
7
14
|
|
|
8
15
|
### Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reventlessdev/reventless-infra",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.87",
|
|
4
4
|
"description": "Infrastructure types for Reventless framework",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"dependencies": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"@reventlessdev/rescript-effect": "0.1.0-alpha.24",
|
|
11
11
|
"@reventlessdev/rescript-pulumi-pulumi": "2.3.0-alpha.14",
|
|
12
12
|
"@reventlessdev/rescript-uuid": "1.1.0-alpha.13",
|
|
13
|
-
"@reventlessdev/reventless-spec": "3.0.0-alpha.
|
|
13
|
+
"@reventlessdev/reventless-spec": "3.0.0-alpha.65"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"rescript": "^12.3.0"
|
package/src/components/Api.res
CHANGED
|
@@ -54,7 +54,7 @@ type mutationSchemaEntry = {
|
|
|
54
54
|
field — only fields a system caller actually invokes should set this, and
|
|
55
55
|
the IAM principal must be scoped by the API resource policy / deploy-role
|
|
56
56
|
policy (see `docs/guides/appsync-iam-system-caller.md`). Default `false`. */
|
|
57
|
-
|
|
57
|
+
systemCallable?: bool,
|
|
58
58
|
description?: string,
|
|
59
59
|
linkedViews?: array<string>,
|
|
60
60
|
consistencyRead?: string,
|
|
@@ -88,9 +88,9 @@ type querySchemaEntry = {
|
|
|
88
88
|
permission?: Reventless.Authorization.permission,
|
|
89
89
|
/** Opt the single-id and list query fields into deploy-time IAM (SigV4)
|
|
90
90
|
invocation in addition to their Cognito authorization. See
|
|
91
|
-
`mutationSchemaEntry.
|
|
91
|
+
`mutationSchemaEntry.systemCallable` for the emitted directive form and
|
|
92
92
|
scoping requirements. Default `false`. */
|
|
93
|
-
|
|
93
|
+
systemCallable?: bool,
|
|
94
94
|
excludeFields?: array<string>,
|
|
95
95
|
description?: string,
|
|
96
96
|
includeIdParam?: bool,
|
|
@@ -58,6 +58,14 @@ module type T = {
|
|
|
58
58
|
~automationSlices: array<module(AutomationSlice.T)>=?,
|
|
59
59
|
~outboundTranslationSlices: array<module(OutboundTranslationSlice.T)>=?,
|
|
60
60
|
~inboundTranslationSlices: array<module(InboundTranslationSlice.T)>=?,
|
|
61
|
+
/** Spec names of StateChangeSlices / StateViewSlices whose GraphQL fields a
|
|
62
|
+
deploy-time system caller (SigV4 / IAM) must invoke. Sets
|
|
63
|
+
`systemCallable: true` on the matching mutation / query schema entries so
|
|
64
|
+
the AWS provider emits the dual-auth
|
|
65
|
+
`@aws_cognito_user_pools(...) @aws_iam` directive form. Authored via
|
|
66
|
+
`@@reventless.systemCallable` on the spec file and threaded here by the
|
|
67
|
+
plugin generator; see `docs/guides/appsync-iam-system-caller.md`. */
|
|
68
|
+
~systemCallableComponents: array<string>=?,
|
|
61
69
|
~uiFragments: Reventless.Plugin.uiFragmentManifest=?,
|
|
62
70
|
~pluginStructure: Reventless.Plugin.pluginStructure=?,
|
|
63
71
|
~opts: Pulumi.ComponentResource.options=?,
|