You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"description": "UserGroups holds the value of the user_groups edge.",
3749
+
"type": "array",
3750
+
"items": {
3751
+
"$ref": "#/definitions/ent.UserGroup"
3752
+
}
3753
+
},
3721
3754
"users": {
3722
3755
"description": "Users holds the value of the users edge.",
3723
3756
"type": "array",
@@ -4097,14 +4130,6 @@ const docTemplate = `{
4097
4130
"description": "OidcSubject holds the value of the \"oidc_subject\" field.",
4098
4131
"type": "string"
4099
4132
},
4100
-
"role": {
4101
-
"description": "Role holds the value of the \"role\" field.",
4102
-
"allOf": [
4103
-
{
4104
-
"$ref": "#/definitions/user.Role"
4105
-
}
4106
-
]
4107
-
},
4108
4133
"settings": {
4109
4134
"description": "Settings holds the value of the \"settings\" field.",
4110
4135
"type": "object",
@@ -4150,6 +4175,63 @@ const docTemplate = `{
4150
4175
"items": {
4151
4176
"$ref": "#/definitions/ent.Notifier"
4152
4177
}
4178
+
},
4179
+
"user_groups": {
4180
+
"description": "UserGroups holds the value of the user_groups edge.",
4181
+
"type": "array",
4182
+
"items": {
4183
+
"$ref": "#/definitions/ent.UserGroup"
4184
+
}
4185
+
}
4186
+
}
4187
+
},
4188
+
"ent.UserGroup": {
4189
+
"type": "object",
4190
+
"properties": {
4191
+
"edges": {
4192
+
"description": "Edges holds the relations/edges for other nodes in the graph.\nThe values are being populated by the UserGroupQuery when eager-loading is set.",
4193
+
"allOf": [
4194
+
{
4195
+
"$ref": "#/definitions/ent.UserGroupEdges"
4196
+
}
4197
+
]
4198
+
},
4199
+
"group_id": {
4200
+
"description": "GroupID holds the value of the \"group_id\" field.",
4201
+
"type": "string"
4202
+
},
4203
+
"role": {
4204
+
"description": "Role holds the value of the \"role\" field.",
4205
+
"allOf": [
4206
+
{
4207
+
"$ref": "#/definitions/usergroup.Role"
4208
+
}
4209
+
]
4210
+
},
4211
+
"user_id": {
4212
+
"description": "UserID holds the value of the \"user_id\" field.",
4213
+
"type": "string"
4214
+
}
4215
+
}
4216
+
},
4217
+
"ent.UserGroupEdges": {
4218
+
"type": "object",
4219
+
"properties": {
4220
+
"group": {
4221
+
"description": "Group holds the value of the group edge.",
4222
+
"allOf": [
4223
+
{
4224
+
"$ref": "#/definitions/ent.Group"
4225
+
}
4226
+
]
4227
+
},
4228
+
"user": {
4229
+
"description": "User holds the value of the user edge.",
0 commit comments