@anthusai/papyrus 5.112.1-next.1 → 5.112.1-next.3
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/amplify/data/resource.js
CHANGED
|
@@ -1113,6 +1113,7 @@ const schema = a.schema({
|
|
|
1113
1113
|
assignmentId: a.id(),
|
|
1114
1114
|
maxCharacters: a.integer(),
|
|
1115
1115
|
optionalPublicationDoctrine: a.boolean(),
|
|
1116
|
+
tenantId: a.string(), // an IAM caller (the editorial-checks function) names its tenant; a signed-in caller's comes from its token
|
|
1116
1117
|
})
|
|
1117
1118
|
.returns(a.json().required())
|
|
1118
1119
|
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
package/amplify/data/resource.ts
CHANGED
|
@@ -1218,6 +1218,7 @@ const schema = a.schema({
|
|
|
1218
1218
|
assignmentId: a.id(),
|
|
1219
1219
|
maxCharacters: a.integer(),
|
|
1220
1220
|
optionalPublicationDoctrine: a.boolean(),
|
|
1221
|
+
tenantId: a.string(), // an IAM caller (the editorial-checks function) names its tenant; a signed-in caller's comes from its token
|
|
1221
1222
|
})
|
|
1222
1223
|
.returns(a.json().required())
|
|
1223
1224
|
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
package/package.json
CHANGED
package/routes.manifest.json
CHANGED