forked from BloomBooks/BloomLibrary2
-
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.
More work on new grids after feedback (BL-13305)
- Loading branch information
1 parent
e5481c1
commit 16a23e1
Showing
16 changed files
with
686 additions
and
631 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,31 @@ | ||
export interface ILangTagData { | ||
tag: string; | ||
name: string; | ||
names?: string[]; | ||
region: string; | ||
regionname: string; | ||
regions?: string[]; | ||
} | ||
|
||
// If we go back to using the country id data, we'll need this interface. | ||
// export interface ICountryIdData { | ||
// a2: string; // 2-letter code (names match what is in the json data file) | ||
// a3: string; // 3-letter code | ||
// n: string; // name | ||
// } | ||
|
||
// Basic user information used by the uploader-grid page and language-grid page. | ||
|
||
export interface IBasicUserInfo { | ||
objectId: string; // needed only to ensure uniqueness in a list of users | ||
createdAt: string; // when the user was created/registered. | ||
username: string; // the user's email address, real or not. | ||
} | ||
export interface IMinimalBookInfo { | ||
objectId: string; | ||
createdAt: string; | ||
tags: string[]; | ||
lang1Tag?: string; | ||
show?: { pdf: { langTag: string } }; // there is more, but this is what we're using to get at l1 at the moment | ||
uploader: IBasicUserInfo; | ||
} |
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
File renamed without changes.
Oops, something went wrong.