This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "@total-typescript/ts-reset"; | |
export {} | |
// Makes all properties optional | |
export type DeepPartial<T> = T extends object | |
? { | |
[P in keyof T]?: DeepPartial<T[P]> | |
} | |
: T |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export enum NovaMenuSlug { | |
Header = 'header', | |
Footer = 'footer' | |
} | |
export type NovaMenu = { | |
id: number | |
name: string | |
slug: NovaMenuSlug | |
locale: string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
env: | |
GCP_APP_NAME: my-app-name |