Skip to content

Commit

Permalink
chore(web): update gql and yarn i18n (#1041)
Browse files Browse the repository at this point in the history
  • Loading branch information
pyshx authored Jul 1, 2024
1 parent c27aad4 commit 7d0a6f6
Show file tree
Hide file tree
Showing 5 changed files with 183 additions and 82 deletions.
10 changes: 10 additions & 0 deletions web/src/classic/gql/graphql-client-api.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1774,6 +1774,7 @@ export type Project = Node & {
publishedAt?: Maybe<Scalars['DateTime']['output']>;
publishmentStatus: PublishmentStatus;
scene?: Maybe<Scene>;
starred: Scalars['Boolean']['output'];
team?: Maybe<Team>;
teamId: Scalars['ID']['output'];
trackingId: Scalars['String']['output'];
Expand Down Expand Up @@ -1806,6 +1807,12 @@ export type ProjectPayload = {
project: Project;
};

export enum ProjectSortType {
Createdat = 'CREATEDAT',
Name = 'NAME',
Updatedat = 'UPDATEDAT'
}

export type Property = Node & {
__typename?: 'Property';
id: Scalars['ID']['output'];
Expand Down Expand Up @@ -2082,7 +2089,9 @@ export type QueryProjectsArgs = {
before?: InputMaybe<Scalars['Cursor']['input']>;
first?: InputMaybe<Scalars['Int']['input']>;
includeArchived?: InputMaybe<Scalars['Boolean']['input']>;
keyword?: InputMaybe<Scalars['String']['input']>;
last?: InputMaybe<Scalars['Int']['input']>;
sort?: InputMaybe<ProjectSortType>;
teamId: Scalars['ID']['input'];
};

Expand Down Expand Up @@ -2666,6 +2675,7 @@ export type UpdateProjectInput = {
publicNoIndex?: InputMaybe<Scalars['Boolean']['input']>;
publicTitle?: InputMaybe<Scalars['String']['input']>;
sceneId?: InputMaybe<Scalars['ID']['input']>;
starred?: InputMaybe<Scalars['Boolean']['input']>;
trackingId?: InputMaybe<Scalars['String']['input']>;
};

Expand Down
81 changes: 81 additions & 0 deletions web/src/classic/gql/graphql.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -14006,6 +14006,22 @@
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "starred",
"description": null,
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "team",
"description": null,
Expand Down Expand Up @@ -14290,6 +14306,35 @@
"enumValues": null,
"possibleTypes": null
},
{
"kind": "ENUM",
"name": "ProjectSortType",
"description": null,
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": [
{
"name": "CREATEDAT",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "NAME",
"description": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "UPDATEDAT",
"description": null,
"isDeprecated": false,
"deprecationReason": null
}
],
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "Property",
Expand Down Expand Up @@ -16522,6 +16567,18 @@
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "keyword",
"description": null,
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "last",
"description": null,
Expand All @@ -16534,6 +16591,18 @@
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "sort",
"description": null,
"type": {
"kind": "ENUM",
"name": "ProjectSortType",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "teamId",
"description": null,
Expand Down Expand Up @@ -21836,6 +21905,18 @@
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "starred",
"description": null,
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"defaultValue": null,
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "trackingId",
"description": null,
Expand Down
10 changes: 10 additions & 0 deletions web/src/services/gql/__gen__/graphql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1773,6 +1773,7 @@ export type Project = Node & {
publishedAt?: Maybe<Scalars['DateTime']['output']>;
publishmentStatus: PublishmentStatus;
scene?: Maybe<Scene>;
starred: Scalars['Boolean']['output'];
team?: Maybe<Team>;
teamId: Scalars['ID']['output'];
trackingId: Scalars['String']['output'];
Expand Down Expand Up @@ -1805,6 +1806,12 @@ export type ProjectPayload = {
project: Project;
};

export enum ProjectSortType {
Createdat = 'CREATEDAT',
Name = 'NAME',
Updatedat = 'UPDATEDAT'
}

export type Property = Node & {
__typename?: 'Property';
id: Scalars['ID']['output'];
Expand Down Expand Up @@ -2081,7 +2088,9 @@ export type QueryProjectsArgs = {
before?: InputMaybe<Scalars['Cursor']['input']>;
first?: InputMaybe<Scalars['Int']['input']>;
includeArchived?: InputMaybe<Scalars['Boolean']['input']>;
keyword?: InputMaybe<Scalars['String']['input']>;
last?: InputMaybe<Scalars['Int']['input']>;
sort?: InputMaybe<ProjectSortType>;
teamId: Scalars['ID']['input'];
};

Expand Down Expand Up @@ -2665,6 +2674,7 @@ export type UpdateProjectInput = {
publicNoIndex?: InputMaybe<Scalars['Boolean']['input']>;
publicTitle?: InputMaybe<Scalars['String']['input']>;
sceneId?: InputMaybe<Scalars['ID']['input']>;
starred?: InputMaybe<Scalars['Boolean']['input']>;
trackingId?: InputMaybe<Scalars['String']['input']>;
};

Expand Down
82 changes: 41 additions & 41 deletions web/src/services/i18n/translations/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ A To Z: A To Z
Z To A: Z To A
Size Small to Large: Size Small to Large
Size Large to Small: Size Large to Small
Page: Page
File Format: File Format
File format of the data source you want to add.: File format of the data source you want to add.
From Assets: From Assets
Expand Down Expand Up @@ -79,45 +80,43 @@ Choose layer to add: Choose layer to add
Layer of the data source you want to add.: Layer of the data source you want to add
layer name: Layer name
Layer: Layer
Layers: Layers
All Layers: All Layers
Name: Name
Type: Type
New Property: New Property
Layer Name: Layer Name
Layer name you want to add.: Layer name you want to add.
New Style: New Style
Layer Style: Layer Style
Layer style you want to add.: Layer style you want to add.
General: General
Custom Properties: Custom Properties
New Sketch Layer: New Sketch Layer
Create: Create
Style_: Style_
Delete: Delete
Main: Main
Tiles: Tiles
Terrain: Terrain
Globe: Globe
Sky: Sky
Camera: Camera
Unknown scene setting: Unknown scene setting
Scene: Scene
Outline: Outline
Add Layer from Resource: Add Layer from Resource
Add Sketch Layer: ''
Inspector: Inspector
Format: Format
Unsupported custom field: Unsupported custom field
ID: ID
Geometry: Geometry
Properties: Properties
Custom Properties: Custom Properties
Data: Data
Feature: Feature
Styling: Styling
Enable Infobox: Enable Infobox
Show infobox when the user clicks on a layer: Show infobox when the user clicks on a layer
Format: Format
Add Layer from Resource: Add Layer from Resource
Add Sketch Layer: ''
Layers: Layers
Style_: Style_
Layer Style: Layer Style
New Style: New Style
Delete: Delete
Save: Save
Main: Main
Tiles: Tiles
Terrain: Terrain
Globe: Globe
Sky: Sky
Camera: Camera
Unknown scene setting: Unknown scene setting
Scene: Scene
Name: Name
Type: Type
New Property: New Property
Layer Name: Layer Name
Layer name you want to add.: Layer name you want to add.
Layer style you want to add.: Layer style you want to add.
General: General
New Sketch Layer: New Sketch Layer
Create: Create
Published: Published
Unpublished: Unpublished
Story: Story
Expand Down Expand Up @@ -152,23 +151,20 @@ Unpublishing: Unpublishing
Your project will be unpublished.: Your project will be unpublished.
This means that anybody with the URL will become unable to view this project.: This means that anybody with the URL will become unable to view this project.
'**Warning**: This includes websites where this project is embedded.': '**Warning**: This includes websites where this project is embedded.'
Page Settings: Page Settings
All Layers: All Layers
Untitled: Untitled
New Page: New Page
Page: Page
Page Settings: Page Settings
Align System: Align System
Container Settings: Container Settings
Padding top: Padding top
Padding right: Padding right
Padding bottom: Padding bottom
Padding left: Padding left
Gap spacing: Gap spacing
Align centered: Align centered
Background color: Background color
Align System: Align System
Widget Manager: Widget Manager
Container Settings: Container Settings
Angle: Angle
Narrow: Narrow
Wide: Wide
Please select an asset before clicking Select.: Please select an asset before clicking Select.
Select Image: Select Image
Select: Select
Expand Down Expand Up @@ -276,20 +272,22 @@ Background Color: Background Color
Something went wrong.: Something went wrong.
Couldn't find the Re:Earth project you were after.: Couldn't find the Re:Earth project you were after.
New Field: New Field
New Camera: New Camera
New Camera Button: New Camera Button
Buttons List: Buttons List
New Layers Button: New Layers Button
Add markdown text here: Add markdown text here
aria-label-compass: compass
aria-label-adjust-angle: adjust angle
aria-label-zoom-in: zoom in
aria-label-Go-to-the-home-position: Go to the home position
aria-label-zoom-out: zoom out
Angle: Angle
Narrow: Narrow
Wide: Wide
Spacing settings: Spacing settings
Block: Block
Unsupported field type: Unsupported field type
New Camera: New Camera
New Camera Button: New Camera Button
Buttons List: Buttons List
New Layers Button: New Layers Button
Add markdown text here: Add markdown text here
Drop here: Drop here
Write your story :): Write your story :)
Normal: Normal
Heading 1: Heading 1
Expand All @@ -315,6 +313,7 @@ Strikethrough: Strikethrough
Subscript: Subscript
Superscript: Superscript
Clear Formatting: Clear Formatting
Drop here: Drop here
Close timeline: Close timeline
Playback timeline: Playback timeline
Play timeline: Play timeline
Expand Down Expand Up @@ -543,6 +542,7 @@ Successfully published your project!: Successfully published your project!
Successfully published your project with search engine indexing!: Successfully published your project with search engine indexing!
Successfully unpublished your project. Now nobody can access your project.: Successfully unpublished your project. Now nobody can access your project.
Successfully copied to clipboard!: Successfully copied to clipboard!
Outline: Outline
Folder: Folder
Widget: Widget
Infobox: Infobox
Expand Down
Loading

0 comments on commit 7d0a6f6

Please sign in to comment.