Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
b20fccdd
Commit
b20fccdd
authored
May 06, 2022
by
Robert Knight
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Standardize on `@prop` over `@property`
parent
af13d549
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
11 deletions
+11
-11
permissions.js
src/sidebar/helpers/permissions.js
+3
-3
auth.js
src/sidebar/services/auth.js
+1
-1
tags.js
src/sidebar/services/tags.js
+3
-3
annotation-fixtures.js
src/sidebar/test/annotation-fixtures.js
+2
-2
search-filter.js
src/sidebar/util/search-filter.js
+2
-2
No files found.
src/sidebar/helpers/permissions.js
View file @
b20fccdd
...
...
@@ -8,9 +8,9 @@
* specific user) or `'group'` (for a group).
*
* @typedef Permissions
* @prop
erty
{string[]} read - List of principals that can read the annotation
* @prop
erty
{string[]} update - List of principals that can edit the annotation
* @prop
erty
{string[]} delete - List of principals that can delete the
* @prop {string[]} read - List of principals that can read the annotation
* @prop {string[]} update - List of principals that can edit the annotation
* @prop {string[]} delete - List of principals that can delete the
* annotation
*/
...
...
src/sidebar/services/auth.js
View file @
b20fccdd
...
...
@@ -8,7 +8,7 @@ import { resolve } from '../util/url';
* @typedef {import('../util/oauth-client').TokenInfo} TokenInfo
*
* @typedef RefreshOptions
* @prop
erty
{boolean} persist - True if access tokens should be persisted for
* @prop {boolean} persist - True if access tokens should be persisted for
* use in future sessions.
*/
...
...
src/sidebar/services/tags.js
View file @
b20fccdd
...
...
@@ -2,9 +2,9 @@ import escapeStringRegexp from 'escape-string-regexp';
/**
* @typedef Tag
* @prop
erty
{string} text - The label of the tag
* @prop
erty
{number} count - The number of times this tag has been used.
* @prop
erty
{number} updated - The timestamp when this tag was last used.
* @prop {string} text - The label of the tag
* @prop {number} count - The number of times this tag has been used.
* @prop {number} updated - The timestamp when this tag was last used.
*/
const
TAGS_LIST_KEY
=
'hypothesis.user.tags.list'
;
...
...
src/sidebar/test/annotation-fixtures.js
View file @
b20fccdd
...
...
@@ -173,8 +173,8 @@ export function oldReply() {
/**
* @typedef ModerationState
* @prop
erty
{boolean} hidden
* @prop
erty
{number} flagCount
* @prop {boolean} hidden
* @prop {number} flagCount
*/
/**
...
...
src/sidebar/util/search-filter.js
View file @
b20fccdd
...
...
@@ -120,8 +120,8 @@ export function toObject(searchText) {
/**
* @typedef Facet
* @prop
erty
{'and'|'or'} operator
* @prop
erty
{string[]|number[]} terms
* @prop {'and'|'or'} operator
* @prop {string[]|number[]} terms
*/
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment