Replace Organization.logoUrl and horizontalLogoUrl with nested File
objects whose downloadUrl points at /api/files/v1/public/{id}, matching
the Console migration.
Org logos are FileVisibilityPublic and served without HTTP auth, so
Connect File.downloadUrl is built eagerly in NewFile with no field-level
authorize. Logo loading moves to iam.OrganizationService.LogoFile and
HorizontalLogoFile; the old URL generators are removed.
Sync IAM Relay components and n8n organization operations. Add an e2e
test for Connect multipart logo upload and ExecuteConnectWithFile.
Signed-off-by: Ludovic Vielle <ludovic@probo.com>
46 lines
1.0 KiB
YAML
46 lines
1.0 KiB
YAML
schema:
|
|
- "graphql/*.graphql"
|
|
- "../../../gqlutils/directives/authentication/schema.graphql"
|
|
- "../../../gqlutils/directives/session/schema.graphql"
|
|
|
|
exec:
|
|
filename: "schema/schema.go"
|
|
package: "schema"
|
|
|
|
model:
|
|
filename: "types/types.go"
|
|
package: "types"
|
|
|
|
resolver:
|
|
layout: "follow-schema"
|
|
dir: "."
|
|
package: "connect_v1"
|
|
filename_template: "{name}_resolvers.go"
|
|
|
|
autobind: []
|
|
call_argument_directives_with_null: true
|
|
|
|
directives:
|
|
mustBeAuthorized:
|
|
skip_runtime: false
|
|
authentication:
|
|
skip_runtime: false
|
|
sessionOnly:
|
|
skip_runtime: false
|
|
|
|
models:
|
|
ID:
|
|
model:
|
|
- "go.probo.inc/probo/pkg/server/gqlutils/types/gid.GIDScalar"
|
|
Datetime:
|
|
model:
|
|
- "github.com/99designs/gqlgen/graphql.Time"
|
|
CursorKey:
|
|
model:
|
|
- "go.probo.inc/probo/pkg/server/gqlutils/types/cursor.CursorKeyScalar"
|
|
BigInt:
|
|
model:
|
|
- "go.probo.inc/probo/pkg/server/gqlutils/types/bigint.BigIntScalar"
|
|
EmailAddr:
|
|
model:
|
|
- "go.probo.inc/probo/pkg/server/gqlutils/types/mail.AddrScalar" |