google / ground-platform

Ground hosted components: Web console, Cloud Functions, db config
http://groundplatform.org
Apache License 2.0
203 stars 83 forks source link

Custom text and link when user not in passlist #1972

Closed rfontanarosa closed 2 weeks ago

rfontanarosa commented 1 month ago

closes https://github.com/google/ground-platform/issues/1679

Screenshot 2024-08-14 alle 15 44 51
gino-m commented 2 weeks ago

There's a build error it seems:

Error: src/message-registry.ts(139,3): error TS2352: Conversion of type '{ options: { syntax: string; }; nested: { ground: { nested: { v1beta1: { options: { java_multiple_files: boolean; java_package: string; }; nested: { AuditInfo: { fields: { userId: { type: string; id: number; }; ... 4 more ...; emailAddress: { ...; }; }; }; ... 13 more ...; Role: { ...; }; }; }; }; }; google: { ...; ...' to type 'MessageRegistryJson' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
  Types of property 'options' are incompatible.
    Type '{ syntax: string; }' is missing the following properties from type 'ProtoOptions': java_package, java_multiple_files
npm error Lifecycle script `build` failed with error:
npm error Error: command failed
npm error   in workspace: @ground/lib@0.0.1
npm error   at location: /home/runner/work/ground-platform/ground-platform/lib
npm error Lifecycle script `build-local-deps` failed with error:
npm error Error: command failed
npm error   in workspace: @ground/web@0.0.1
npm error   at location: /home/runner/work/ground-platform/ground-platform/web
npm error Lifecycle script `build-all` failed with error:
npm error Error: command failed
npm error   in workspace: @ground/web@0.0.1
npm error   at location: /home/runner/work/ground-platform/ground-platform/web
Error: Process completed with exit code 1.