-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from Vizzuality/SKY30-82-fe-types-with-orval
[SKY30-82]: adds Orval to client
- Loading branch information
Showing
25 changed files
with
19,437 additions
and
6,723 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
cd ./frontend && yarn types && yarn lint --fix && yarn check-types && git add src/types/generated/ | ||
|
||
cd .. && cd ./cms && yarn cs export -y |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import type { Schema, Attribute } from '@strapi/strapi'; | ||
|
||
export interface DocumentationMetadata extends Schema.Component { | ||
collectionName: 'components_documentation_metadata'; | ||
info: { | ||
displayName: 'Metadata'; | ||
description: ''; | ||
}; | ||
attributes: { | ||
description: Attribute.RichText & Attribute.Required; | ||
citation: Attribute.RichText; | ||
source: Attribute.RichText; | ||
resolution: Attribute.String; | ||
content_date: Attribute.Date; | ||
license: Attribute.String; | ||
}; | ||
} | ||
|
||
declare module '@strapi/types' { | ||
export module Shared { | ||
export interface Components { | ||
'documentation.metadata': DocumentationMetadata; | ||
} | ||
} | ||
} |
Oops, something went wrong.