Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
52800e8fd6 |
No files matched your search
@@ -0,0 +1,64 @@
|
||||
# Copy this file to .env to make modifications
|
||||
|
||||
# Base config
|
||||
MATOMO_URL=https://analytics.lbry.com/
|
||||
MATOMO_ID=4
|
||||
WEBPACK_WEB_PORT=9090
|
||||
WEBPACK_ELECTRON_PORT=9091
|
||||
WEB_SERVER_PORT=1337
|
||||
LBRY_WEB_API=https://api.lbry.tv
|
||||
LBRY_WEB_STREAMING_API=https://cdn.lbryplayer.xyz
|
||||
LBRY_WEB_BUFFER_API=https://collector-service.api.lbry.tv/api/v1/events/video
|
||||
COMMENT_SERVER_API=https://comments.lbry.com/api/v2
|
||||
WELCOME_VERSION=1.0
|
||||
|
||||
# Custom Site info
|
||||
DOMAIN=lbry.tv
|
||||
URL=https://lbry.tv
|
||||
THUMBNAIL_CDN_URL=https://image-optimizer.vanwanet.com/?address=
|
||||
|
||||
# UI
|
||||
SITE_TITLE=lbry.tv
|
||||
SITE_NAME=lbry.tv
|
||||
SITE_DESCRIPTION=Meet LBRY, an open, free, and community-controlled content wonderland.
|
||||
SITE_HELP_EMAIL=help@lbry.com
|
||||
LOGO_TITLE=lbry.tv
|
||||
SIMPLE_SITE=false
|
||||
SHOW_ADS=true
|
||||
YRBL_HAPPY_IMG_URL=https://cdn.lbryplayer.xyz/api/v3/streams/free/yrbl-happy/7aa50a7e5adaf48691935d55e45d697547392929/839d9a
|
||||
YRBL_SAD_IMG_URL=https://cdn.lbryplayer.xyz/api/v3/streams/free/yrbl-sad/c2d9649633d974e5ffb503925e1f17d951f1bd0f/f262dd
|
||||
ENABLE_COMMENT_REACTIONS=true
|
||||
ENABLE_FILE_REACTIONS=false
|
||||
ENABLE_CREATOR_REACTIONS=false
|
||||
ENABLE_NO_SOURCE_CLAIMS=false
|
||||
ENABLE_PREROLL_ADS=false
|
||||
CHANNEL_STAKED_LEVEL_VIDEO_COMMENTS=4
|
||||
CHANNEL_STAKED_LEVEL_LIVESTREAM=5
|
||||
WEB_PUBLISH_SIZE_LIMIT_GB=4
|
||||
|
||||
# OG
|
||||
OG_TITLE_SUFFIX=| lbry.tv
|
||||
OG_HOMEPAGE_TITLE=lbry.tv
|
||||
OG_IMAGE_URL=
|
||||
SITE_CANONICAL_URL=https://lbry.tv
|
||||
|
||||
# LOCALE
|
||||
DEFAULT_LANGUAGE=en
|
||||
|
||||
# Custom Settings
|
||||
# Additional settings for below are found in ui/constants/settings and are for
|
||||
# preventing user settings from applying to custom sites without overwriting them.
|
||||
# UNSYNCED_SETTINGS='theme dark_mode_times automatic_dark_mode_enabled'
|
||||
KNOWN_APP_DOMAINS=lbry.tv,lbry.lat,odysee.com
|
||||
|
||||
# Custom Content
|
||||
# If the following is true, copy custom/homepage.example.js to custom/homepage.js and modify
|
||||
CUSTOM_HOMEPAGE=false
|
||||
# Add channels to auto-follow on first run
|
||||
AUTO_FOLLOW_CHANNELS=lbry://@lbry#3fda836a92faaceedfe398225fb9b2ee2ed1f01a
|
||||
# Add up to 2 sidebar links:
|
||||
# PINNED_URI_1=@Lbrylatam#2/Integracionesporseguridad#4
|
||||
# PINNED_LABEL_1=LBRY LATAM
|
||||
# PINNED_URI_2=$/discover?t=lbrytvpaidbeta&fee_amount=>0&claim_type=stream&channel_ids=5af39f818f668d8c00943c9326c5201c4fe3c423,cda9c4e92f19d6fe0764524a2012056e06ca2055,760da3ba3dd85830a843beaaed543a89b7a367e7,40c36948f0da072dcba3e4833e90f71e16de78be,e8f68563d242f6ac9784dcbc41dd86c28a9391d6,7236fc5d2783ea7314d9076ae6c8a250e3992d1a,cf7792c2a37d0d76aaaff84aff0b99a8c791429d,8316ac90764fedf3147799b7b81a6575a9cc398e,8627af93c1a1219150f06b698f4b33e6ed2f1c1e,8972a1bd06de5186e5e89292b05aac8aaa817791,c5b0b17838df2f6c31162f64d55f60f34ae8bfc6,f576d5dba905fc179de880c3fe3eb3281ea74f59,97dd77c93c9603cbb2583f3589f7f5a6c92baa43,f399d873e0c37cf24de9569b5f22bbb30a5c6709,dba870d0620d41b2b9a152c961e0c06cf875ccfc,ca1fd651c9d14bf2e5088bb2aa0146ee7aeb2ae0,50ad846a4b1543b847bf3fdafb7b45f6b2f5844c,e09ff5abe9fb44dd0dd0576894a6db60a6211603,7b6f7517f6b816827d076fa0eaad550aa315a4e7,2068452c41d8da3bd68961335da0072a99258a1a,5da63df97c8255ae94a88940695b8471657dd5a1,3645cf2f5d0bdac0523f945be1c3ff60758f7845,4da85b12244839d6368b9290f1619ff9514ab2a8,4ad942982e43326c7700b1b6443049b3cfd82161,55304f219244abf82f684f759cc0c7769242f3b4,8f42e5b592bb7f7a03f4a94a86a41b1236bb099f,e2a014d885a48f5be2dc6409610996337312facb,c18996ca488753f714d36d4654715927c1d7f9c2,ebc4214424cfa683a7046e1f794fea1e44788d84,06b6d6d6a893fb589ec2ded948f5122856921ed5,07e4546674268fc0222b2ca22d31d0549dc217ee,060940e41973d4f7f16d72a2733138e931c35f41,f8d6eccd887c9cebd36b1d42aa349279b7f5c3ed,68098b8426f967b8d04cc566348b5c128823219e,2bfe6cdb24a21bdc1b76fb7c416edd50e9e85945,1f9bb08bfa2259629f4aaa9ed40f97e9a41b6fa1,2f20148495612946675fe1c8ea99171e4d950b81,bc6938fa1e09e840056c2e831abf9664f397c472,2a6194792beac5130641e932b5ac6e5a99b5ca4f,185ba2bd547a5e4a77d29fe6c1484f47db5e058f,29cc7f6081268eaa5b3f2946e0cd0b952a94812c,49389450b1241f5d8f4c8c4271a3eb56bba33965,ffdc62ac2f7549398d3aca9d2119e83d80d588d5,d7a4d2808074b0c55d6b239f69d90e7a4930f943,d58aa4a0b2f6c2504c3abce8de3f1afb71800acc,77ae23dc7eb8a75609881d4548a79e4935a89d37,f79bce8a60fbece671f6265adc39f6469f3b9b8c,051995fdf0af634e4911704057a551e9392e62b1
|
||||
# PINNED_LABEL_2=Paid Beta
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
node_modules/*
|
||||
./node_modules/**
|
||||
**/node_modules/**
|
||||
web/dist/**
|
||||
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"parser": "babel-eslint",
|
||||
"extends": ["standard", "standard-jsx", "plugin:react/recommended", "plugin:flowtype/recommended"],
|
||||
"plugins": ["flowtype", "import", "react-hooks"],
|
||||
"env": {
|
||||
"browser": true,
|
||||
"node": true
|
||||
},
|
||||
"globals": {
|
||||
"__static": true,
|
||||
"i18n": true,
|
||||
"__": true,
|
||||
"app": true,
|
||||
"IS_WEB": true,
|
||||
"WEBPACK_PORT": true
|
||||
},
|
||||
"settings": {
|
||||
"react": {
|
||||
"version": "detect"
|
||||
}
|
||||
},
|
||||
"rules": {
|
||||
"brace-style": 0,
|
||||
"camelcase": 0,
|
||||
"comma-dangle": ["error", "always-multiline"],
|
||||
"handle-callback-err": 0,
|
||||
"indent": 0,
|
||||
"jsx-quotes": ["error", "prefer-double"],
|
||||
"new-cap": 0,
|
||||
"no-console": 1,
|
||||
"no-control-regex": 0,
|
||||
"no-multi-spaces": 0,
|
||||
"no-redeclare": 0,
|
||||
"no-return-await": 0,
|
||||
"object-curly-spacing": 0,
|
||||
"one-var": 0,
|
||||
"prefer-promise-reject-errors": 0,
|
||||
"react/jsx-indent": 0,
|
||||
"react/jsx-no-comment-textnodes": 0,
|
||||
"react-hooks/exhaustive-deps": "warn",
|
||||
"react-hooks/rules-of-hooks": "error",
|
||||
"react/no-unescaped-entities": 0,
|
||||
"space-before-function-paren": [
|
||||
"error",
|
||||
{
|
||||
"anonymous": "never",
|
||||
"named": "never",
|
||||
"asyncArrow": "always"
|
||||
}
|
||||
],
|
||||
"standard/object-curly-even-spacing": 0,
|
||||
"standard/no-callback-literal": 0,
|
||||
"react/display-name": 0,
|
||||
"semi": [
|
||||
"error",
|
||||
"always",
|
||||
{
|
||||
"omitLastInOneLineBlock": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -1,57 +0,0 @@
|
||||
{
|
||||
"plugins": ["flowtype"],
|
||||
"extends": [
|
||||
"airbnb",
|
||||
"plugin:import/electron",
|
||||
"plugin:flowtype/recommended",
|
||||
"plugin:prettier/recommended"
|
||||
],
|
||||
"settings": {
|
||||
"import/resolver": {
|
||||
"webpack": {
|
||||
"config": "webpack.renderer.additions.js"
|
||||
}
|
||||
}
|
||||
},
|
||||
"parser": "babel-eslint",
|
||||
"env": {
|
||||
"browser": true,
|
||||
"node": true
|
||||
},
|
||||
"globals": {
|
||||
"__static": true,
|
||||
"staticResourcesPath": true,
|
||||
"__": true,
|
||||
"__n": true,
|
||||
"app": true
|
||||
},
|
||||
"rules": {
|
||||
"import/no-commonjs": "warn",
|
||||
"import/no-amd": "warn",
|
||||
"prettier/prettier": [
|
||||
"error",
|
||||
{
|
||||
"trailingComma": "es5",
|
||||
"printWidth": 100,
|
||||
"singleQuote": true
|
||||
}
|
||||
],
|
||||
"func-names": ["warn", "as-needed"],
|
||||
"jsx-a11y/label-has-for": 0,
|
||||
"import/prefer-default-export": 0,
|
||||
"no-return-assign": 0,
|
||||
"react/require-default-props": 0,
|
||||
"react/jsx-closing-tag-location": 0,
|
||||
"jsx-a11y/no-noninteractive-element-to-interactive-role": 0,
|
||||
"class-methods-use-this": 0,
|
||||
"jsx-a11y/interactive-supports-focus": 0,
|
||||
"jsx-a11y/click-events-have-key-events": 0,
|
||||
"consistent-return": 0,
|
||||
"no-prototype-builtins": 0,
|
||||
"flowtype/space-after-type-colon": [2, "always", { "allowLineBreak": true }],
|
||||
"no-restricted-syntax": 0,
|
||||
"no-empty": 0,
|
||||
"react/prefer-stateless-function": 0,
|
||||
"react/sort-comp": 0
|
||||
}
|
||||
}
|
||||
+29
-13
@@ -1,27 +1,43 @@
|
||||
[ignore]
|
||||
node_modules/
|
||||
.*\.typeface\.json
|
||||
.*/node_modules/findup/.*
|
||||
|
||||
|
||||
[include]
|
||||
|
||||
[libs]
|
||||
./flow-typed
|
||||
node_modules/lbry-redux/flow-typed/
|
||||
node_modules/lbryinc/flow-typed/
|
||||
|
||||
[untyped]
|
||||
.*/node_modules/lbry-redux
|
||||
.*/node_modules/lbryinc
|
||||
|
||||
[lints]
|
||||
|
||||
[options]
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue
|
||||
module.name_mapper='^constants\(.*\)$' -> '<PROJECT_ROOT>/src/renderer/constants\1'
|
||||
module.name_mapper='^util\(.*\)$' -> '<PROJECT_ROOT>/src/renderer/util\1'
|
||||
module.name_mapper='^redux\(.*\)$' -> '<PROJECT_ROOT>/src/renderer/redux\1'
|
||||
module.name_mapper='^types\(.*\)$' -> '<PROJECT_ROOT>/src/renderer/types\1'
|
||||
module.name_mapper='^component\(.*\)$' -> '<PROJECT_ROOT>/src/renderer/component\1'
|
||||
module.name_mapper='^page\(.*\)$' -> '<PROJECT_ROOT>/src/renderer/page\1'
|
||||
module.name_mapper='^lbry\(.*\)$' -> '<PROJECT_ROOT>/src/renderer/lbry\1'
|
||||
module.name_mapper='^modal\(.*\)$' -> '<PROJECT_ROOT>/src/renderer/modal\1'
|
||||
module.name_mapper='^app\(.*\)$' -> '<PROJECT_ROOT>/src/renderer/app\1'
|
||||
module.name_mapper='^native\(.*\)$' -> '<PROJECT_ROOT>/src/renderer/native\1'
|
||||
module.name_mapper='^analytics\(.*\)$' -> '<PROJECT_ROOT>/src/renderer/analytics\1'
|
||||
|
||||
module.name_mapper='^constants\(.*\)$' -> '<PROJECT_ROOT>/ui/constants\1'
|
||||
module.name_mapper='^util\(.*\)$' -> '<PROJECT_ROOT>/ui/util\1'
|
||||
module.name_mapper='^redux\(.*\)$' -> '<PROJECT_ROOT>/ui/redux\1'
|
||||
module.name_mapper='^types\(.*\)$' -> '<PROJECT_ROOT>/ui/types\1'
|
||||
module.name_mapper='^component\(.*\)$' -> '<PROJECT_ROOT>/ui/component\1'
|
||||
module.name_mapper='^page\(.*\)$' -> '<PROJECT_ROOT>/ui/page\1'
|
||||
module.name_mapper='^lbry\(.*\)$' -> '<PROJECT_ROOT>/ui/lbry\1'
|
||||
module.name_mapper='^modal\(.*\)$' -> '<PROJECT_ROOT>/ui/modal\1'
|
||||
module.name_mapper='^app\(.*\)$' -> '<PROJECT_ROOT>/ui/app\1'
|
||||
module.name_mapper='^native\(.*\)$' -> '<PROJECT_ROOT>/ui/native\1'
|
||||
module.name_mapper='^analytics\(.*\)$' -> '<PROJECT_ROOT>/ui/analytics\1'
|
||||
module.name_mapper='^rewards\(.*\)$' -> '<PROJECT_ROOT>/ui/rewards\1'
|
||||
module.name_mapper='^i18n\(.*\)$' -> '<PROJECT_ROOT>/ui/i18n\1'
|
||||
module.name_mapper='^effects\(.*\)$' -> '<PROJECT_ROOT>/ui/effects\1'
|
||||
module.name_mapper='^comments\(.*\)$' -> '<PROJECT_ROOT>/ui/comments\1'
|
||||
module.name_mapper='^config\(.*\)$' -> '<PROJECT_ROOT>/config\1'
|
||||
module.name_mapper='^web\/component\(.*\)$' -> '<PROJECT_ROOT>/web/component\1'
|
||||
module.name_mapper='^web\/effects\(.*\)$' -> '<PROJECT_ROOT>/web/effects\1'
|
||||
module.name_mapper='^web\/page\(.*\)$' -> '<PROJECT_ROOT>/web/page\1'
|
||||
module.name_mapper='^homepage\(.*\)$' -> '<PROJECT_ROOT>/ui/util/homepage\1'
|
||||
|
||||
[strict]
|
||||
@@ -1,3 +1,12 @@
|
||||
---
|
||||
name: "\U0001F41BBug report"
|
||||
about: "Something isn't working \U0001F915"
|
||||
title: ''
|
||||
labels: 'type: bug'
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
<!--
|
||||
Thanks for reporting an issue to LBRY and helping us improve!
|
||||
|
||||
@@ -7,28 +16,26 @@ Before reporting any issues, please make sure that you're using the latest versi
|
||||
- App releases: https://github.com/lbryio/lbry-desktop/releases
|
||||
- Standalone daemon: https://github.com/lbryio/lbry/releases
|
||||
|
||||
We are also available on live chat at https://chat.lbry.io
|
||||
We are also available on live chat at https://chat.lbry.com
|
||||
-->
|
||||
|
||||
## The Issue
|
||||
**Bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
### Steps to Reproduce
|
||||
**To Reproduce**
|
||||
Steps to reproduce the behavior:
|
||||
1. Go to '...'
|
||||
2. Click on '....'
|
||||
3. Scroll down to '....'
|
||||
4. See error
|
||||
|
||||
1. 2. 3.
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
### Expected Behavior
|
||||
**Screenshots**
|
||||
If applicable, add screenshots to help explain your problem.
|
||||
|
||||
Tell us what should happen.
|
||||
|
||||
### Actual Behavior
|
||||
|
||||
Tell us what happens instead.
|
||||
|
||||
### Suggested Solutions
|
||||
|
||||
Tell us your suggested solutions if you have any.
|
||||
|
||||
## System Configuration
|
||||
**System Configuration**
|
||||
|
||||
<!-- For the app, this info is in the About section at the bottom of the Help page.
|
||||
You can include a screenshot instead of typing it out -->
|
||||
@@ -42,10 +49,6 @@ Tell us your suggested solutions if you have any.
|
||||
- LBRY Installation ID:
|
||||
- Operating system:
|
||||
|
||||
## Anything Else
|
||||
|
||||
<!-- Include anything else that does not fit into the above sections -->
|
||||
|
||||
## Screenshots
|
||||
|
||||
<!-- If a screenshot would help explain the bug, please include one or two here -->
|
||||
**Additional context**
|
||||
Add any other context about the problem here.
|
||||
@@ -0,0 +1,20 @@
|
||||
---
|
||||
name: "\U0001F680Feature request"
|
||||
about: "I have a suggestion (and might want to implement it \U0001F60A)"
|
||||
title: ''
|
||||
labels: 'type: new feature'
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Describe alternatives you've considered**
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
||||
@@ -0,0 +1,22 @@
|
||||
---
|
||||
name: "❤️Say thank you"
|
||||
about: If you enjoy using the LBRY app, let us know!
|
||||
title: LBRY rocks!
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
If you are using the LBRY app - please let us know. We'd love to hear from you!
|
||||
|
||||
If you would like to help Nock - any of the following is greatly appreciated.
|
||||
|
||||
- Give the repository a star ⭐️
|
||||
- Help out with issues
|
||||
- Blog about LBRY
|
||||
- Make tutorials
|
||||
- Give talks
|
||||
- Convince other people to use LBRY
|
||||
- Anything your heart desires
|
||||
|
||||
Thank you! 💐
|
||||
@@ -0,0 +1,100 @@
|
||||
name: Node.js CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
branches: [master]
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
name: lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: Borales/actions-yarn@v2.3.0
|
||||
- run: yarn lint
|
||||
|
||||
build:
|
||||
needs: ['lint']
|
||||
name: 'build'
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [14.x]
|
||||
os:
|
||||
- ubuntu-latest
|
||||
- macos-latest
|
||||
- windows-latest
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2-beta
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
|
||||
- uses: maxim-lobanov/setup-xcode@v1
|
||||
if: startsWith(runner.os, 'mac')
|
||||
with:
|
||||
xcode-version: '10.3.0'
|
||||
|
||||
- name: Download blockchain headers
|
||||
run: |
|
||||
mkdir -p ./static/daemon
|
||||
curl -o ./static/daemon/headers https://headers.lbry.io/blockchain_headers_latest
|
||||
ls ./static/daemon
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
yarn global add cross-env
|
||||
yarn
|
||||
yarn build
|
||||
node ./build/afterSignHook.js
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||
NOTARIZATION_USERNAME: ${{ secrets.NOTARIZATION_USERNAME }}
|
||||
NOTARIZATION_PASSWORD: ${{ secrets.NOTARIZATION_PASSWORD }}
|
||||
WIN_CSC_KEY_PASSWORD: ${{ secrets.WIN_CSC_KEY_PASSWORD }}
|
||||
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
|
||||
WIN_CSC_LINK: https://s3.amazonaws.com/files.lbry.io/cert/win-csc-2020-2021-08.p12
|
||||
CSC_LINK: https://s3.amazonaws.com/files.lbry.io/cert/osx-csc-2021-2022.p12
|
||||
|
||||
# UI
|
||||
MATOMO_URL: https://analytics.lbry.com/
|
||||
MATOMO_ID: 4
|
||||
WELCOME_VERSION: 1.0
|
||||
DOMAIN: lbry.tv
|
||||
URL: https://lbry.tv
|
||||
SHARE_DOMAIN_URL: https://open.lbry.com
|
||||
SITE_TITLE: lbry.tv
|
||||
SITE_NAME: lbry.tv
|
||||
SHOW_ADS: false
|
||||
YRBL_HAPPY_IMG_URL: https://cdn.lbryplayer.xyz/api/v3/streams/free/yrbl-happy/7aa50a7e5adaf48691935d55e45d697547392929/839d9a
|
||||
YRBL_SAD_IMG_URL: https://cdn.lbryplayer.xyz/api/v3/streams/free/yrbl-sad/c2d9649633d974e5ffb503925e1f17d951f1bd0f/f262dd
|
||||
ENABLE_COMMENT_REACTIONS: true
|
||||
ENABLE_NO_SOURCE_CLAIMS: false
|
||||
|
||||
DEFAULT_LANGUAGE: en
|
||||
KNOWN_APP_DOMAINS: lbry.tv,lbry.lat,odysee.com
|
||||
CHANNEL_STAKED_LEVEL_VIDEO_COMMENTS: 0
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
if: |
|
||||
startsWith(runner.os, 'linux')
|
||||
with:
|
||||
name: Linux
|
||||
path: ./dist/electron/*.*
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
if: |
|
||||
startsWith(runner.os, 'mac')
|
||||
with:
|
||||
name: macOS
|
||||
path: ./dist/electron/*.*
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
if: |
|
||||
github.event.pull_request.head.repo.full_name == github.repository
|
||||
with:
|
||||
name: Windows
|
||||
path: ./dist/electron/*.*
|
||||
+30
-4
@@ -1,9 +1,35 @@
|
||||
### macOS ###
|
||||
# General
|
||||
.DS_Store
|
||||
/node_modules
|
||||
/dist
|
||||
/static/daemon/lbrynet*
|
||||
.AppleDouble
|
||||
.LSOverride
|
||||
node_modules
|
||||
dist
|
||||
/static/lbrynet*
|
||||
/static/daemon
|
||||
/static/locales
|
||||
yarn-error.log
|
||||
package-lock.json
|
||||
.transifexrc
|
||||
.idea/
|
||||
/build/daemon*
|
||||
/build/daemon*
|
||||
/lbrytv/dist/
|
||||
/lbrytv/node_modules
|
||||
/static/lbry-first/
|
||||
/build/lbryFirst*
|
||||
/web/dist/*
|
||||
/web/node_modules/*
|
||||
/web/.env
|
||||
/web/.env.defaults
|
||||
/custom/*
|
||||
/custom/homepages/*
|
||||
/custom/content/*
|
||||
!/custom/content/default.json
|
||||
!/custom/content/test.json
|
||||
!/custom/homepages/.gitkeep
|
||||
!/custom/homepages
|
||||
!/custom/content
|
||||
!/custom/homepage.example.js
|
||||
!/custom/robots.disallowall
|
||||
!/custom/robots.allowall
|
||||
.env
|
||||
+6
-10
@@ -1,13 +1,9 @@
|
||||
{
|
||||
"linters": {
|
||||
"src/**/*.{js,jsx,scss,json}": [
|
||||
"prettier --write",
|
||||
"git add"
|
||||
],
|
||||
"src/**/*.{js,jsx}": [
|
||||
"eslint --fix",
|
||||
"flow focus-check --color always",
|
||||
"git add"
|
||||
]
|
||||
}
|
||||
"ui/**/*.{js,jsx,scss,json}": ["prettier --write", "git add"],
|
||||
"web/**/*.{js,jsx,scss,json}": ["prettier --write", "git add"],
|
||||
"ui/**/*.{js,jsx}": ["eslint", "flow focus-check --color always", "git add"],
|
||||
"web/**/*.{js,jsx,scss}": ["eslint", "git add"]
|
||||
},
|
||||
"ignore": ["node_modules", "web/dist/**/*", "dist/**/*", "package-lock.json"]
|
||||
}
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"trailingComma": "es5",
|
||||
"printWidth": 100,
|
||||
"printWidth": 120,
|
||||
"singleQuote": true
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
[defaults]
|
||||
url = https://sentry.lbry.tech/
|
||||
org = lbry
|
||||
project = lbry-desktop-web
|
||||
-77
@@ -1,77 +0,0 @@
|
||||
matrix:
|
||||
include:
|
||||
- os: osx
|
||||
env: TARGET=mac
|
||||
osx_image: xcode9.2
|
||||
language: node_js
|
||||
node_js: '9'
|
||||
- os: linux
|
||||
env: TARGET=windows
|
||||
services: docker
|
||||
language: node_js
|
||||
node_js: '9'
|
||||
- os: linux
|
||||
env: TARGET=linux
|
||||
language: node_js
|
||||
node_js: '9'
|
||||
cache: false
|
||||
before_install:
|
||||
- |
|
||||
unset TRAVIS_COMMIT_MESSAGE;
|
||||
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
|
||||
mkdir -p /tmp/git-lfs && curl -L https://github.com/github/git-lfs/releases/download/v2.3.1/git-lfs-$([ "$TRAVIS_OS_NAME" == "linux" ] && echo "linux" || echo "darwin")-amd64-2.3.1.tar.gz | tar -xz -C /tmp/git-lfs --strip-components 1
|
||||
export PATH="/tmp/git-lfs:$PATH"
|
||||
else
|
||||
sudo apt-get -qq update
|
||||
sudo apt-get install -y libsecret-1-dev
|
||||
sudo apt-get install --no-install-recommends -y gcc-multilib g++-multilib
|
||||
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.6.0
|
||||
export PATH="$HOME/.yarn/bin:$PATH"
|
||||
fi
|
||||
before_script:
|
||||
- git lfs pull
|
||||
- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then unset WIN_CSC_LINK; unset CSC_LINK; fi
|
||||
script:
|
||||
- |
|
||||
if [ "$TARGET" == "windows" ]; then
|
||||
# Remove any special characters before adding to our list of ENVs
|
||||
# https://github.com/electron-userland/electron-builder/issues/2450#issuecomment-421788155
|
||||
ENVS=`env | grep -iE '(DEBUG|NODE_|ELECTRON_|YARN_|NPM_|CI|CIRCLE|TRAVIS|APPVEYOR_|CSC_|_TOKEN|_KEY|AWS_|STRIP|BUILD_|TARGET)([A-Z]|_)*=' | sed -n '/^[^\t]/s/=.*//p' | sed '/^$/d' | sed 's/^/-e /g' | tr '\n' ' '`
|
||||
docker run $ENVS --rm \
|
||||
-v ${PWD}:/project \
|
||||
electronuserland/builder:wine \
|
||||
/bin/bash -c "env | grep -v '\r' | grep -iE 'DEBUG|TARGET|NODE_|ELECTRON_|YARN_|NPM_|CI|CIRCLE|TRAVIS|APPVEYOR_|CSC_|GH_|GITHUB_|BT_|AWS_|STRIP|BUILD_|WIN_' && yarn --link-duplicates --pure-lockfile && yarn build --win --publish onTag";
|
||||
fi
|
||||
- if [ "$TARGET" == "mac" ]; then yarn build --publish onTag; fi
|
||||
- if [ "$TARGET" == "linux" ]; then yarn --link-duplicates --pure-lockfile && yarn
|
||||
build --linux --publish onTag; fi
|
||||
addons:
|
||||
artifacts:
|
||||
working_dir: dist
|
||||
paths:
|
||||
- $(git ls-files -o dist/{*.dmg,*.exe,*.deb} | tr "\n" ":")
|
||||
target_paths:
|
||||
- "/app/build-${TRAVIS_BUILD_NUMBER}_commit-${TRAVIS_COMMIT:0:7}$([ ! -z ${TRAVIS_TAG}
|
||||
] && echo _tag-${TRAVIS_TAG})"
|
||||
env:
|
||||
global:
|
||||
- ARTIFACTS_REGION=us-east-1
|
||||
- ARTIFACTS_BUCKET=build.lbry.io
|
||||
- DANGER_GITHUB_API_TOKEN=f8b612049cbda985c251e18ae36c7a2b9c6c92df
|
||||
- ARTIFACTS_DEBUG=1
|
||||
- WIN_CSC_LINK=https://s3.amazonaws.com/files.lbry.io/cert/win-csc-2018-2019-08.p12
|
||||
- CSC_LINK=https://s3.amazonaws.com/files.lbry.io/cert/osx-cert.p12
|
||||
#AWS_SECRET_ACCESS_KEY
|
||||
- secure: aF0dZ1ub0r6X5SaTH7YYRpV8cl2gkU2tA7y2tkvGZQL0+Vv2FvkhwaXREa9IM9djm7r3W7I8vEekk6Skn300kIBwQ04COxgu+Oeqjsc2a529wmF9AN5EwKExKkVQFIjMjpMBmd/fE05PD29C0vULdtIMX8uhDe5zFE+tGD1QmwKVZ+55oCxJmt7vsQwQr46s/BsPODrZhvSUPWTUG4HSsc5DJwe/XYY+35vWQsnpCkBVabAZg+lnOpqLioRNzTsBX1oSkqTX9uvOC6fN+NlpbJWetzXsBciFcMHQCx9UHxu+Ibn3W3V8FVYRuFLAinhIg+JoVQHU8mH60ggjizATpgx12riP9e/Uwho5x5bgIYmnIBf4AHqupPv40iC/THMvsS08hCQHicu+/WiAvvN8wNQ1sqpj0+RTreB+4/qdRdwTs70t4jNV83cP+nAuekMCC7uYQ08GLmFNaa+x8NgDZa3JQv7EmXU0ALWVPeJ9UEV+dhEs5iI+7bLEhTUOuvBBWo17F4pst3pfS1j7md1x4wKFRWyP7IFmjK+L1KiAH94c/LIz2Nlp5yCDfbcwU5W/wCHYAxu5c8qnAlkxeub0GpxtZ66j6oOehk1lsHYxaZcBxyn7XhM1A6Mjxgy9OG0WGyYun8iH3aa4WcY0BO21l7je75s7l0qNSRS80st8kUE=
|
||||
#AWS_ACCESS_KEY_ID
|
||||
- secure: HHlUGaEjk0qsW9qb/93jdFhJypiDuJ0e6Z4UClW3ciMfdZ22Ur4D0oL0mgVguigTjdkf1Yy4Z1kWtWvtvQ8DBI+mdOl5GTMpX5nMattcuK/4gFXmqz30S3c07IPkilGKkAT64JqRGT7AvQTaV/tXqNNN9BbWCTAJSnhfzYJFvZQjnSmAAQvbqzMWEEein53244fWbDio462T7vzfbEHJD1pVUSrAMrKDgFSrIKJf4GQHceUk+fqWBjAsWN8USboo88JSLXn5qhD3ZczsgtZ2gi2KTvdfrHfZ5SpOzwc2AGr8U1laQzzW8c8xsPJPmM/3dCri/clcXassa4t/+2INYTPhKbmaD9hvjFRRMpoNjMCmPRJOmojxit8tqzCrw4nSGdr3/Bt0JjpLq90mfyL83YYU4gJXF97KzTl0lCy/DFXjBiHA9riRJVaXn3CI6L0i1RLCJI+C/rT9ErFB767t0aQtXlIWSZQ+IqWaoUdp57t0e2EtbRcjK7IYIXLNgZSbR0bY/TS005D/xZkexCpAtcV9F6iqDYP3HbGyiQqC75se0MqpNrZAx1a7WsSnumOcmtuU6LRriwjM0GXEACfGLCp4w4LBzKPwrOOg4QOhewHKgxpUff8KMlfTZ+Z8B7NBNjKSPbxiMedmpsiWpPRy6VeyvwNz32PUpjdsF3tIYMk=
|
||||
#GH_TOKEN
|
||||
- secure: g0gSiOmCKFzxLFV//oogmex+MkumCcGJ8CtvLzojAw1qhI1P6dGRH06yuCgBNW4PQGbbrYR2tntGEeq66LZ1bU7BJ2bdkv5lBi15JPH4POpA3OSc88YebitKIyIBI2WHA3VNCkF1JEFvrfTUX+4PjP+9h6vZ9tdfzezNTpc70SrGkWMhaoe+F8u6jCL63VBpnncf0foz3WlqUFNoIdinQLYxI6S2QmHz1p1HToC+MOosBgWDufX2+6B/Efq7JDFZgx/zItFzR1OCafKx8rScUd4woAqK+8mt862IzzEbztTv6IPSdhx/hsbO7rHMcjDFk/MuDeC9TaaXqMvvKmLuvWKH+dy4BvIiJJ/WuDfzumrw+8BvTbcnXFXkEXTlkQnZD0otBZsmI4/OPH5vIGUmVIwBFXjPBcNq/Xwig8hRCxrdioEZPO4C17fMCdOn3gAx+GcMddfAIKnrlG/XK2jL8kCylL7++OEkedzYiHWA7p9eaJDjxYmIxKcfYTyF4VIMYS/wAC5W1zi1AjM5BiUhBGp/Vd+f3UUTOsqWOmS4A8cqhK/rbx4xgdwUuv2DoljeQtWd2xdZFr10L2ErmEIdfdtZBVyauaGOhhXUqpSAB5PAwSRNNWkZFCJXmqMHemih4jlfN/KS+rujh5dbyXz81BPjyxrDAziO4Q19rz7hmVI=
|
||||
#ARTIFACTS_KEY
|
||||
- secure: giJRkODdgvMpaLh58c3UKTy6j3IjUVQ2wVvLmECN8caVLuBnEp3U56rUT7sQPzeMoaF9goOLKXD1o+qKdGsLz2Dedi/3vFr3IXTgpYwO03eMkylYUDUwKXV1Fv14ME+wknw/Fshmty1XAc/RwlTaCks9usIRT9OE75HvV8ILVfLdSwwRR/TKFEdEDjAY/3ROVFsleDKBIe1AG/AHeN37Mwqfo39zpN5Zidm3HUegujsMsHtPQtUUCvCxiaiBtqIz79WQuiXjelLWrV53k+ulpptz4T6M8FO5jxBCL5HQMbYy4J8BhukAPHUcTVzarsDe1XEmP6xtClcAydMiHmzUBh9VbvRF8AKwGGO41g6OasgMaJ/eUlACGWTIS2AsqgkXCEgWRtswwI4edLgT/F74fKxGV82zRYLcmjWceGc9H6m2YfIIQZ2PNsDloFgTWa63oZ1sT20fWmNohD3IgVK21rjrCnMbp5/RfBdihR1+GsS8wMA15nhUW3SHfSHKV0009FZdDjxgmigjjmFt1/SM8YGZDijQc7DoUsrScR9n2JR+KVqEED3BYOviw0M0blb6b2dqK0A3+N5C1RGt8Uu8AAuAzdPDviL38m4n1UOdI1Tij1boSfr1USvfipPfQXrqSWHIY3RITMmjPREmcdj2dbhjoUEFaFfp/b3sJxUI3I4=
|
||||
#ARTIFACTS_SECRET
|
||||
- secure: RtPES82DBisaCkernDm10u8mzNc8K4EyyTJUCopcFFJHfFpleuJOoXNFZGXixjHXWTxqc5+IjLThBZFG6krTpD4ocftfkBNeVDXL91JsGRW6X4VBpKaJp1UJZZiYjpPZRJDwVuIb570WcX3xXmsvAwwdODkeXgBZoOw+LZIz4HV3OACi5iaWCx4+2WvQiaz/6mRkLlw9iY1m9gCGQXXUSWyY+bGWsOdGWpfp/VfzpX7mBJbcIYjvRYSnBtVUFkEzxHlaR/CFc7Jio45EUImhBKqKV8QGAiv9AowcWqQn8y2SuW8J66bkaZGbGpyEdsRQDJKUU5naRIFJ/002e4XjI2moBfSHHnFTMH/AawA4b+gCjein8jDiRugJw8AqC4KpG660SFJwC4A8IxfPcXWcykahrL6kJhs+NFbyxQEJIMUqP6UAAiPAuUr/Whq1F8x5b39pEibRZ3Vv0Bix/lUj4cWZYRBL1ckoUgSCeG7llkAdnxLuQKfDvTw+HFcWGq7yg/ye7H7CwpBJkSSOlnQ61nuucC82hVqBGoPGbFW3vjS0BqesLcaO7kwW/fdBnIxwLiWWHDWol0aLfQLEzjUzpS+tA1YYKvrG+yNMEeYtHEK9ZcltQD52uEtjK26DIY8tQU8PxMlXha6/XTOlt8MIcl8IPULmVWKT9k8LPTFQiXc=
|
||||
#CSC_KEY_PASSWORD
|
||||
- secure: TDKeF7/WGwR+di+JhNp29x7NPzVMO/q+72n58zB5goI1NUKaeKgjeWbfVYx9f+4G9a9/pdDVUfORt8i6OW8ZhhqYS4E8G5F56q+oX3nrjNqM8NqoK09ehZS/wdYGbenG9oTfXYenDdwusZV4Fq0BRRLjqAIXPQCKg3//MKseh/1fHDGVGXpYUimHRSCkwspbbfB/9Qw9KEBjweeXiAwB+5F+E7fPlVtqsIvtkkED1hKe0Z8HdECC6JTZ0ZHPDDFGV3aondXQDgUlfchnZ6HDdNDO5y/hPEj0laiZQ7BssenJ8Z7qjHc5O9AKXfG+6WFICHvtgjQ0+x6rk6gpvJcyI1x2+Kck/s0EcSkFY+Yz81BxdehIeKPn9U8LpGaFbtxsp01661yeaIpAqT/PqFsdj/kFXFT6gwZlGGPMBm2WgQR4A61qkOO1jokqz/z6CnY+MNeE8E1Fh4bFoZ0JwUJFJugoyDahHpVlLw5lZaSipJO6RZ1xjoZ3XGmxvtkM4dQ16xQ++Q8EgD878uCWn2jZ5YTQdKANfXYTKSiQfoEjLeX0T6I6GSdim4ZURjcolmGNMH/3jhISOXj+e2UkLc6jwO4Ek084o6ciJ2JjqEhXvXOCeRJ2I9cf2dEk7CvtbitiDly6XATo2FP4hqNdcNNWyj/jFvuTwFT6hzBqLk1BCBc=
|
||||
#WIN_CSC_KEY_PASSWORD
|
||||
- secure: LBwkNMw5paoxpeLcNvAbrSLghLH0kXmgctBkUK6hgqJ/6WReWKlERUCwWQp/NcAB5Nb8fUTV8hXz1UjeQG1HH65geRcxya9sf9xu446e2gRdYGfYk7AhZdIw97IlwTYv2tpnjejiVXIoClQjKRYtOkRC4BIGW+Ydun1hwEUXTVMCplOzPhpLrkJCIDDDdM4eJjWm6ZMshCKRlnt42sNdx63FHBAH72rqBnt2jd+ISIadASnWz0nQlN5aIvXR6cLZfSl8Qt/JDL+LXzWX+pNA4BegCtW3hBoLrW18QdNPxrvPCvKjRCC3LHuv+KEGbzGv/QkXg5f9BKZehIZ/hjYgxysjeHBI8yOfCoyrDafxSIso5ja2TtL9lLpW90gbkbtEFiaL2XOMUbQcwWQ6RShSoLZxgiAl6zUmrq3UtS30OjnjWgMj+WnU2BcgpmpPzU0Hz/fblX6/EnwXhPNRYZvm5JyhVRYLZypLWuV4XsWGuLbUOOrsYi7UvU+xo+3AaxbUW4A6XuQ/DUh0ZVNlpPGcVi7A2tx4/46Wm0oLwQ5NYVukHbEiHWZ4HuKqSionwtgG0T2a6/7JQdH7gb+/86z4YHmK89dd/aE84hBUGTB/pNvvtDBYBE3c60SzL0CFPJZrbz9E0gVhLfsHO+5/VCFIipgM8mYoVzsq+cONKbqUPCg=
|
||||
+2
-3
@@ -1,8 +1,7 @@
|
||||
[main]
|
||||
host = https://www.transifex.com
|
||||
|
||||
[lbry-deskop.app-strings]
|
||||
file_filter = dist/locales/<lang>.json
|
||||
source_file = dist/locales/en.json
|
||||
[lbry-desktop.app-strings]
|
||||
source_file = static/app-strings.json
|
||||
source_lang = en
|
||||
type = KEYVALUEJSON
|
||||
+904
-4
@@ -1,9 +1,909 @@
|
||||
# Change Log
|
||||
# Changelog
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
|
||||
## [Unreleased for Desktop]
|
||||
|
||||
### Added
|
||||
|
||||
- Send a tip with your comment ([#5920](https://github.com/lbryio/lbry-desktop/issues/5920))
|
||||
- Search for tags in search dropdown ([#5876](https://github.com/lbryio/lbry-desktop/issues/5876))
|
||||
- Japanese, Afrikaans, Filipino, Thai and Vietnamese language support ([#5684](https://github.com/lbryio/lbry-desktop/issues/5684))
|
||||
- Highlight comments made by content owner _community pr!_ ([#5744](https://github.com/lbryio/lbry-desktop/pull/5744))
|
||||
- Ability to report infringing content directly from the application ([#5808](https://github.com/lbryio/lbry-desktop/pull/5808))
|
||||
- Re-added ability to export wallet transactions ([#5899](https://github.com/lbryio/lbry-desktop/pull/5899))
|
||||
|
||||
### Changed
|
||||
|
||||
- Keyboard shortcut additions and changes _community pr!_ ([#5717](https://github.com/lbryio/lbry-desktop/pull/5717))
|
||||
- Removed the 10k character-limit when editing _Posts_ ([#5719](https://github.com/lbryio/lbry-desktop/pull/5719))
|
||||
|
||||
### Fixed
|
||||
|
||||
- Lazy-load claim images to improve app responsiveness ([#5795](https://github.com/lbryio/lbry-desktop/issues/5795))
|
||||
- Fix display of upload date and view count on smaller screens ([#5822](https://github.com/lbryio/lbry-desktop/issues/5822))
|
||||
- Autoplay looping to a previous video or itself ([#5711](https://github.com/lbryio/lbry-desktop/pull/5711))
|
||||
- Autoplay not working in mini-player mode ([#5716](https://github.com/lbryio/lbry-desktop/pull/5716))
|
||||
- Edited claim accidentally moved to 'Anonymous' ([#5767](https://github.com/lbryio/lbry-desktop/pull/5767))
|
||||
|
||||
## [0.50.2] - [2021-04-2]
|
||||
|
||||
### Changed
|
||||
|
||||
- Disable PDFs until security issue is fixed
|
||||
|
||||
## [0.50.1] - [2021-03-18]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Upgrade modal extended beyond the height of the app ([#5709](https://github.com/lbryio/lbry-desktop/pull/5709))
|
||||
|
||||
## [0.50.0] - [2021-03-18]
|
||||
|
||||
### Added
|
||||
|
||||
- New moderation tools: block & mute ([#5572](https://github.com/lbryio/lbry-desktop/pull/5572))
|
||||
- Improved markdown file styling ([#5659](https://github.com/lbryio/lbry-desktop/pull/5659))
|
||||
- Mass tip unlock ([#5409](https://github.com/lbryio/lbry-desktop/pull/5387))
|
||||
- Zoomable image viewer in Markdown (posts and comments) _community pr!_ ([#5387](https://github.com/lbryio/lbry-desktop/pull/5387))
|
||||
- Enable PDF Viewer in App _community pr!_ ([#2903](https://github.com/lbryio/lbry-desktop/issues/2903))
|
||||
- The search bar now handles both lbry.tv and Odysee links regardless of which site the user is in ([#5604](https://github.com/lbryio/lbry-desktop/issues/5604))
|
||||
- The video/audio player's control tooltip is now localized and includes hints for keyboard shortcuts ([#5584](https://github.com/lbryio/lbry-desktop/issues/5584))
|
||||
- Finnish and Norwegian language support ([#5532](https://github.com/lbryio/lbry-desktop/issues/5532))
|
||||
|
||||
### Changed
|
||||
|
||||
- Updated lbry-sdk to [0.92.0](https://github.com/lbryio/lbry-sdk/releases/tag/v0.92.0)
|
||||
- Re-enable PDF Viewer in desktop app _community pr!_ ([#5420](https://github.com/lbryio/lbry-desktop/issues/5420))
|
||||
|
||||
### Fixed
|
||||
|
||||
- Player doesn't stop playing when editing a comment that includes a video url _community pr!_ ([#5384](https://github.com/lbryio/lbry-desktop/pull/5384))
|
||||
- Main video/audio playback stopped every time a comment is edited or deleted ([#5606](https://github.com/lbryio/lbry-desktop/pull/5606))
|
||||
- Winning search result not working correctly with mature content enabled _community pr!_ ([#5388](https://github.com/lbryio/lbry-desktop/pull/5388))
|
||||
- Home/End key not working as expected in Search Bar ([#5642](https://github.com/lbryio/lbry-desktop/pull/5642))
|
||||
- Fixes to inline videos in comments _community pr!_ ([#5389](https://github.com/lbryio/lbry-desktop/pull/5389))
|
||||
- Search page crashing on some results ([#5428](https://github.com/lbryio/lbry-desktop/pull/5428))
|
||||
- Long channel names caused comments to extend underneath related content _community pr!_ ([#5431](https://github.com/lbryio/lbry-desktop/pull/5431))
|
||||
- Keep floating player always visible _community pr!_ ([#5448](https://github.com/lbryio/lbry-desktop/pull/5448))
|
||||
- LBRY Desktop incorrectly setting itself as the default HTML-file application in Linux ([#5617](https://github.com/lbryio/lbry-desktop/pull/5617))
|
||||
- All notifications being cleared when only 1 is clicked ([#5619](https://github.com/lbryio/lbry-desktop/pull/5619))
|
||||
- Markdown editor's "Create Link (Ctrl-K)" action now directly highlights the URL stub when the label is present ([#5585](https://github.com/lbryio/lbry-desktop/issues/5585))
|
||||
|
||||
## [0.49.4] - [2021-01-26]
|
||||
|
||||
### Added
|
||||
|
||||
- Theater mode ([#5255](https://github.com/lbryio/lbry-desktop/pull/5255))
|
||||
- Repost flow improvements ([#5293](https://github.com/lbryio/lbry-desktop/pull/5293))
|
||||
- Desktop: Enable 'Alt+Left/Right' for history navigation _community pr!_ ([#5203](https://github.com/lbryio/lbry-desktop/pull/5203))
|
||||
- Make playback rate setting persistent _community pr!_ ([#5310](https://github.com/lbryio/lbry-desktop/pull/5310))
|
||||
- Make UI zoom setting persistent _community pr!_ ([#5385](https://github.com/lbryio/lbry-desktop/pull/5385))
|
||||
|
||||
### Changed
|
||||
|
||||
- No longer supporting 32 bit windows
|
||||
- Updated lbry-sdk to [0.88.0](https://github.com/lbryio/lbry-sdk/releases/tag/v0.88.0)
|
||||
- Improve how spendable balance is displayed ([#5409](https://github.com/lbryio/lbry-desktop/pull/5276))
|
||||
|
||||
### Fixed
|
||||
|
||||
- Lots of bug fixes
|
||||
- Fix bug where subscriptions could be lost ([#5302](https://github.com/lbryio/lbry-desktop/pull/5302))
|
||||
|
||||
## [0.49.3] - [2020-12-30]
|
||||
|
||||
### Added
|
||||
|
||||
- Turn timestamps in a video's description and comments into links _community pr!_ ([#5156](https://github.com/lbryio/lbry-desktop/pull/5156))
|
||||
- Mobile video player enhancements and the ability to tap on the left and right edges to seek _community pr!_ ([#5119](https://github.com/lbryio/lbry-desktop/pull/5119))
|
||||
- Added tile layout for tags page [a0ec5](https://github.com/lbryio/lbry-desktop/commit/a0ec5097d93496b92736e1682f9fb2d20dadf425).
|
||||
|
||||
### Changed
|
||||
|
||||
- Repost option now has a full page and can be triggered from search results (click "View competing uploads for ...").
|
||||
|
||||
### Fixed
|
||||
|
||||
- [Upgrade SDK to 0.87.0](https://github.com/lbryio/lbry-sdk/releases/tag/v0.87.0). Forces wallet resync which fixes balance issues for some users and improves memory usage.
|
||||
|
||||
## [0.49.1] - [2020-12-15]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Sidenav unable to open when on the file page
|
||||
- Fix "open external" button to open files on your OS
|
||||
|
||||
## [0.49.0] - [2020-12-10]
|
||||
|
||||
### Added
|
||||
|
||||
- Better search suggestions ([#5124](https://github.com/lbryio/lbry-desktop/pull/5124))
|
||||
- Inline video player in comments/markdown posts ([#4894](https://github.com/lbryio/lbry-desktop/pull/4894))
|
||||
- Better handling of winning claim + top page improvements ([#4944](https://github.com/lbryio/lbry-desktop/pull/4944))
|
||||
- Comment pinning ([#4895](https://github.com/lbryio/lbry-desktop/pull/4895))
|
||||
- Comment reactions ([#4895](https://github.com/lbryio/lbry-desktop/pull/4895))
|
||||
- Language search ([#4907](https://github.com/lbryio/lbry-desktop/pull/4907))
|
||||
- Content notifications ([#4981](https://github.com/lbryio/lbry-desktop/pull/4981))
|
||||
- Customize scrollbar to fit the dark theme _community pr!_ ([#5056](https://github.com/lbryio/lbry-desktop/pull/5056))
|
||||
- Keyboard shortcut: adjust video playback-rate using ">" and "<" _community pr!_ ([#5075](https://github.com/lbryio/lbry-desktop/pull/5075))
|
||||
|
||||
### Changed
|
||||
|
||||
- Updated lbry-sdk to [0.86.1](https://github.com/lbryio/lbry-sdk/releases/tag/v0.86.1)
|
||||
- Refactored file/lbc details UI ([#4937](https://github.com/lbryio/lbry-desktop/pull/4937))
|
||||
|
||||
### Fixed
|
||||
|
||||
- Loss of subscriptions on startup ([#4882](https://github.com/lbryio/lbry-desktop/pull/4882))
|
||||
- Fix lost search results when a timeout occurs _community pr!_ ([#4996](https://github.com/lbryio/lbry-desktop/pull/4996))
|
||||
- Can't slide volume slider in pop-sout mode _community pr!_ ([#4913](https://github.com/lbryio/lbry-desktop/pull/4913))
|
||||
- Hide mouse cursor when video is playing _community pr!_ ([#5046](https://github.com/lbryio/lbry-desktop/pull/5046))
|
||||
|
||||
## [0.48.2] - [2020-10-16]
|
||||
|
||||
### Changed
|
||||
|
||||
- Disable snapshot thumbnail upload on desktop until Electron issue is fixed ([#4905](https://github.com/lbryio/lbry-desktop/pull/4905))
|
||||
|
||||
### Fixed
|
||||
|
||||
- Files not opening externally properly ([#4908](https://github.com/lbryio/lbry-desktop/pull/4908))
|
||||
|
||||
## [0.48.1] - [2020-10-14]
|
||||
|
||||
### Added
|
||||
|
||||
- Add Publish Preview dialog _community pr!_ ([#4620](https://github.com/lbryio/lbry-desktop/pull/4620))
|
||||
- "ctrl/cmd+enter" can now be used to directly submit a comment ([#4809](https://github.com/lbryio/lbry-desktop/pull/4809))
|
||||
- Deeper comment thread depth ([#4868](https://github.com/lbryio/lbry-desktop/pull/4868))
|
||||
|
||||
### Changed
|
||||
|
||||
- Updated lbry-sdk to [0.83.0](https://github.com/lbryio/lbry-sdk/releases/tag/v0.83.0)
|
||||
- Upgrade electron to v9 ([#4824](https://github.com/lbryio/lbry-desktop/pull/4824))
|
||||
- Fade out expandable areas (e.g. comments, file description) when collapsed _community pr!_ ([#4818](https://github.com/lbryio/lbry-desktop/pull/4818))
|
||||
|
||||
### Fixed
|
||||
|
||||
- Videos started as muted on initial desktop session _community pr!_ ([#4864](https://github.com/lbryio/lbry-desktop/pull/4864))
|
||||
|
||||
## [0.48.0] - [2020-09-23]
|
||||
|
||||
### Added
|
||||
|
||||
- New File Page layout + make sidebar collapsable ([#4648](https://github.com/lbryio/lbry-desktop/pull/4648))
|
||||
- Block mature content when accessed directly from URL _community pr!_ ([#4560](https://github.com/lbryio/lbry-desktop/pull/4560))
|
||||
- You can now add LBRY as a search engine in your browser (via OpenSearch) _community pr!_ ([#4640](https://github.com/lbryio/lbry-desktop/pull/4640))
|
||||
- In-app text and markdown publishing and editing _community pr!_ ([#4591](https://github.com/lbryio/lbry-desktop/pull/4591))
|
||||
- New comment stats on creator analytics page _jiggytom certified_ ([#4715](https://github.com/lbryio/lbry-desktop/pull/4715))
|
||||
|
||||
### Changed
|
||||
|
||||
- Move file properties over thumbnails for more space-saving ([#4632](https://github.com/lbryio/lbry-desktop/pull/4632))
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fix sluggish Back button when navigation back to channels with lots of comments _community pr!_ ([#4576](https://github.com/lbryio/lbry-desktop/pull/4576))
|
||||
- Fix 'Related' and 'Comments' section lazy-load not working in some scenarios _community pr!_ ([#4586](https://github.com/lbryio/lbry-desktop/pull/4586))
|
||||
- Fix comment-creation failure if you have recently deleted a channel _community pr!_ ([#4630](https://github.com/lbryio/lbry-desktop/pull/4630))
|
||||
- Tip Modal: Don't do final submit when the intention is to create New Channel _community pr!_ ([#4629](https://github.com/lbryio/lbry-desktop/pull/4629))
|
||||
- Fix related + search results loading slowly ([#4657](https://github.com/lbryio/lbry-desktop/pull/4657))
|
||||
- Fix partially untranslated text in the Upgrade Modal _community pr!_ ([#4722](https://github.com/lbryio/lbry-desktop/pull/4722))
|
||||
- Fix floating player being paused after dragging _community pr!_ ([#4710](https://github.com/lbryio/lbry-desktop/pull/4710))
|
||||
- Web: Fix 'Download' not triggering until second attempt _community pr!_ ([#4721](https://github.com/lbryio/lbry-desktop/pull/4721))
|
||||
- Floating player: Stay within screen when window is resized _community pr!_([#4750](https://github.com/lbryio/lbry-desktop/pull/4750))
|
||||
- App crash when including % sign in search _community pr!_([#4753](https://github.com/lbryio/lbry-desktop/pull/4753))
|
||||
- Fix markdown editor "preview" not working when `<iframe>`s are present _community pr!_([#4767](https://github.com/lbryio/lbry-desktop/pull/4767))
|
||||
- First comment on claim not showing up immeditately ([#4747](https://github.com/lbryio/lbry-desktop/pull/4747))
|
||||
- Fix "Password updated successfully" kept showing up _community pr!_([#4766](https://github.com/lbryio/lbry-desktop/pull/4766))
|
||||
- Fix "Price=free" giving 0 results in Following query _community pr!_ ([#4489](https://github.com/lbryio/lbry-desktop/pull/4489))
|
||||
|
||||
## [0.47.1] - [2020-07-23]
|
||||
|
||||
### Added
|
||||
|
||||
- Allow zooming on Desktop _community pr!_ ([#4513](https://github.com/lbryio/lbry-desktop/pull/4513))
|
||||
- Show "YT Creator" label in File Page as well _community pr!_ ([#4523](https://github.com/lbryio/lbry-desktop/pull/4523))
|
||||
- Add option to retry video stream on failure _community pr!_ ([#4541](https://github.com/lbryio/lbry-desktop/pull/4541))
|
||||
- Allow blocking channels from comments ([#4557](https://github.com/lbryio/lbry-desktop/pull/4557))
|
||||
|
||||
### Changed
|
||||
|
||||
- Updated lbry-sdk to [0.79.1](https://github.com/lbryio/lbry-sdk/releases/tag/v0.79.1)
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fix 'transcoding' checkbox state when switching file types _community pr!_ ([#4529](https://github.com/lbryio/lbry-desktop/pull/4529))
|
||||
- Fix channel file-search not available in mobile _community pr!_ ([#4527](https://github.com/lbryio/lbry-desktop/pull/4527))
|
||||
- New Channel: Fix incorrect GUI configuration at entry _community pr!_ ([#4545](https://github.com/lbryio/lbry-desktop/pull/4545))
|
||||
- Hide blocked channels in comments ([#4557](https://github.com/lbryio/lbry-desktop/pull/4557))
|
||||
|
||||
## [0.47.0] - [2020-07-13]
|
||||
|
||||
### Added
|
||||
|
||||
- Add ability to sign supports ([#4382](https://github.com/lbryio/lbry-desktop/pull/4382))
|
||||
- Add "tap to unmute" button for videos that start with audio muted _community pr!_ ([#4365](https://github.com/lbryio/lbry-desktop/pull/4365))
|
||||
- Allow upgrade bar to be dismissed per session _community pr!_ ([#4413](https://github.com/lbryio/lbry-desktop/pull/4413))
|
||||
- Pause the "autoplay next" timer when performing long operations such as Tipping, Supporting or commenting _community pr!_ ([4419](https://github.com/lbryio/lbry-desktop/pull/4419))
|
||||
- Email notification management page ([#4409](https://github.com/lbryio/lbry-desktop/pull/4409))
|
||||
- Publish Page improvements to prevent accidental overwrites of existing claims _community pr!_ ([#4416](https://github.com/lbryio/lbry-desktop/pull/4416))
|
||||
- Option to remove abandoned claims from Blocked channels page _community pr!_ ([#4433](https://github.com/lbryio/lbry-desktop/pull/4433))
|
||||
- New channel create/edit page ([#4445](https://github.com/lbryio/lbry-desktop/pull/4445))
|
||||
- Add dialog to copy various types of links for a claim _community pr!_ ([#4474](https://github.com/lbryio/lbry-desktop/pull/4474))
|
||||
- Add password reset link to settings page for logged in users _community pr!_ ([#4473](https://github.com/lbryio/lbry-desktop/pull/4473))
|
||||
|
||||
### Changed
|
||||
|
||||
- Updated lbry-sdk to [0.77.0](https://github.com/lbryio/lbry-sdk/releases/tag/v0.77.0)
|
||||
- Merged Tip and Support Buttons into one UI on file page ([#4382](https://github.com/lbryio/lbry-desktop/pull/4382))
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fix report page layout ([#4384](https://github.com/lbryio/lbry-desktop/pull/4384))
|
||||
- Fix language-change not applied to components immediately _community pr!_ ([#4437](https://github.com/lbryio/lbry-desktop/pull/4437))
|
||||
- Fix scenarios where new search results are not appearing when scrolled to the bottom _community pr!_ ([4424](https://github.com/lbryio/lbry-desktop/pull/4424))
|
||||
- Fix incorrect creator status shown when navigating between channels _community pr!_ ([#4438](https://github.com/lbryio/lbry-desktop/pull/4438))
|
||||
- Fix unresolved translations in the Splash Screen _community pr!_ ([#4440](https://github.com/lbryio/lbry-desktop/pull/4440))
|
||||
- Fix Notification page button being incorrectly disabled by 0 blocked channels _community pr!_ ([#4449](https://github.com/lbryio/lbry-desktop/pull/4449))
|
||||
- Fix "Refresh" on Publish page not showing the loading indicator when pressed _community pr!_ ([#4451](https://github.com/lbryio/lbry-desktop/pull/4451))
|
||||
- Fix video duration not appearing on Mobile with enough width _community pr!_ ([#4452](https://github.com/lbryio/lbry-desktop/pull/4452))
|
||||
- Fix video transcode setting not reflected correctly (MP3 incorrectly transcoded to MP4) _community pr!_ ([#4458](https://github.com/lbryio/lbry-desktop/pull/4458))
|
||||
- Fix scrolling glitch when results are exactly the page size _community pr!_ ([#4521](https://github.com/lbryio/lbry-desktop/pull/4521))
|
||||
- Fix search results not appearing when scrolling due to long Tags or Following list in the navigation bar _community pr!_ ([#4465](https://github.com/lbryio/lbry-desktop/pull/4465))
|
||||
- Fix unmuted state lost or reverted when playing a new video _community pr!_ ([#4483](https://github.com/lbryio/lbry-desktop/pull/4483))
|
||||
|
||||
## [0.46.2] - [2020-06-10]
|
||||
|
||||
### Added
|
||||
|
||||
- Make library view mode (Downloads|Purchases) persistent _community pr!_ ([#4363](https://github.com/lbryio/lbry-desktop/pull/4363))
|
||||
|
||||
### Changed
|
||||
|
||||
- Updated lbry-sdk to [0.76.0](https://github.com/lbryio/lbry-sdk/releases/tag/v0.76.0)
|
||||
|
||||
### Fixed
|
||||
|
||||
- Overflow issue when editing replies _community pr!_ ([#4356](https://github.com/lbryio/lbry-desktop/pull/4356))
|
||||
- Comments wrapping in the middle of a word _community pr!_ ([#4354](https://github.com/lbryio/lbry-desktop/pull/4354))
|
||||
- Translation improvements _community pr!_ ([multiple PR's](https://github.com/lbryio/lbry-desktop/pulls?q=is%3Apr+author%3ATigerxWood+sort%3Aupdated-desc+is%3Amerged))
|
||||
|
||||
## [0.46.1] - [2020-06-08]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fix download button not working on claim previews ([1dcf16b](https://github.com/lbryio/lbry-desktop/commit/1dcf16b0b4dffff6335e8fdf988d38673243e014))
|
||||
- Fix app version tracking ([f11d068](https://github.com/lbryio/lbry-desktop/commit/f11d06817f0dd75a9c33a7a60150d25d56b66ba0))
|
||||
|
||||
## [0.46.0] - [2020-06-08]
|
||||
|
||||
### Added
|
||||
|
||||
- Can now purchase LBC inside of the app ([#4294](https://github.com/lbryio/lbry-desktop/pull/4294))
|
||||
- Allow video sharing with start timestamp _community pr!_ ([#4142](https://github.com/lbryio/lbry-desktop/pull/4142))
|
||||
- Expose reflector status for publishes ([#4148](https://github.com/lbryio/lbry-desktop/pull/4148))
|
||||
- More tooltip help texts _community pr!_ ([#4185](https://github.com/lbryio/lbry-desktop/pull/4185))
|
||||
- Add footer on web ([#4159](https://github.com/lbryio/lbry-desktop/pull/4159))
|
||||
- Support drag-and-drop file publishing _community pr!_ ([#4170](https://github.com/lbryio/lbry-desktop/pull/4170))
|
||||
- Add advanced editor for comments _community pr!_ ([#4224](https://github.com/lbryio/lbry-desktop/pull/4224))
|
||||
- Paid content improvements ([#4234](https://github.com/lbryio/lbry-desktop/pull/4234))
|
||||
- Add status-bar to display a link's destination _community pr!_ ([#4259](https://github.com/lbryio/lbry-desktop/pull/4259))
|
||||
- Add Catalan language support ([#4313](https://github.com/lbryio/lbry-desktop/pull/4313))
|
||||
|
||||
### Changed
|
||||
|
||||
- Updated lbry-sdk to [0.75.0](https://github.com/lbryio/lbry-sdk/releases/tag/v0.75.0)
|
||||
- Use "grab" cursor on floating player to make it easier to tell you can drag it _community pr!_ ([#4201](https://github.com/lbryio/lbry-desktop/pull/4201))
|
||||
- Confirm age before viewing mature content on web ([#4233](https://github.com/lbryio/lbry-desktop/pull/4233))
|
||||
- Pause thumbnail gifs until hover ([#4256](https://github.com/lbryio/lbry-desktop/pull/4256))
|
||||
|
||||
### Fixed
|
||||
|
||||
- Channel selector alignment on creator analytics page _community pr!_ ([#4157](https://github.com/lbryio/lbry-desktop/pull/4157))
|
||||
- Fix inconsistent relative-date string for claims, comments, etc. _community pr!_ ([#4172](https://github.com/lbryio/lbry-desktop/pull/4172))
|
||||
- Error opening certain files with special characters in name #2777 _community pr!_ ([#4161](https://github.com/lbryio/lbry-desktop/pull/4161))
|
||||
- Comic-book file page shows download button first, and then viewer after download _community pr!_ ([#4161](https://github.com/lbryio/lbry-desktop/pull/4161))
|
||||
- Only show "start at" on share modal for video/audio _community pr!_ ([#4194](https://github.com/lbryio/lbry-desktop/pull/4194))
|
||||
- Clear media position after video has played to the end _community pr!_ ([#4193](https://github.com/lbryio/lbry-desktop/pull/4193))
|
||||
- Text casing on publish page _community pr!_ ([#4186](https://github.com/lbryio/lbry-desktop/pull/4186))
|
||||
- Some strings not translating properly _community pr!_ ([#4238](https://github.com/lbryio/lbry-desktop/pull/4238))
|
||||
- Prevents page from scrolling while pressing the spacebar when the miniplayer is out of focus _community pr!_ ([#4204](https://github.com/lbryio/lbry-desktop/pull/4204))
|
||||
- Fixed some string translations _community pr!_ ([#4238](https://github.com/lbryio/lbry-desktop/pull/4238))
|
||||
- Fixed Publish page card double border _community pr!_ ([#4254](https://github.com/lbryio/lbry-desktop/pull/4254)
|
||||
|
||||
## [0.45.1] - [2020-05-06]
|
||||
|
||||
### Added
|
||||
|
||||
- Channel content preview on custom invite link page _community pr!_ ([#4040](https://github.com/lbryio/lbry-desktop/pull/4040))
|
||||
- Add Tooltips To Channel Action Buttons _community pr!_ ([#4090](https://github.com/lbryio/lbry-desktop/pull/4090))
|
||||
- Reenabled repost hiding with corresponding repost email suppression ([#4025](https://github.com/lbryio/lbry-desktop/pull/4025))
|
||||
- Enabled embeds in markdown posts ([#4060](https://github.com/lbryio/lbry-desktop/pull/4060))
|
||||
- Save media position in video viewer _community pr!_ ([#4104](https://github.com/lbryio/lbry-desktop/pull/4104))
|
||||
|
||||
### Changed
|
||||
|
||||
- Updated lbry-sdk to [0.72.0](https://github.com/lbryio/lbry-sdk/releases/tag/v0.72.0)
|
||||
- Show 'elapsed/total' instead of countdown timer on video player _community pr!_ ([#4049](https://github.com/lbryio/lbry-desktop/pull/4049))
|
||||
- Modified app strings about wallet backup, to emphasize that the wallet also controls claims _community pr!_ ([#4056](https://github.com/lbryio/lbry-desktop/pull/4056))
|
||||
- Add confirmation when sending tip respecting "Purchase and Tip Confirmation" (formerly "Purchase Confirmation") setting, now visible in lbry.tv _community pr!_ ([#4051](https://github.com/lbryio/lbry-desktop/pull/4051))
|
||||
- Hyperlinks in markdown now open in new tab _community pr!_ ([#4111](https://github.com/lbryio/lbry-desktop/pull/4111))
|
||||
|
||||
### Fixed
|
||||
|
||||
- Better deleted text file handling - will now redownload the file ([#4109](https://github.com/lbryio/lbry-desktop/pull/4109))
|
||||
- Fixed the title of the subscribe button getting out of sync on fast hover movements _community pr!_ ([#4054](https://github.com/lbryio/lbry-desktop/pull/4054))
|
||||
- Handle errors better on the creator analytics page and add a new card for stats on users most recent content ([#4043](https://github.com/lbryio/lbry-desktop/pull/4043))
|
||||
- Add fallback when images fail to load _community pr!_ ([#4019](https://github.com/lbryio/lbry-desktop/pull/4019))
|
||||
- Fetch new content when clicking LBRY logo while on homepage _community pr!_ ([#4031](https://github.com/lbryio/lbry-desktop/pull/4031))
|
||||
- Aligns text across browsers and desktop _community pr!_ ([#4050](https://github.com/lbryio/lbry-desktop/pull/4050))
|
||||
- Reselect channel as "replying as" when switching channels _community pr!_ ([#3926](https://github.com/lbryio/lbry-desktop/issues/3926))
|
||||
|
||||
## [0.45.0] - [2020-04-21]
|
||||
|
||||
### Added
|
||||
|
||||
- Password login with lbry.tv - [Blog post](https://open.lbry.com/@lbry:3f/passwords-on-lbrytv:2) ([#3960](https://github.com/lbryio/lbry-desktop/pull/3960))
|
||||
- Double confirmation to prevent accidentally deleting a channel ([#3958](https://github.com/lbryio/lbry-desktop/pull/3958))
|
||||
- Button to unlock all tips for a claim ([#3933](https://github.com/lbryio/lbry-desktop/pull/3933))
|
||||
|
||||
### Changed
|
||||
|
||||
- Updated lbry-sdk to [0.69.1](https://github.com/lbryio/lbry-sdk/releases/tag/v0.69.1)
|
||||
- Improved file page layout/styling ([#3918](https://github.com/lbryio/lbry-desktop/pull/3918))
|
||||
- Now using Github for auto-update downloads ([#3992](https://github.com/lbryio/lbry-desktop/pull/3992))
|
||||
- Now paginating wallet history using txo_list ([#3979](https://github.com/lbryio/lbry-desktop/pull/3979))
|
||||
|
||||
### Fixed
|
||||
|
||||
- Images were sometimes cut off depending on screen size _community pr!_ ([#3991](https://github.com/lbryio/lbry-desktop/pull/3991))
|
||||
- Error styling on repost modal ([#3943](https://github.com/lbryio/lbry-desktop/pull/3943))
|
||||
- Fix glitchy "follow" button _community pr!_ ([#3963](https://github.com/lbryio/lbry-desktop/pull/3963))
|
||||
|
||||
## [0.44.0] - [2020-04-01]
|
||||
|
||||
### Added
|
||||
|
||||
- Comment replies ([#3864](https://github.com/lbryio/lbry-desktop/pull/3864))
|
||||
- Display repost count on file pages with link to all reposts of that claim ([#3862](https://github.com/lbryio/lbry-desktop/pull/3862))
|
||||
- New creator analytics dashboard ([#3857](https://github.com/lbryio/lbry-desktop/pull/3857))
|
||||
- Better confirmation before deleting channels ([#3835](https://github.com/lbryio/lbry-desktop/pull/3835))
|
||||
- More claim information on file and channel pages ([#3831](https://github.com/lbryio/lbry-desktop/pull/3831))
|
||||
|
||||
### Changed
|
||||
|
||||
- Updated lbry-sdk to [0.67.1](https://github.com/lbryio/lbry-sdk/releases/tag/v0.67.1)
|
||||
- Add sign out confirmation modal on desktop to explain potential issues with signing into a new account ([#3837](https://github.com/lbryio/lbry-desktop/pull/3837))
|
||||
|
||||
### Fixed
|
||||
|
||||
- Show proper error message when thumbnail upload fails ([#3837](https://github.com/lbryio/lbry-desktop/pull/3837))
|
||||
- Don't show reward verification screen again if you click "skip" when viewing it ([#3809](https://github.com/lbryio/lbry-desktop/pull/3809))
|
||||
|
||||
## [0.43.4] - [2020-03-10]
|
||||
|
||||
### Changed
|
||||
|
||||
- Temporarily disabled lbry-format apps over security concerns ([#3824](https://github.com/lbryio/lbry-desktop/pull/3824))
|
||||
|
||||
### Fixed
|
||||
|
||||
- Links to list view weren't working on the homepage and channel discovery page ([#3810](https://github.com/lbryio/lbry-desktop/pull/3810))
|
||||
- Valid URL handling in search bar ([#3819](https://github.com/lbryio/lbry-desktop/pull/3819))
|
||||
|
||||
## [0.43.3] - [2020-03-06]
|
||||
|
||||
### Added
|
||||
|
||||
- New/Top/Trending options on Channel pages ([#3768](https://github.com/lbryio/lbry-desktop/pull/3768))
|
||||
- Encourage following channels through new discovery page on sign in ([#3756](https://github.com/lbryio/lbry-desktop/pull/3756))
|
||||
- Warnings about incompatible video format and high bitrates ([#3794](https://github.com/lbryio/lbry-desktop/pull/3794))
|
||||
- Additional filtering options (type / duration) alongside Top/Trending/New ([#3778](https://github.com/lbryio/lbry-desktop/pull/3778))
|
||||
- Czech and Kannada language support ([#3759](https://github.com/lbryio/lbry-desktop/pull/3759))
|
||||
|
||||
### Changed
|
||||
|
||||
- Default channel bid to 0.01 LBC and improve publish page warnings around insufficient credits ([#3781](https://github.com/lbryio/lbry-desktop/pull/3781))
|
||||
- Publish page - limit # of tags, improve wording on tag selection ([#3796](https://github.com/lbryio/lbry-desktop/pull/3796))
|
||||
- Upgrade Electron-builder and updater to latest version to support libcurl changes ([#3799](https://github.com/lbryio/lbry-desktop/pull/3799))
|
||||
- Upgrade [LBRY-SDK to 0.63.0](https://github.com/lbryio/lbry-sdk/releases/tag/v0.63.0) to fix Windows UPNP issues
|
||||
|
||||
### Fixed
|
||||
|
||||
- Some posted comments showing up as anonymous ([#3787](https://github.com/lbryio/lbry-desktop/pull/3787))
|
||||
- Back/forward mouse navigation on Desktop app ([#3763](https://github.com/lbryio/lbry-desktop/pull/3763))
|
||||
|
||||
## [0.43.2] - [2020-02-25]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fix for users who synced invalid preference data
|
||||
|
||||
## [0.43.1] - [2020-02-25]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Do not sync invalid preference data ([#3743](https://github.com/lbryio/lbry-desktop/pull/3743))
|
||||
|
||||
## [0.43.0] - [2020-02-25]
|
||||
|
||||
### Added
|
||||
|
||||
- Right click to navigate history on desktop ([#3650](https://github.com/lbryio/lbry-desktop/pull/3650))
|
||||
- Javanese language support ([#3685](https://github.com/lbryio/lbry-desktop/pull/3685))
|
||||
- Wallet sync status on the wallet page ([#3720](https://github.com/lbryio/lbry-desktop/pull/3720))
|
||||
- Channel discovery page ([#3700](https://github.com/lbryio/lbry-desktop/pull/3700))
|
||||
|
||||
### Changed
|
||||
|
||||
- Updated lbry-sdk to [0.61.0](https://github.com/lbryio/lbry-sdk/releases/tag/v0.61.0)
|
||||
- Drops support for publishing anonymous comments ([#3705](https://github.com/lbryio/lbry-desktop/pull/3705))
|
||||
- Don't remember past repost bid amount ([bbd263c](https://github.com/lbryio/lbry-desktop/commit/bbd263c4413935ee4fac7b7b79b7f73b42d9c1f6))
|
||||
|
||||
### Fixed
|
||||
|
||||
- Download all transactions when exporting from transaction table ([#3692](https://github.com/lbryio/lbry-desktop/pull/3692))
|
||||
|
||||
## [0.42.0] - [2020-02-14]
|
||||
|
||||
### Added
|
||||
|
||||
- Ability to repost claims ([#3663](https://github.com/lbryio/lbry-desktop/pull/3663))
|
||||
- New page for top claims for a specific claim name ([#3674](https://github.com/lbryio/lbry-desktop/pull/3674))
|
||||
- Language support for Danish, Romanian, and Urdu ([#3657](https://github.com/lbryio/lbry-desktop/pull/3657))
|
||||
- Ability to unfollow abandoned channels ([#3636](https://github.com/lbryio/lbry-desktop/pull/3636))
|
||||
|
||||
### Changed
|
||||
|
||||
- Updated lbry-sdk to [0.59.2](https://github.com/lbryio/lbry-sdk/releases/tag/v0.59.2)
|
||||
- Improvements to text file layouts ([#3511](https://github.com/lbryio/lbry-desktop/pull/3511))
|
||||
|
||||
### Fixed
|
||||
|
||||
- Always navigate backwards after deleting and abandoning a claim ([#3642](https://github.com/lbryio/lbry-desktop/pull/3642))
|
||||
|
||||
## [0.41.0] - [2020-02-05]
|
||||
|
||||
### Added
|
||||
|
||||
- Download buttons on file cards ([#3546](https://github.com/lbryio/lbry-desktop/pull/3546))
|
||||
- Comment edit and delete ([#3453](https://github.com/lbryio/lbry-desktop/pull/3453))
|
||||
- Basic display of reposts ([#3593](https://github.com/lbryio/lbry-desktop/pull/3593))
|
||||
- See previous navigation pages when right clicking forward/back buttons ([#3547](https://github.com/lbryio/lbry-desktop/pull/3547))
|
||||
- Autoplay countdown timer ([#3556](https://github.com/lbryio/lbry-desktop/pull/3556))
|
||||
|
||||
### Changed
|
||||
|
||||
- Better aria-labels for use with voiceover apps ([#3588](https://github.com/lbryio/lbry-desktop/pull/3588))
|
||||
|
||||
### Fixed
|
||||
|
||||
- Prevent spacebar from toggling fullscreen on Firefox ([#3546](https://github.com/lbryio/lbry-desktop/pull/3546))
|
||||
- Context menu not working properly in some cases ([#3604](https://github.com/lbryio/lbry-desktop/pull/3604))
|
||||
- Don't autoplay paid content or content from blocked channels ([#3570](https://github.com/lbryio/lbry-desktop/pull/3570))
|
||||
- Make claim previews right clickable ([#3631](https://github.com/lbryio/lbry-desktop/pull/3631))
|
||||
|
||||
## [0.39.1] - [2020-01-24]
|
||||
|
||||
### Added
|
||||
|
||||
- Analytics event for video buffering for easier debugging ([#3534](https://github.com/lbryio/lbry-desktop/pull/3534))
|
||||
|
||||
### Fixed
|
||||
|
||||
- Home page tiles not loading in some cases ([#3539](https://github.com/lbryio/lbry-desktop/pull/3539))
|
||||
- Spellcheck not working on the advanced publish description ([c6230ba](https://github.com/lbryio/lbry-desktop/commit/c6230ba024a1e1e84ea2be32aff234027cbb02d5))
|
||||
|
||||
## [0.39.0] - [2020-01-22]
|
||||
|
||||
### Added
|
||||
|
||||
- Adds the ability for users to update & delete comments ([#3453](https://github.com/lbryio/lbry-desktop/pull/3453))
|
||||
- New homepage design ([#3508](https://github.com/lbryio/lbry-desktop/pull/3508))
|
||||
- Revamped invites system ([#3462](https://github.com/lbryio/lbry-desktop/pull/3462))
|
||||
- Appimage support ([#3497](https://github.com/lbryio/lbry-desktop/pull/3497))
|
||||
- Better layout for viewing text files ([#3446](https://github.com/lbryio/lbry-desktop/pull/3446))
|
||||
- Show file as the thumbnail for free image claims ([#3317](https://github.com/lbryio/lbry-desktop/pull/3317))
|
||||
|
||||
### Changed
|
||||
|
||||
- Navigation redesign ([#3432](https://github.com/lbryio/lbry-desktop/pull/3432))
|
||||
- Move away from keychain and into a cookie for authentication ([#3497](https://github.com/lbryio/lbry-desktop/pull/3497))
|
||||
- Updated lbry-sdk to [0.54.1](https://github.com/lbryio/lbry-sdk/releases/tag/v0.54.1) for faster wallet syncing and improved stability
|
||||
|
||||
### Fixed
|
||||
|
||||
- Don't show edit screen for other channels ([#3470](https://github.com/lbryio/lbry-desktop/pull/3470))
|
||||
- Clear publish form when clicking "New Publish" ([#3463](https://github.com/lbryio/lbry-desktop/pull/3463))
|
||||
- Hide cursor on fullscreen videos ([#3458](https://github.com/lbryio/lbry-desktop/pull/3458))
|
||||
- Force color profile to render correct colors ([#3456](https://github.com/lbryio/lbry-desktop/pull/3456))
|
||||
- Video viewer not resizing properly ([#3427](https://github.com/lbryio/lbry-desktop/pull/3427))
|
||||
- Don't reset publish language to app language ([#261](https://github.com/lbryio/lbry-redux/pull/261))
|
||||
- Same file wasn't able to be reselected on publish after clearing the publish screen ([#3500](https://github.com/lbryio/lbry-desktop/pull/3500))
|
||||
- Make sure search results on channel page don't return content from other channels ([#3503](https://github.com/lbryio/lbry-desktop/pull/3503))
|
||||
|
||||
## [0.38.2] - [2019-12-21]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Always sync prefernces on startup
|
||||
- App no longer crashes on edits in some cases
|
||||
- Sign in will no longer get stuck
|
||||
|
||||
## [0.38.0] - [2019-12-20]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Issue with adding tags on publishes ([#3375](https://github.com/lbryio/lbry-desktop/pull/3375))
|
||||
|
||||
### Added
|
||||
|
||||
- Dedicated Channel Creation page ([#3305](https://github.com/lbryio/lbry-desktop/pull/3305))
|
||||
- Ability to use custom wallet servers ([#3361](https://github.com/lbryio/lbry-desktop/pull/3361))
|
||||
- Autoplay free text files ([#3357](https://github.com/lbryio/lbry-desktop/pull/3357))
|
||||
|
||||
### Changed
|
||||
|
||||
- Updated lbry-sdk to [0.50.0](https://github.com/lbryio/lbry-sdk/releases/tag/v0.50.0)
|
||||
- Always round down dates on claim previews for better yotube parity ([#3353](https://github.com/lbryio/lbry-desktop/pull/3353))
|
||||
|
||||
## [0.37.2] - [2019-11-21]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Channel pages not showing any page numbers ([#3237](https://github.com/lbryio/lbry-desktop/pull/3237))
|
||||
- Context menu does not open in the webapp when right-clicking video tiles ([#3135](https://github.com/lbryio/lbry-desktop/pull/3135))
|
||||
- Undefined tags prevents homepage from loading ([#3146](https://github.com/lbryio/lbry-desktop/pull/3146))
|
||||
|
||||
### Added
|
||||
|
||||
- Setting to start the app minimized when you login (Linux/Windows only) ([#3236](https://github.com/lbryio/lbry-desktop/pull/3236))
|
||||
- Search on downloads page ([#2969](https://github.com/lbryio/lbry-desktop/pull/2969))
|
||||
- Clear support state when clearing cache in settings([#3149](https://github.com/lbryio/lbry-desktop/pull/3149))
|
||||
- Allow disabling app updates for some linux based builds ([#3206](https://github.com/lbryio/lbry-desktop/pull/3206))
|
||||
- Add French, Turkish, Slovak, and Chinese language support and improved how we are loading languages ([#3180](https://github.com/lbryio/lbry-desktop/pull/3180))
|
||||
|
||||
### Changed
|
||||
|
||||
- Updated lbry-sdk to [0.46.1](https://github.com/lbryio/lbry-sdk/releases/tag/v0.46.1)
|
||||
- Optimized SDK calls for faster app startup and performance ([#3216](https://github.com/lbryio/lbry-desktop/pull/3216))
|
||||
|
||||
## [0.37.1] - [2019-10-22]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Wallet unlocking for YouTube Sync users with encrypted wallets ([#2566](https://github.com/lbryio/lbry-sdk/pull/2566))
|
||||
|
||||
- Syncing with no password when account first created on LBRY Android ([#3103](https://github.com/lbryio/lbry-desktop/pull/3103))
|
||||
|
||||
- Only show channel search bar on the content tab ([#3083](https://github.com/lbryio/lbry-desktop/pull/3083))
|
||||
|
||||
### Changed
|
||||
|
||||
- Upgrade to [LBRY SDK 0.43.3](https://github.com/lbryio/lbry-sdk/releases/tag/v0.43.3) to support above scenarios
|
||||
|
||||
## [0.37.0] - [2019-10-17]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Escape the generated link for tags ([#2984](https://github.com/lbryio/lbry-desktop/pull/2984))
|
||||
- Toggle fullscreen when pressing `f` ([#2159](https://github.com/lbryio/lbry-desktop/issues/2159))
|
||||
- Can't exit full-screen from embedded content with key `F11` ([#2514](https://github.com/lbryio/lbry-desktop/issues/2514))
|
||||
- Markdown rendering issues with LBRY URLs and channel mentions ([#2928](https://github.com/lbryio/lbry-desktop/issues/2928))
|
||||
- Incorrect styles of tooltip on dark theme ([#3031](https://github.com/lbryio/lbry-desktop/issues/3031))
|
||||
- Code tag not formatting content on markdown preview ([#3027](https://github.com/lbryio/lbry-desktop/issues/3027))
|
||||
- Missing tooltip on channel mention ([#3036](https://github.com/lbryio/lbry-desktop/issues/3036))
|
||||
- Fix gap between video player and background [(#3025)](https://github.com/lbryio/lbry-desktop/issues/3025)
|
||||
- Don't allow price to change from scrollwheel [(#3042)](https://github.com/lbryio/lbry-desktop/issues/3042)
|
||||
|
||||
### Added
|
||||
|
||||
- Comment Thumbnails ([#3108](https://github.com/lbryio/lbry-desktop/pull/3108))
|
||||
|
||||
- Syncing between other wallets is now supported for existing users ([#3058](https://github.com/lbryio/lbry-desktop/pull/3058))
|
||||
|
||||
- Keyboard shortcuts for the following actions: ([#2999](https://github.com/lbryio/lbry-desktop/pull/2999))
|
||||
|
||||
- `→` to Seek Forward
|
||||
- `←` to Seek Backward
|
||||
- `f` to Going Fullscreen
|
||||
- `m` to Mute/Unmute
|
||||
|
||||
- Ability to add multiple tags at once with commas ([#2833](https://github.com/lbryio/lbry-desktop/pull/2833))
|
||||
- Disable GIF animation unless user hovers ([#2986](https://github.com/lbryio/lbry-desktop/pull/2986))
|
||||
- Add keyboard shortcuts to toggle player fullscreen: ([#3015](https://github.com/lbryio/lbry-desktop/pull/3015))
|
||||
|
||||
- `f` or `f11` to toggle player fullscreen mode
|
||||
|
||||
- Markdown preview for comments: ([#2986](https://github.com/lbryio/lbry-desktop/pull/2986))
|
||||
- Basic text formatting (bold, italic, strike)
|
||||
- LBRY URLs preview and channel mentions
|
||||
- Implement URL embedding in comments
|
||||
- Code blocks, inline code and blockquotes
|
||||
- Embed Images and GIFs
|
||||
|
||||
### Changed
|
||||
|
||||
- Refactor ModalAutoUpdateConfirm into ModalAutoUpdateDownloaded ([#2959](https://github.com/lbryio/lbry-desktop/pull/2959))
|
||||
|
||||
## [0.36.1] - [2019-10-11]
|
||||
|
||||
### Added
|
||||
|
||||
- Notarized Mac OSX installer to support the Catalina upgrade ([#3014](https://github.com/lbryio/lbry-desktop/issues/3014))
|
||||
|
||||
### Fixed
|
||||
|
||||
- LBRY.tv share URL missing a slash, preventing opening on web ([#2995](https://github.com/lbryio/lbry-desktop/issues/2995))
|
||||
|
||||
## [0.36.0] - [2019-10-4]
|
||||
|
||||
### Added
|
||||
|
||||
- Channels page above Publishes which lists all your channels ([#2925](https://github.com/lbryio/lbry-desktop/pull/2925))
|
||||
- YouTube channel claiming and transfer ([#2925](https://github.com/lbryio/lbry-desktop/pull/2925)). See our [YouTube FAQ](https://lbry.com/faq/youtube) for more information.
|
||||
- New user sign in flow now includes automatic redeeming of 1 LBC and channel creation ([#2925](https://github.com/lbryio/lbry-desktop/pull/2925))
|
||||
- Ability to save wallet encryption password ([#2925](https://github.com/lbryio/lbry-desktop/pull/2925))
|
||||
- Sync your balance (only for users with new wallets) and preferences (subscriptions and tags) between devices ([#2925](https://github.com/lbryio/lbry-desktop/pull/2925)). See our [FAQ for more information](https://lbry.com/faq/account-sync)
|
||||
- Max character count on comments ([#2944](https://github.com/lbryio/lbry-desktop/pull/2944))
|
||||
- Subscription and file view counts ([#2920](https://github.com/lbryio/lbry-desktop/pull/2920))
|
||||
- Pagination on Library, Publishes, and Transactions page ([#2923](https://github.com/lbryio/lbry-desktop/pull/2923))
|
||||
- Volume setting is now saved between videos ([#2934](https://github.com/lbryio/lbry-desktop/pull/2934))
|
||||
- Granular balance information on wallet page - includes LBC locked in tips/claims/supports ([#2916](https://github.com/lbryio/lbry-desktop/pull/2916))
|
||||
- Acknowledgement of [terms of service](https://lbry.com/termsofservice) and age verification on sign in ([#2925](https://github.com/lbryio/lbry-desktop/pull/2925))
|
||||
- Hidden NSFW content message on tag search results page ([#3038](https://github.com/lbryio/lbry-desktop/pull/3038))
|
||||
|
||||
### Changed
|
||||
|
||||
- Upgrade LBRY SDK to [0.42.1](https://github.com/lbryio/lbry-sdk/releases/tag/v0.42.1) to improve overall connectivity
|
||||
- Sign out now clears the email address and refreshes the app ([#2925](https://github.com/lbryio/lbry-desktop/pull/2925))
|
||||
- Language strings are now pulled dynamically instead of requiring new app releases for better language support ([#2883](https://github.com/lbryio/lbry-desktop/pull/2883))
|
||||
- Minor design improvements to styles and cards
|
||||
|
||||
### Fixed
|
||||
|
||||
- Not being able to abandon claims not which weren't downloaded ([#2945](https://github.com/lbryio/lbry-desktop/pull/2945))
|
||||
- Duration not showing for audio ([#2936](https://github.com/lbryio/lbry-desktop/pull/2936))
|
||||
|
||||
## [0.35.7] - [2019-09-24]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixes app crash for some users
|
||||
|
||||
## [0.35.6] - [2019-09-23]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Paid content can now be purchased successfully
|
||||
|
||||
## [0.35.4] - [2019-09-22]
|
||||
|
||||
# Notes
|
||||
|
||||
This release includes a breaking change that will reset many of your settings. This was required to get settings on lbry.tv to work properly. Sorry.
|
||||
|
||||
### Added
|
||||
|
||||
- Searching on channel pages! ([#2887](https://github.com/lbryio/lbry-desktop/pull/2887))
|
||||
|
||||
### Changed
|
||||
|
||||
- Upgrade LBRY SDK to [0.40.1](https://github.com/lbryio/lbry-sdk/releases/tag/v0.40.1) to improve connectivity
|
||||
- Storage of local settings ([#2895](https://github.com/lbryio/lbry-desktop/pull/2895))
|
||||
|
||||
### Fixed
|
||||
|
||||
- Autoplay next related content ([#2901](https://github.com/lbryio/lbry-desktop/pull/2901))
|
||||
- Ensure view counted before checking rewards ([#2898](https://github.com/lbryio/lbry-desktop/pull/2898))
|
||||
- App crash on German language setting ([#2856](https://github.com/lbryio/lbry-desktop/issues/2856))
|
||||
- Rewards display issue ([#2871](https://github.com/lbryio/lbry-desktop/issues/2871))
|
||||
- Display issue with upgrade banner on file page ([#2826](https://github.com/lbryio/lbry-desktop/issues/2826))
|
||||
- Prevent duplicate tags being added to a publish ([#2817](https://github.com/lbryio/lbry-desktop/issues/2817))
|
||||
- Reset page correctly on app refresh ([#2881](https://github.com/lbryio/lbry-desktop/pull/2881))
|
||||
|
||||
## [0.35.3] - [2019-09-04]
|
||||
|
||||
### Added
|
||||
|
||||
- Allow easy thumbnail upload with video on file edits ([#2816](https://github.com/lbryio/lbry-desktop/pull/2816))
|
||||
- Better message for unsupported file types ([#2834](https://github.com/lbryio/lbry-desktop/pull/2834))
|
||||
- Support for daily reward (not live yet) ([#2849](https://github.com/lbryio/lbry-desktop/issues/2849))
|
||||
|
||||
### Fixed
|
||||
|
||||
- Canonical URL bugs on home and channel pages ([#2829](https://github.com/lbryio/lbry-desktop/issues/2829))
|
||||
- Crash when clicking a channel in "Find New Channels" ([#2825](https://github.com/lbryio/lbry-desktop/issues/2825))
|
||||
- SVG and lbry file types not showing correctly ([#2830](https://github.com/lbryio/lbry-desktop/issues/2830)) / ([#2827](https://github.com/lbryio/lbry-desktop/issues/2827))
|
||||
- Channel not re-selected on edit ([#2828](https://github.com/lbryio/lbry-desktop/issues/2828))
|
||||
- Command + A support on mac to select all text in an input ([#2837](https://github.com/lbryio/lbry-desktop/pull/2837))
|
||||
- Search bar getting stuck in focus ([#2500](https://github.com/lbryio/lbry-desktop/pull/2500))
|
||||
|
||||
### Changed
|
||||
|
||||
- Upgraded [lbry-sdk to 0.40.0](https://github.com/lbryio/lbry-sdk/releases/tag/v0.40.0) to improve wallet syncing and overall connectivity
|
||||
|
||||
## [0.35.2] - [2019-08-30]
|
||||
|
||||
### Added
|
||||
|
||||
- Tips and supports on Channel pages ([#2821](https://github.com/lbryio/lbry-desktop/pull/2821))
|
||||
- Choose when you want automatic dark mode to take effect ([#2747](https://github.com/lbryio/lbry-desktop/pull/2747))
|
||||
|
||||
### Fixed
|
||||
|
||||
- Don't show block button on your own channel ([#2744](https://github.com/lbryio/lbry-desktop/pull/2744))
|
||||
- App crash when automatically playing content originally priced in USD ([b347d3fc](https://github.com/lbryio/lbry-desktop/commit/b347d3fc5b492641124d763625e626a340916cb2))
|
||||
- Bid amount required on publish page ([#2783](https://github.com/lbryio/lbry-desktop/issues/2783))
|
||||
- Fixed subscription auto downloads ([#2767](https://github.com/lbryio/lbry-desktop/issues/2767))
|
||||
- Crash with query strings ([#2733](https://github.com/lbryio/lbry-desktop/issues/2733))
|
||||
- Autoplay on paid content ([#2762](https://github.com/lbryio/lbry-desktop/issues/2762))
|
||||
|
||||
### Changed
|
||||
|
||||
- URL format to include both channel and claim short IDs ([#2748](https://github.com/lbryio/lbry-desktop/pull/2748))
|
||||
- Upgraded [lbry-sdk to 0.39.0](https://github.com/lbryio/lbry-sdk/releases/tag/v0.39.0) for performance and reliability improvements
|
||||
- Upgraded windows certificate so builds continue to be signed properly ([b9bf861b](https://github.com/lbryio/lbry-desktop/commit/b9bf861b5ca2f7209ce54088732bc8e0e7548514))
|
||||
- DMCA blocking to include channels ([#2802](https://github.com/lbryio/lbry-desktop/issues/2802))
|
||||
|
||||
## [0.35.1] - [2019-08-16]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Unable to upload thumbnail on publish page ([cad067ad](https://github.com/lbryio/lbry-desktop/commit/cad067ad95ea885db0fc58df3437989298bf5160))
|
||||
|
||||
## [0.35.0] - [2019-08-15]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Add startup statuses back to splash screen ([#2721](https://github.com/lbryio/lbry-desktop/issues/2721))
|
||||
- Ensure 'mature' tag is always visible on claim previews for mature content ([#2720](https://github.com/lbryio/lbry-desktop/issues/2720))
|
||||
|
||||
### Added
|
||||
|
||||
- New video player ([#2707](https://github.com/lbryio/lbry-desktop/issues/2707))
|
||||
- Uses range requests which allow seeking ahead in a video instead of waiting for the file download up to that point
|
||||
- Better support video and audio
|
||||
- Pop out player to keep browsing the app while watching content
|
||||
- Ability to block channels ([#2706](https://github.com/lbryio/lbry-desktop/issues/2706))
|
||||
- Table styling on file pages ([#2717](https://github.com/lbryio/lbry-desktop/issues/2717))
|
||||
- Option to disable startup animation ([#2721](https://github.com/lbryio/lbry-desktop/issues/2721))
|
||||
|
||||
## [0.34.2] - [2019-07-26]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Library and other pages not displaying correctly in some instances
|
||||
|
||||
## [0.34.1] - [2019-07-25]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed wallet unlock while still syncing transactions
|
||||
- Fixed invalid character checking on channel and content URLs ([#2661](https://github.com/lbryio/lbry-desktop/issues/2661))
|
||||
- Upgrade [SDK to 0.38.5](https://github.com/lbryio/lbry-sdk/releases/tag/v0.38.5) to improve download speeds
|
||||
|
||||
## [0.34.0] - [2019-07-23]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Lots of speed, UI, and style improvements
|
||||
- Content is now sorted correctly by the date it was released
|
||||
|
||||
### Changed
|
||||
|
||||
- Share content options now use lbry.tv instead of spee.ch ([#2614](https://github.com/lbryio/lbry-desktop/pull/2614))
|
||||
|
||||
### Added
|
||||
|
||||
- New app design for better [content discovery](https://lbry.com/faq/trending) with infinite scroll ([#2477](https://github.com/lbryio/lbry-desktop/pull/2477))
|
||||
- First implementation of comments ([#2510](https://github.com/lbryio/lbry-desktop/pull/2510))
|
||||
- Ability to edit channels with new metadata and tags ([#2584](https://github.com/lbryio/lbry-desktop/pull/2584))
|
||||
- Tagging content on publish page ([#2593](https://github.com/lbryio/lbry-desktop/pull/2593))
|
||||
- New loading page ([#2491](https://github.com/lbryio/lbry-desktop/pull/2491))
|
||||
- Remember file delete preference ([#2132](https://github.com/lbryio/lbry-desktop/pull/2132))
|
||||
- Experimental setting for sending supports ([#2647](https://github.com/lbryio/lbry-desktop/pull/2647))
|
||||
- Experimental setting for language with Indonesian and Polish as first translations ([#2539](https://github.com/lbryio/lbry-desktop/pull/2539))
|
||||
- Short URLs throughout app ([#2614](https://github.com/lbryio/lbry-desktop/pull/2614))
|
||||
- Wallet backup zipping option on Help page ([#2585](https://github.com/lbryio/lbry-desktop/pull/2585))
|
||||
|
||||
## [0.33.1] - [2019-06-12]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fix reflector bugs on failed attempts and improve wallet connection with [LBRY SDK patch](https://github.com/lbryio/lbry/releases/tag/v0.37.4)
|
||||
|
||||
## [0.33.0] - [2019-06-04]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Channel page styling ([#2520](https://github.com/lbryio/lbry-desktop/pull/2520))
|
||||
|
||||
### Added
|
||||
|
||||
- Comic book reader ([#2484](https://github.com/lbryio/lbry-desktop/pull/2484))
|
||||
- Base functionality for more language support ([#2495](https://github.com/lbryio/lbry-desktop/pull2495))
|
||||
- Add easy thumbnail selector for videos ([#2492](https://github.com/lbryio/lbry-desktop/pull2492))
|
||||
|
||||
## [0.32.2] - [2019-5-20]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Upgraded LBRY SDK to 0.37.0 for better network stability
|
||||
- Better error logging
|
||||
|
||||
## [0.32.1] - [2019-5-14]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fix analytics on desktop ([#2480](https://github.com/lbryio/lbry-desktop/pull/2480))
|
||||
- Fix text wrapping on file page ([#2480](https://github.com/lbryio/lbry-desktop/pull/2480))
|
||||
|
||||
## [0.32.0] - [2019-5-14]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Updating claims after they are tipped
|
||||
- Opening html, markdown, and other text documents
|
||||
- Opening links from open.lbry.com
|
||||
|
||||
### Added
|
||||
|
||||
- New routing setup to allow lbry.tv to use the browser url bar for navigation ([#2408](https://github.com/lbryio/lbry-desktop/pull/2408))
|
||||
- Always show new suggested subscriptions ([#2541](https://github.com/lbryio/lbry-desktop/pull/2451))
|
||||
|
||||
### Changed
|
||||
|
||||
- Remove nested navigation on side bar ([#2399](https://github.com/lbryio/lbry-desktop/pull/2399))
|
||||
|
||||
## [0.31.1] - [2019-3-23]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Long links not wrappng on claim pages ([70df697](https://github.com/lbryio/lbry-desktop/commit/70df697aab56de4278acf9d8535c66409f89d959))
|
||||
|
||||
## [0.30.0] - [2019-3-21]
|
||||
|
||||
### Added
|
||||
|
||||
- Report errors to slack for easier debugging ([#2340](https://github.com/lbryio/lbry-desktop/pull/2340))
|
||||
- Add viewcount stats to your published content ([#2335](https://github.com/lbryio/lbry-desktop/pull/2335))
|
||||
|
||||
### Changed
|
||||
|
||||
- Upgrade LBRY SDK to [0.34.0](https://github.com/lbryio/lbry/releases/tag/v0.34.0) to support better analytics and faster file startup
|
||||
- Minor changes for normalization hardfork ([#2297](https://github.com/lbryio/lbry-desktop/pull/2297))
|
||||
- New build setup to support lbry.tv ([#2296](https://github.com/lbryio/lbry-desktop/pull/2296))
|
||||
- Upgrade Electron and Electron builder to the latest version, including initial differential upgrade support for Windows ([#2366](https://github.com/lbryio/lbry-desktop/pull/2366) / [#2296](https://github.com/lbryio/lbry-desktop/pull/2296))
|
||||
- lbry.io > lbry.com ([#2321](https://github.com/lbryio/lbry-desktop/pull/2321))
|
||||
|
||||
### Fixed
|
||||
|
||||
- Incorrect snackbar messaging when attempting to navigating to a malformed claim name ([#2336](https://github.com/lbryio/lbry-desktop/pull/2336))
|
||||
|
||||
## [0.29.4] - 2019-3-12
|
||||
|
||||
### Fixed
|
||||
|
||||
- Style issue on phone number collection modal
|
||||
- White screen when watching videos for some files
|
||||
|
||||
## [0.29.3] - 2019-3-7
|
||||
|
||||
### Fixed
|
||||
|
||||
- Minor style issue with 0 LBC balance on the wallet page
|
||||
|
||||
## [0.29.2] - 2019-3-1
|
||||
|
||||
### Fixed
|
||||
|
||||
- Upgaded lbry-sdk to 0.32.4 to fix startup issue for some users
|
||||
|
||||
## [0.29.0] - 2019-2-21
|
||||
|
||||
### Added
|
||||
@@ -338,7 +1238,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
|
||||
### Changed
|
||||
|
||||
- Update LBRY Protocol to 0.19.3 - faster blockchain header download for new and existing users (See full change log for [0.19.2](https://github.com/lbryio/lbry/releases/tag/v0.19.2) and [0.19.3](https://github.com/lbryio/lbry/releases/tag/v0.19.3))
|
||||
- Update LBRY Protocol to 0.19.3 - faster blockchain header download for new and existing users (See full changelog for [0.19.2](https://github.com/lbryio/lbry/releases/tag/v0.19.2) and [0.19.3](https://github.com/lbryio/lbry/releases/tag/v0.19.3))
|
||||
|
||||
### Fixed
|
||||
|
||||
@@ -366,7 +1266,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
|
||||
### Changed
|
||||
|
||||
- Update LBRY Protocol to 0.19.1 (See change log for [0.19.0](https://github.com/lbryio/lbry/releases/tag/v0.19.0) and [0.19.1](https://github.com/lbryio/lbry/releases/tag/v0.19.1))
|
||||
- Update LBRY Protocol to 0.19.1 (See changelog for [0.19.0](https://github.com/lbryio/lbry/releases/tag/v0.19.0) and [0.19.1](https://github.com/lbryio/lbry/releases/tag/v0.19.1))
|
||||
- Improved privacy by allowing users to turn off the file view counter and better understand privacy settings ([#1074](https://github.com/lbryio/lbry-desktop/pull/1074) / [#1116](https://github.com/lbryio/lbry-desktop/pull/1116))
|
||||
- Disabled auto dark mode if dark mode is selected ([#1006](https://github.com/lbryio/lbry-desktop/pull/1006))
|
||||
- Refactor Electron's main process ([#951](https://github.com/lbryio/lbry-desktop/pull/951))
|
||||
@@ -657,7 +1557,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
|
||||
### Removed
|
||||
|
||||
- Removed the label "Max Purchase Price" from settings page. It was redundant.
|
||||
- Removed the label "Max purchase price" from settings page. It was redundant.
|
||||
- Unused old files from previous commit(9c3d633)
|
||||
|
||||
### Fixed
|
||||
|
||||
+41
-33
@@ -1,20 +1,30 @@
|
||||
# Contribute to LBRY
|
||||
|
||||
|
||||
**First:** if you're unsure or afraid of anything, just ask or submit the issue or pull request anyways. You won't be yelled at for giving your best effort. The worst that can happen is that you'll be politely asked to change something. We appreciate any sort of contributions, and don't want a wall of rules to get in the way of that.
|
||||
|
||||
However, for those individuals who want a bit more guidance on the best way to contribute to the project, read on. This document will cover what we're looking for. By addressing all the points we're looking for, it raises the chances we can quickly merge or address your contributions.
|
||||
|
||||
|
||||
## TL;DR?
|
||||
|
||||
* [Here](https://github.com/lbryio/lbry-desktop/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+no%3Aassignee)
|
||||
- [Here](https://github.com/lbryio/lbry-desktop/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+no%3Aassignee)
|
||||
is a list of help wanted issues.
|
||||
* Comment on an issue to let us know if you are going to work on it, don't take an issue that someone reserved less than 3 days ago.
|
||||
* Submit a pull request and get paid in LBC.
|
||||
* Don't hesitate to contact us with any questions or comments.
|
||||
* [Check out this video for a quickstart guide to running and developing the desktop app](https://spee.ch/7da73fc508ffc4ff8b2711e3c3950110430b0c5f/LBRYAppDesign.mp4).
|
||||
- Comment on an issue to let us know if you are going to work on it, don't take an issue that someone reserved less than 3 days ago.
|
||||
- Submit a pull request and get paid in LBC.
|
||||
- Don't hesitate to contact us with any questions or comments.
|
||||
|
||||
## Contents
|
||||
|
||||
- [Choose an Issue](#choose-an-issue)
|
||||
- [Code Overview](#code-overview)
|
||||
- [Libraries](#libraries)
|
||||
- [Flow](#flow)
|
||||
- [Lint](#lint)
|
||||
- [Code Formatting](#code-formatting)
|
||||
- [Debug](#debug)
|
||||
- [Submit a Pull Request](#submit-a-pull-request)
|
||||
- [Tom's "Voice of the User" Wishlist](#toms-voice-of-the-user-wishlist)
|
||||
- [Get in Touch](#get-in-touch)
|
||||
- [More Information](#more-information)
|
||||
|
||||
## Choose an Issue
|
||||
|
||||
@@ -26,20 +36,20 @@ receives contributions from individuals outside the core team -- such as yoursel
|
||||
|
||||
To make contributing as easy and rewarding as possible, we have instituted the following system:
|
||||
|
||||
* Anyone can view all issues in the system by clicking on the
|
||||
- Anyone can view all issues in the system by clicking on the
|
||||
[Issues](https://github.com/lbryio/lbry-desktop/issues) button at the top of the page. Feel free to
|
||||
add an issue if you think we have missed something (and you might earn some LBC in the process
|
||||
because we do tip people for reporting bugs).
|
||||
* Once on the [Issues](https://github.com/lbryio/lbry-desktop/issues) page, a potential contributor can
|
||||
- Once on the [Issues](https://github.com/lbryio/lbry-desktop/issues) page, a potential contributor can
|
||||
filter issues by the
|
||||
[Help Wanted](https://github.com/lbryio/lbry-desktop/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+no%3Aassignee)
|
||||
label to see a curated list of suggested issues with which community members can help.
|
||||
* Every
|
||||
- Every
|
||||
[Help Wanted](https://github.com/lbryio/lbry-desktop/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+no%3Aassignee)
|
||||
issue is ranked on a scale from zero to four.
|
||||
|
||||
| Level | Description |
|
||||
| ------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------- |
|
||||
| Level | Description |
|
||||
| ---------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
|
||||
| [**level 0**](https://github.com/lbryio/lbry-desktop/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+label%3A%22level%3A+0%22+no%3Aassignee) | Typos and text edits -- a tech-savvy non-programmer can fix these. |
|
||||
| [**level 1**](https://github.com/lbryio/lbry-desktop/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+label%3A%22level%3A+1%22+no%3Aassignee) | Programming issues that require little knowledge of how the LBRY app works. |
|
||||
| [**level 2**](https://github.com/lbryio/lbry-desktop/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22+label%3A%22level%3A+2%22+no%3Aassignee) | Issues of average difficulty that require the developer to dig into how the app works a little bit. |
|
||||
@@ -56,7 +66,7 @@ Although all contributions should have good UX, the [UX label, when applied in c
|
||||
|
||||
## Code Overview
|
||||
|
||||
The entry point for this application is `src/renderer/index.js`.
|
||||
The entry point for this application is [`electron/index.js`](https://github.com/lbryio/lbry-desktop/blob/master/electron/index.js).
|
||||
|
||||
This application is primarily written in JavaScript and is built on [Electron](https://electronjs.org)
|
||||
while utilizing [React](https://reactjs.org) and [Redux](https://redux.js.org) for UI and
|
||||
@@ -66,10 +76,9 @@ The project comes with diverse tools for simplifying the development process and
|
||||
better code quality. It's recommended to make use of them thoroughly during ongoing development. We follow the well-known [Airbnb JavaScript Style Guide](https://airbnb.io/javascript/) for defining
|
||||
our styling rules and code best practices.
|
||||
|
||||
### lbry-redux
|
||||
|
||||
This project uses [lbry-redux](https://github.com/lbryio/lbry-redux) to share Redux code with [lbry-android](https://github.com/lbryio/lbry-android) and other LBRY apps. Over time, more Redux code that is suitable to be shared will be moved into lbry-redux. If modifying Redux code, you may be asked to make some of your changes in lbry-redux rather than lbry-desktop. The steps to work with lbry-redux locally can be found [here](https://github.com/lbryio/lbry-redux#local-development).
|
||||
### Libraries
|
||||
|
||||
This project uses [lbry-redux](https://github.com/lbryio/lbry-redux) and [lbryionc](https://github.com/lbryio/lbryinc) to share Redux and LBRY API specific code with other LBRY apps. Over time, more Redux code that is suitable to be shared will be moved into lbry-redux. If modifying Redux code, you may be asked to make some of your changes in lbry-redux rather than lbry-desktop. The steps to work with lbry-redux locally can be found [here](https://github.com/lbryio/lbry-redux#local-development).
|
||||
|
||||
### Flow
|
||||
|
||||
@@ -87,7 +96,6 @@ definitions in the project by running:
|
||||
|
||||
`$ yarn flow-defs`
|
||||
|
||||
|
||||
### Lint
|
||||
|
||||
Code linting is ensured by [ESLint](https://eslint.org/) and [Flow CLI](https://flow.org/en/docs/cli/).
|
||||
@@ -130,29 +138,29 @@ Editor integrations are available [here](https://prettier.io/docs/en/editors.htm
|
||||
|
||||
There are a few tools integrated to the project that will ease the process of debugging:
|
||||
|
||||
* [Chrome DevTools](https://developer.chrome.com/devtools)
|
||||
* Also available for the main process as a [remote target](chrome://inspect/#devices).
|
||||
* [Electron Devtron](https://electronjs.org/devtron)
|
||||
* [React DevTools](https://github.com/facebook/react-devtools)
|
||||
* [Redux DevTools](https://github.com/gaearon/redux-devtools)
|
||||
- [Chrome DevTools](https://developer.chrome.com/devtools)
|
||||
- Also available for the main process as a [remote target](chrome://inspect/#devices).
|
||||
- [Electron Devtron](https://electronjs.org/devtron)
|
||||
- [React DevTools](https://github.com/facebook/react-devtools)
|
||||
- [Redux DevTools](https://github.com/gaearon/redux-devtools)
|
||||
|
||||
## Submit a Pull Request
|
||||
|
||||
* After deciding what to work on, a potential contributor can
|
||||
- After deciding what to work on, a potential contributor can
|
||||
[fork](https://help.github.com/articles/fork-a-repo/) this repository, make his or her changes,
|
||||
and submit a
|
||||
[pull request](https://help.github.com/articles/creating-a-pull-request-from-a-fork/). A
|
||||
contributor wanting to reserve an issue in advance can leave a comment saying that he or she is
|
||||
working on it. Contributors should respect other people's efforts to complete issues in a timely
|
||||
manner and, therefore, not begin working on anything reserved (or updated) within the last 3 days.
|
||||
If someone has been officially assigned an issue via Github's assignment system, it is also not
|
||||
If someone has been officially assigned an issue via GitHub's assignment system, it is also not
|
||||
available. Contributors are encouraged to ask if they have any questions about issue availability.
|
||||
* The [changelog](https://github.com/lbryio/lbry-desktop/blob/master/CHANGELOG.md) should be updated to
|
||||
- The [changelog](https://github.com/lbryio/lbry-desktop/blob/master/CHANGELOG.md) should be updated to
|
||||
include a reference to the fix/change/addition. See previous entries for format.
|
||||
* Once the pull request is visible in the LBRY repo, a LBRY team member will review it and make sure
|
||||
- Once the pull request is visible in the LBRY repo, a LBRY team member will review it and make sure
|
||||
it is up to our standards. At this point, the contributor may have to change his or her code based
|
||||
on our suggestions and comments.
|
||||
* Then, upon a satisfactory review of the code, we will merge it and send the contributor a tip (in
|
||||
- Then, upon a satisfactory review of the code, we will merge it and send the contributor a tip (in
|
||||
LBC) for the contribution.
|
||||
|
||||
We are dedicated to being fair and friendly in this process. In **general**, level 4 issues will be
|
||||
@@ -181,13 +189,13 @@ will earn you an extra 50 LBC on top of what we would otherwise tip you.
|
||||
|
||||
# Get in Touch
|
||||
|
||||
| Name | Role | Discord | Email |
|
||||
| --------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- | ------------
|
||||
| [Tom](https://github.com/tzarebczan) | Community manager. He knows more than anyone about the app and all of its flaws. Reach out to him with any questions about how the app works, if a bug has been reported, or if a feature should be requested. | jiggytom | tom@lbry.io |
|
||||
| [Sean](https://github.com/seanyesmunt) | The primary engineer working on the app. Feel free to ask any questions about the code. | sean | sean@lbry.io |
|
||||
| Name | Role | Discord | Email |
|
||||
| -------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | ------------- |
|
||||
| [Tom](https://github.com/tzarebczan) | Community manager. He knows more than anyone about the app and all of its flaws. Reach out to him with any questions about how the app works, if a bug has been reported, or if a feature should be requested. | jiggytom | tom@lbry.com |
|
||||
| [Sean](https://github.com/seanyesmunt) | The primary engineer working on the app. Feel free to ask any questions about the code. | sean | sean@lbry.com |
|
||||
|
||||
Join our Discord [here](https://chat.lbry.io/).
|
||||
Join our Discord [here](https://chat.lbry.com/).
|
||||
|
||||
# More Information
|
||||
|
||||
More information about contributing to LBRY [here](https://lbry.io/faq/contributing).
|
||||
More information about contributing to LBRY [here](https://lbry.tech/contribute).
|
||||
@@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2017-2019 LBRY Inc.
|
||||
Copyright (c) 2017-2021 LBRY Inc.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
||||
@@ -1,42 +1,72 @@
|
||||
# LBRY App
|
||||
<img width="40%" src="https://miro.medium.com/max/5198/1*bTVuL2THG_0mpwmE-n7Ezg.png" />
|
||||
|
||||
[](https://github.com/lbryio/lbry-desktop/blob/master/LICENSE)
|
||||
[](https://GitHub.com/lbryio/lbry-desktop/releases/)
|
||||
[](https://travis-ci.org/lbryio/lbry-desktop)
|
||||
[](https://david-dm.org/lbryio/lbry-desktop)
|
||||
[](https://chat.lbry.io)
|
||||
# LBRY App - https://lbry.tv
|
||||
|
||||
[](https://forthebadge.com)
|
||||
|
||||
The LBRY app is a graphical browser for the decentralized content marketplace provided by the
|
||||
[LBRY](https://lbry.io) protocol. It is essentially the
|
||||
This repo contains the UI code that powers the official LBRY desktop app, as well as lbry.tv. The LBRY app is a graphical browser for the decentralized content marketplace provided by the
|
||||
[LBRY](https://lbry.com) protocol. It is essentially the
|
||||
[lbry daemon](https://github.com/lbryio/lbry) bundled with a UI using
|
||||
[Electron](https://electron.atom.io/).
|
||||
|
||||

|
||||
<a href="https://github.com/lbryio/lbry-desktop/blob/master/LICENSE" title="MIT licensed">
|
||||
<img alt="npm" src="https://img.shields.io/dub/l/vibe-d.svg?style=flat">
|
||||
</a>
|
||||
<a href="https://GitHub.com/lbryio/lbry-desktop/releases/" title="GitHub release">
|
||||
<img src="https://img.shields.io/github/release/lbryio/lbry-desktop.svg"/>
|
||||
</a>
|
||||
<a href="https://travis-ci.org/lbryio/lbry-desktop">
|
||||
<img src="https://travis-ci.org/lbryio/lbry-desktop.svg?branch=master" alt="Build Status" />
|
||||
</a>
|
||||
<a href="https://chat.lbry.com">
|
||||
<img alt="GitHub contributors" src="https://img.shields.io/discord/362322208485277697.svg?logo=discord" alt="chat on Discord">
|
||||
</a>
|
||||
|
||||
<h2>
|
||||
<a href="https://forthebadge.com" title="forthebadge">
|
||||
<img alt="forthebadge" src="https://forthebadge.com/images/badges/60-percent-of-the-time-works-every-time.svg">
|
||||
</a>
|
||||
<a href="https://forthebadge.com" title="forthebadge">
|
||||
<img alt="forthebadge" src="https://forthebadge.com/images/badges/approved-by-veridian-dynamics.svg">
|
||||
</a>
|
||||
</h2>
|
||||
|
||||

|
||||
|
||||
## Table of Contents
|
||||
|
||||
1. [Install](#install)
|
||||
2. [Usage](#usage)
|
||||
3. [Running from Source](#running-from-source)
|
||||
4. [Contributing](#contributing)
|
||||
5. [License](#license)
|
||||
6. [Security](#security)
|
||||
7. [Contact](#contact)
|
||||
|
||||
## Install
|
||||
|
||||
[](https://lbry.com/get/lbry.exe)
|
||||
[](https://lbry.com/get/lbry.deb)
|
||||
[](https://lbry.com/get/lbry.dmg)
|
||||
|
||||
We provide installers for Windows, macOS (v10.12.4, Sierra, or greater), and Debian-based Linux. See community maintained builds section for alternative Linux installations.
|
||||
|
||||
| | Windows | macOS | Linux |
|
||||
| --------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- |
|
||||
| Latest Stable Release | [Download](https://lbry.io/get/lbry.exe) | [Download](https://lbry.io/get/lbry.dmg) | [Download](https://lbry.io/get/lbry.deb) |
|
||||
| Latest Pre-release | [Download](https://lbry.io/get/lbry.pre.exe) | [Download](https://lbry.io/get/lbry.pre.dmg) | [Download](https://lbry.io/get/lbry.pre.deb) |
|
||||
| | Windows | macOS | Linux |
|
||||
| --------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- |
|
||||
| Latest Stable Release | [Download](https://lbry.com/get/lbry.exe) | [Download](https://lbry.com/get/lbry.dmg) | [Download](https://lbry.com/get/lbry.deb) |
|
||||
| Latest Pre-release | [Download](https://lbry.com/get/lbry.pre.exe) | [Download](https://lbry.com/get/lbry.pre.dmg) | [Download](https://lbry.com/get/lbry.pre.deb) |
|
||||
|
||||
Our [releases page](https://github.com/lbryio/lbry-desktop/releases) also contains the latest
|
||||
release, pre-releases, and past builds.
|
||||
release, pre-releases, and past builds.
|
||||
_Note: If the deb fails to install using the Ubuntu Software Center, install manually via `sudo dpkg -i <path to deb>`. You'll need to run `sudo apt-get install -f` if this is the first time installing it to install dependencies_
|
||||
|
||||
To install from source or make changes to the application, continue to the next section below.
|
||||
|
||||
**Community maintained** builds for Arch Linux and Flatpak are available, see below. These installs will need to be updated manually as the in-app update process only supports Debian installs at this time.
|
||||
_Note: If coming from a deb install, the directory structure is different and you'll need to [migrate data](https://lbry.io/faq/backup-data)._
|
||||
_Note: If coming from a deb install, the directory structure is different and you'll need to [migrate data](https://lbry.com/faq/backup-data)._
|
||||
|
||||
| | Flatpak | Arch | Raspberry Pi |
|
||||
| -------------- | ------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ------------------------------------------- |
|
||||
| Latest Release | [FlatHub Page](https://flathub.org/apps/details/io.lbry.lbry-app) | [AUR Package](https://aur.archlinux.org/packages/lbry-app-bin/) | [Pi Installer](https://lbrypi.com) |
|
||||
| Maintainers | [@choofee](https://github.com/choffee)/[@iuyte](https://github.com/iuyte) | [@kcseb](https://github.com/kcseb)/[@TimurKiyivinski](https://github.com/TimurKiyivinski) | [@Madiator2011](https://github.com/kodxana) |
|
||||
| | Flatpak | Arch | Nixpkgs | ARM/ARM64 |
|
||||
| -------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ------------------------------------------- |
|
||||
| Latest Release | [FlatHub Page](https://flathub.org/apps/details/io.lbry.lbry-app) | [AUR Package](https://aur.archlinux.org/packages/lbry-app-bin/) | [Nixpkgs](https://search.nixos.org/packages?channel=unstable&show=lbry&query=lbry) | [Build Guide](https://lbry.tv/@LBRYarm:5) |
|
||||
| Maintainers | [@kcSeb](https://keybase.io/kcseb) | [@kcSeb](https://keybase.io/kcseb)/[@TimurKiyivinski](https://github.com/TimurKiyivinski) | [@Enderger](https://github.com/enderger) | [@Madiator2011](https://github.com/kodxana) |
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -44,27 +74,90 @@ Double click the installed application to interact with the LBRY network.
|
||||
|
||||
## Running from Source
|
||||
|
||||
You can run the web version (lbry.tv), the electron app, or both at the same time.
|
||||
|
||||
#### Prerequisites
|
||||
|
||||
- [Git](https://git-scm.com/downloads)
|
||||
- [Node.js](https://nodejs.org/en/download/) (Use Node v8 if having trouble with keytar)
|
||||
- [Node.js](https://nodejs.org/en/download/) (v10 required)
|
||||
- [Yarn](https://yarnpkg.com/en/docs/install)
|
||||
- [C++ Build Tools](https://github.com/felixrieseberg/windows-build-tools) (Windows only, only install if having trouble with keytar)
|
||||
|
||||
#### Steps
|
||||
1. Clone (or [fork](https://help.github.com/articles/fork-a-repo/)) this repository: `git clone https://github.com/lbryio/lbry-desktop`
|
||||
2. Change directory into the cloned repository: `cd lbry-desktop`
|
||||
3. Install the dependencies: `yarn`
|
||||
|
||||
1. Clone (or [fork](https://help.github.com/articles/fork-a-repo/)) this repository: `git clone https://github.com/lbryio/lbry-desktop`
|
||||
2. Change directories into the downloaded folder: `cd lbry-desktop`
|
||||
3. Install the dependencies: `yarn`
|
||||
4. Run the app: `yarn dev`
|
||||
#### Run the electron app
|
||||
|
||||
If you want to just build the app you can run `yarn build`. This will give you an executable inside the `/dist` folder. We use [electron-builder](https://github.com/electron-userland/electron-builder) to create
|
||||
distributable packages.
|
||||
`yarn dev`
|
||||
|
||||
- If you want to build and launch the production app you can run `yarn build`. This will give you an executable inside the `/dist` folder. We use [electron-builder](https://github.com/electron-userland/electron-builder) to create distributable packages.
|
||||
|
||||
#### Run the web app for development
|
||||
|
||||
`yarn dev:web`
|
||||
|
||||
- This uses webpack-dev-server and includes hot-reloading. If you want to debug the [web server we use in production](https://github.com/lbryio/lbry-desktop/blob/master/src/platforms/web/server.js) you can run `yarn dev:web-server`. This starts a server at `localhost:1337` and does not include hot reloading.
|
||||
|
||||
#### Customize the web app
|
||||
|
||||
- In root directory, duplicate the .env.default file and rename it to .env then copy the code below and paste it anywhere in the .env file.
|
||||
|
||||
```
|
||||
cp .env.defaults .env
|
||||
nano .env
|
||||
```
|
||||
|
||||
- To specify your own OG-IMAGE
|
||||
You can either place a png named v2-og.png in the /custom folder or specify the OG_IMAGE_URL in .env
|
||||
|
||||
- To specify your own channels to be followed on first run
|
||||
`AUTO_FOLLOW_URLS=lbry://@chan#123...a lbry://@chan2#456...a`
|
||||
|
||||
- If you want to customize the homepage content
|
||||
|
||||
1. add `CUSTOM_HOMEPAGE=true` to the '.env' file
|
||||
2. copy `/custom/homepage.example.js` to `/custom/homepage.js` and make desired changes to `homepage.js`
|
||||
|
||||
- If you want up to two custom sidebar links
|
||||
|
||||
```
|
||||
PINNED_URI_1=@someurl#2/someclaim#4
|
||||
PINNED_LABEL_1=Linktext
|
||||
|
||||
PINNED_URI_2=$/discover?t=tag&[queryparams]
|
||||
PINNED_LABEL_2=OtherLinkText
|
||||
```
|
||||
|
||||
- Finally `NODE_ENV=production yarn compile:web` to rebuild
|
||||
_Note: You don't need to edit the .env file in the /web folder - that is copied during compile._
|
||||
|
||||
#### Deploy the web app (_experimental_)
|
||||
|
||||
1. Create a server with a domain name and a reverse proxy https to port 1337.
|
||||
2. Install pm2, node v10, yarn
|
||||
3. Clone this repo
|
||||
4. Make any customizations as above
|
||||
5. Run `yarn` to install
|
||||
6. Run `NODE_ENV=production yarn compile:web` to build
|
||||
7. Set up pm2 to start ./web/index.js
|
||||
|
||||
#### Run both at the same time
|
||||
|
||||
Run the two commands above in separate terminal windows
|
||||
|
||||
```
|
||||
yarn dev
|
||||
|
||||
// in another terminal window
|
||||
yarn dev:web
|
||||
```
|
||||
|
||||
#### Resetting your Packages
|
||||
|
||||
If the app isn't building, or `yarn xxx` commands aren't working you may need to just reset your `node_modules`. To do so you can run: `rm -r node_modules && yarn` or `del /s /q node_modules && yarn` on Windows.
|
||||
|
||||
If you _really_ think something might have gone wrong, you can force your repo to clear everything that doesn't match the repo with `git reset --hard HEAD && git clean -fxd && git pull -r`
|
||||
|
||||
## Contributing
|
||||
|
||||
We :heart: contributions from everyone and contributions to this project are encouraged, and compensated. We welcome [bug reports](https://github.com/lbryio/lbry-desktop/issues/), [bug fixes](https://github.com/lbryio/lbry-desktop/pulls) and feedback is always appreciated. For more details, see [CONTRIBUTING.md](CONTRIBUTING.md).
|
||||
@@ -77,8 +170,9 @@ This project is MIT licensed. For the full license, see [LICENSE](LICENSE).
|
||||
|
||||
## Security
|
||||
|
||||
We take security seriously. Please contact security@lbry.io regarding any security issues. Our PGP key is [here](https://keybase.io/lbry/key.asc) if you need it.
|
||||
We take security seriously. Please contact security@lbry.com regarding any security issues. Our PGP key is [here](https://lbry.com/faq/pgp-key) if you need it. Previous versions up to v0.50.2 were signed by [Sean Yesmunt](https://keybase.io/seanyesmunt/key.asc).
|
||||
New Releases are signed by [Jessop Breth](https://keybase.io/jessopb/key.asc).
|
||||
|
||||
## Contact
|
||||
|
||||
The primary contact for this project is [@seanyesmunt](https://github.com/seanyesmunt).
|
||||
The primary contact for this project is [@jessopb](https://github.com/jessopb).
|
||||
@@ -1,21 +0,0 @@
|
||||
# Node.js
|
||||
# Build a general Node.js project with npm.
|
||||
# Add steps that analyze code, save build artifacts, deploy, and more:
|
||||
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript
|
||||
|
||||
trigger:
|
||||
- release
|
||||
|
||||
pool:
|
||||
vmImage: 'vs2017-win2016'
|
||||
|
||||
steps:
|
||||
- task: NodeTool@0
|
||||
inputs:
|
||||
versionSpec: '9.x'
|
||||
displayName: 'Install Node.js'
|
||||
|
||||
- script: |
|
||||
yarn install
|
||||
yarn build --publish onTag
|
||||
displayName: 'yarn install and build'
|
||||
@@ -0,0 +1,16 @@
|
||||
module.exports = api => {
|
||||
api.cache(false);
|
||||
|
||||
return {
|
||||
presets: [['@babel/env', { loose: true, modules: false }], '@babel/react', '@babel/flow'],
|
||||
plugins: [
|
||||
'import-glob',
|
||||
'@babel/plugin-transform-runtime',
|
||||
['@babel/plugin-proposal-decorators', { decoratorsBeforeExport: true }],
|
||||
'@babel/plugin-transform-flow-strip-types',
|
||||
'@babel/plugin-proposal-class-properties',
|
||||
'react-hot-loader/babel',
|
||||
],
|
||||
ignore: [/node_modules/],
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,12 @@
|
||||
const fs = require('fs');
|
||||
|
||||
module.exports = async function(params) {
|
||||
const { artifactPaths } = params;
|
||||
|
||||
for (var i = 0; i < artifactPaths.length; i++) {
|
||||
const artifactPath = artifactPaths[i];
|
||||
if (artifactPath.includes('.blockmap') || artifactPath.includes('.zip')) {
|
||||
fs.unlinkSync(artifactPath);
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,33 @@
|
||||
// See: https://medium.com/@TwitterArchiveEraser/notarize-electron-apps-7a5f988406db
|
||||
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
var electron_notarize = require('electron-notarize');
|
||||
|
||||
module.exports = async function() {
|
||||
if (process.env.RUNNER_OS !== 'macOS') {
|
||||
return;
|
||||
}
|
||||
|
||||
const appId = 'io.lbry.LBRY';
|
||||
const appPath = path.resolve(__dirname, '../dist/electron/mac/LBRY.app');
|
||||
|
||||
if (!fs.existsSync(appPath)) {
|
||||
throw new Error(`Cannot find application at: ${appPath}`);
|
||||
}
|
||||
|
||||
console.log(`Notarizing ${appId} found at ${appPath}`);
|
||||
|
||||
try {
|
||||
await electron_notarize.notarize({
|
||||
appBundleId: appId,
|
||||
appPath: appPath,
|
||||
appleId: process.env.NOTARIZATION_USERNAME,
|
||||
appleIdPassword: process.env.NOTARIZATION_PASSWORD,
|
||||
});
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
}
|
||||
|
||||
console.log(`Done notarizing ${appId}`);
|
||||
};
|
||||
+6
-13
@@ -1,4 +1,3 @@
|
||||
/* eslint-disable no-console,import/no-extraneous-dependencies,import/no-commonjs */
|
||||
const path = require('path');
|
||||
const fs = require('fs');
|
||||
const packageJSON = require('../package.json');
|
||||
@@ -25,14 +24,13 @@ const downloadDaemon = targetPlatform =>
|
||||
const daemonFilePath = path.join(daemonDir, daemonFileName);
|
||||
const daemonVersionPath = path.join(__dirname, 'daemon.ver');
|
||||
const tmpZipPath = path.join(__dirname, '..', 'dist', 'daemon.zip');
|
||||
const daemonURL = daemonURLTemplate
|
||||
.replace(/DAEMONVER/g, daemonVersion)
|
||||
.replace(/OSNAME/g, daemonPlatform);
|
||||
const daemonURL = daemonURLTemplate.replace(/DAEMONVER/g, daemonVersion).replace(/OSNAME/g, daemonPlatform);
|
||||
|
||||
// If a daemon and daemon.ver exists, check to see if it matches the current daemon version
|
||||
const hasDaemonDownloaded = fs.existsSync(daemonFilePath);
|
||||
const hasDaemonVersion = fs.existsSync(daemonVersionPath);
|
||||
let downloadedDaemonVersion;
|
||||
|
||||
if (hasDaemonVersion) {
|
||||
downloadedDaemonVersion = fs.readFileSync(daemonVersionPath, 'utf8');
|
||||
}
|
||||
@@ -66,13 +64,14 @@ const downloadDaemon = targetPlatform =>
|
||||
})
|
||||
)
|
||||
.then(() => del(`${daemonFilePath}*`))
|
||||
.then()
|
||||
.then(() =>
|
||||
decompress(tmpZipPath, daemonDir, {
|
||||
filter: file => path.basename(file.path) === daemonFileName,
|
||||
})
|
||||
)
|
||||
.then(() => {
|
||||
console.log('\x1b[32msuccess\x1b[0m Daemon downloaded!');
|
||||
console.log(`\x1b[32msuccess\x1b[0m Daemon downloaded! - v${daemonVersion}`);
|
||||
if (hasDaemonVersion) {
|
||||
del(daemonVersionPath);
|
||||
}
|
||||
@@ -81,16 +80,10 @@ const downloadDaemon = targetPlatform =>
|
||||
resolve('Done');
|
||||
})
|
||||
.catch(error => {
|
||||
console.error(
|
||||
`\x1b[31merror\x1b[0m Daemon download failed due to: \x1b[35m${error}\x1b[0m`
|
||||
);
|
||||
console.error(`\x1b[31merror\x1b[0m Daemon download failed due to: \x1b[35m${error}\x1b[0m`);
|
||||
reject(error);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
module.exports = downloadDaemon;
|
||||
|
||||
require('make-runnable/custom')({
|
||||
printOutputFrame: false,
|
||||
});
|
||||
downloadDaemon();
|
||||
@@ -0,0 +1,91 @@
|
||||
const path = require('path');
|
||||
const fs = require('fs');
|
||||
const packageJSON = require('../package.json');
|
||||
const fetch = require('node-fetch');
|
||||
const decompress = require('decompress');
|
||||
const os = require('os');
|
||||
const del = require('del');
|
||||
|
||||
const downloadLBRYFirst = targetPlatform =>
|
||||
new Promise((resolve, reject) => {
|
||||
const lbryFirstURLTemplate = packageJSON.lbrySettings.LBRYFirstUrlTemplate;
|
||||
const lbryFirstVersion = packageJSON.lbrySettings.LBRYFirstVersion;
|
||||
const lbryFirstDir = path.join(__dirname, '..', packageJSON.lbrySettings.LBRYFirstDir);
|
||||
let lbryFirstFileName = packageJSON.lbrySettings.LBRYFirstFileName;
|
||||
|
||||
const currentPlatform = os.platform();
|
||||
|
||||
let lbryFirstPlatform = process.env.TARGET || targetPlatform || currentPlatform;
|
||||
if (lbryFirstPlatform === 'linux') lbryFirstPlatform = 'Linux';
|
||||
if (lbryFirstPlatform === 'mac' || lbryFirstPlatform === 'darwin') lbryFirstPlatform = 'Darwin';
|
||||
if (lbryFirstPlatform === 'win32' || lbryFirstPlatform === 'windows') {
|
||||
lbryFirstPlatform = 'Windows';
|
||||
lbryFirstFileName += '.exe';
|
||||
}
|
||||
const lbryFirstFilePath = path.join(lbryFirstDir, lbryFirstFileName);
|
||||
const lbryFirstVersionPath = path.join(__dirname, 'lbryFirst.ver');
|
||||
const tmpZipPath = path.join(__dirname, '..', 'dist', 'lbryFirst.zip');
|
||||
const lbryFirstURL = lbryFirstURLTemplate.replace(/LBRYFIRSTVER/g, lbryFirstVersion).replace(/OSNAME/g, lbryFirstPlatform);
|
||||
console.log('URL:', lbryFirstURL);
|
||||
|
||||
// If a lbryFirst and lbryFirst.ver exists, check to see if it matches the current lbryFirst version
|
||||
const hasLbryFirstDownloaded = fs.existsSync(lbryFirstFilePath);
|
||||
const hasLbryFirstVersion = fs.existsSync(lbryFirstVersionPath);
|
||||
let downloadedLbryFirstVersion;
|
||||
|
||||
if (hasLbryFirstVersion) {
|
||||
downloadedLbryFirstVersion = fs.readFileSync(lbryFirstVersionPath, 'utf8');
|
||||
}
|
||||
|
||||
if (hasLbryFirstDownloaded && hasLbryFirstVersion && downloadedLbryFirstVersion === lbryFirstVersion) {
|
||||
console.log('\x1b[34minfo\x1b[0m LbryFirst already downloaded');
|
||||
resolve('Done');
|
||||
} else {
|
||||
console.log('\x1b[34minfo\x1b[0m Downloading lbryFirst...');
|
||||
fetch(lbryFirstURL, {
|
||||
method: 'GET',
|
||||
headers: {
|
||||
'Content-Type': 'application/zip',
|
||||
},
|
||||
})
|
||||
.then(response => response.buffer())
|
||||
.then(
|
||||
result =>
|
||||
new Promise((newResolve, newReject) => {
|
||||
const distPath = path.join(__dirname, '..', 'dist');
|
||||
const hasDistFolder = fs.existsSync(distPath);
|
||||
|
||||
if (!hasDistFolder) {
|
||||
fs.mkdirSync(distPath);
|
||||
}
|
||||
|
||||
fs.writeFile(tmpZipPath, result, error => {
|
||||
if (error) return newReject(error);
|
||||
return newResolve();
|
||||
});
|
||||
})
|
||||
)
|
||||
.then(() => del(`${lbryFirstFilePath}*`))
|
||||
.then()
|
||||
.then(() =>
|
||||
decompress(tmpZipPath, lbryFirstDir, {
|
||||
filter: file => path.basename(file.path) === lbryFirstFileName,
|
||||
})
|
||||
)
|
||||
.then(() => {
|
||||
console.log('\x1b[32msuccess\x1b[0m LbryFirst downloaded!');
|
||||
if (hasLbryFirstVersion) {
|
||||
del(lbryFirstVersionPath);
|
||||
}
|
||||
|
||||
fs.writeFileSync(lbryFirstVersionPath, lbryFirstVersion, 'utf8');
|
||||
resolve('Done');
|
||||
})
|
||||
.catch(error => {
|
||||
console.error(`\x1b[31merror\x1b[0m LbryFirst download failed due to: \x1b[35m${error}\x1b[0m`);
|
||||
reject(error);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
downloadLBRYFirst();
|
||||
@@ -1,49 +0,0 @@
|
||||
const extract = require("i18n-extract");
|
||||
const fs = require("fs");
|
||||
const path = require("path");
|
||||
|
||||
const outputDir = `${__dirname}/../static/locales`;
|
||||
const outputPath = `${outputDir}/en.json`;
|
||||
|
||||
if (!fs.existsSync(outputDir)) {
|
||||
fs.mkdirSync(outputDir);
|
||||
}
|
||||
|
||||
fs.writeFile(outputPath, "{}", "utf8", err => {
|
||||
if (err) {
|
||||
return console.log(err);
|
||||
}
|
||||
const enLocale = require(outputPath);
|
||||
|
||||
const keys = extract.extractFromFiles("src/**/*.{js,jsx}", {
|
||||
marker: "__",
|
||||
});
|
||||
|
||||
let reports = [];
|
||||
reports = reports.concat(extract.findMissing(enLocale, keys));
|
||||
|
||||
if (reports.length > 0) {
|
||||
fs.readFile(outputPath, "utf8", (err, data) => {
|
||||
if (err) {
|
||||
console.log(err);
|
||||
} else {
|
||||
localeObj = JSON.parse(data);
|
||||
|
||||
for (let i = 0; i < reports.length; i++) {
|
||||
// no need to care for other types than MISSING because starting file will always be empty
|
||||
if (reports[i].type === "MISSING") {
|
||||
localeObj[reports[i].key] = reports[i].key;
|
||||
}
|
||||
}
|
||||
|
||||
const json = JSON.stringify(localeObj, null, "\t"); // convert it back to json-string
|
||||
fs.writeFile(outputPath, json, "utf8", err => {
|
||||
if (err) {
|
||||
throw err;
|
||||
}
|
||||
console.log("Extracted all strings!");
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
@@ -0,0 +1,158 @@
|
||||
const { Octokit } = require('@octokit/rest');
|
||||
const octokit = new Octokit();
|
||||
var wget = require('node-wget');
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
const { exec } = require('child_process');
|
||||
const readline = require('readline');
|
||||
|
||||
// Global generated from cli prompt
|
||||
let versionToSign;
|
||||
|
||||
// Why can't I do this with 'fs'? :/
|
||||
function deleteFolderRecursive(path) {
|
||||
if (fs.existsSync(path)) {
|
||||
fs.readdirSync(path).forEach(function(file, index) {
|
||||
var curPath = path + '/' + file;
|
||||
if (fs.lstatSync(curPath).isDirectory()) {
|
||||
// recurse
|
||||
deleteFolderRecursive(curPath);
|
||||
} else {
|
||||
// delete file
|
||||
fs.unlinkSync(curPath);
|
||||
}
|
||||
});
|
||||
fs.rmdirSync(path);
|
||||
}
|
||||
}
|
||||
|
||||
// Initial setup
|
||||
// Create a file to store the hashes (creates a new copy if one exists)
|
||||
const downloadPath = path.resolve(__dirname, '../dist/releaseDownloads');
|
||||
const fileToSign = path.resolve(downloadPath, '../hashes.txt');
|
||||
|
||||
fs.openSync(fileToSign, 'w');
|
||||
|
||||
if (!fs.existsSync(downloadPath)) {
|
||||
fs.mkdirSync(downloadPath);
|
||||
} else {
|
||||
deleteFolderRecursive(downloadPath);
|
||||
fs.mkdirSync(downloadPath);
|
||||
}
|
||||
|
||||
//
|
||||
// Below is the actual code that downloads, hashes, and signs the release
|
||||
//
|
||||
function cleanUpAfterSigning() {
|
||||
fs.unlinkSync(fileToSign);
|
||||
deleteFolderRecursive(downloadPath);
|
||||
console.log('Good to go captain');
|
||||
process.exit(0);
|
||||
}
|
||||
|
||||
function signFile() {
|
||||
console.log('Logging in file with hashes using keybase...');
|
||||
// All files are hashed and added to hashes.txt
|
||||
// Sign it with keybase
|
||||
const fileName = `LBRY_${versionToSign}_sigs.asc`;
|
||||
|
||||
const pathForSignedFile = path.resolve(__dirname, `../dist/${fileName}`);
|
||||
exec(`keybase pgp sign -i ${fileToSign} -c -o ${pathForSignedFile}`, err => {
|
||||
if (err) {
|
||||
console.log('Error signing file with keybase');
|
||||
}
|
||||
|
||||
cleanUpAfterSigning();
|
||||
});
|
||||
}
|
||||
|
||||
function hashFiles() {
|
||||
console.log('Hashing assets downloaded from github...');
|
||||
|
||||
fs.readdir(downloadPath, function(err, items) {
|
||||
if (err) {
|
||||
console.log('Error signing files in ', downloadPath);
|
||||
}
|
||||
|
||||
let count = 0;
|
||||
for (var i = 0; i < items.length; i++) {
|
||||
const file = items[i];
|
||||
const filePath = path.resolve(__dirname, '../dist/releaseDownloads/', file);
|
||||
exec(`sha256sum ${filePath}`, (err, stdout) => {
|
||||
if (err) {
|
||||
console.log('Error hashing ', filePath);
|
||||
}
|
||||
|
||||
count += 1;
|
||||
const hash = stdout.split(' ')[0];
|
||||
const stringToAppend = `${hash} ${file}\n`;
|
||||
fs.appendFileSync(fileToSign, stringToAppend);
|
||||
|
||||
if (count === items.length - 1) {
|
||||
signFile();
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
let downloadCount = 0;
|
||||
let fileCountToDownload;
|
||||
function downloadFile(fileName, url) {
|
||||
wget(
|
||||
{
|
||||
url: url,
|
||||
dest: `${downloadPath}/`,
|
||||
},
|
||||
(error, response, body) => {
|
||||
console.log(`Finished downloading `, fileName);
|
||||
downloadCount += 1;
|
||||
|
||||
if (downloadCount === fileCountToDownload) {
|
||||
hashFiles();
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
function downloadAssets() {
|
||||
console.log('Downloading release assets...');
|
||||
octokit.repos
|
||||
.getReleaseByTag({
|
||||
owner: 'lbryio',
|
||||
repo: 'lbry-desktop',
|
||||
tag: versionToSign,
|
||||
})
|
||||
.then(({ data }) => {
|
||||
const release_id = data.id;
|
||||
|
||||
return octokit.repos.listReleases({
|
||||
owner: 'lbryio',
|
||||
repo: 'lbry-desktop',
|
||||
release_id,
|
||||
});
|
||||
})
|
||||
.then(({ data }) => {
|
||||
const releaseToDownload = data.filter(releaseData => releaseData.tag_name === versionToSign)[0];
|
||||
const assets = releaseToDownload.assets;
|
||||
fileCountToDownload = assets.length;
|
||||
assets
|
||||
.map(({ browser_download_url, name }) => ({ download_url: browser_download_url, name }))
|
||||
.forEach(({ name, download_url }) => {
|
||||
const fileName = path.resolve(__dirname, `../dist/releaseDownloads/${name}`);
|
||||
downloadFile(fileName, download_url);
|
||||
});
|
||||
})
|
||||
.catch(error => console.log('Error downloading releases ', error));
|
||||
}
|
||||
|
||||
const rl = readline.createInterface({
|
||||
input: process.stdin,
|
||||
output: process.stdout,
|
||||
});
|
||||
|
||||
rl.question('Version to sign: ', function(version) {
|
||||
const tag = version.startsWith('v') ? version : `v${version}`;
|
||||
versionToSign = tag;
|
||||
downloadAssets();
|
||||
});
|
||||
@@ -0,0 +1,56 @@
|
||||
// On Web, this will find .env.defaults and optional .env in web/
|
||||
// On Desktop App, this will find .env.defaults and optional .env in root dir
|
||||
require('dotenv-defaults').config({ silent: false });
|
||||
|
||||
const config = {
|
||||
MATOMO_URL: process.env.MATOMO_URL,
|
||||
MATOMO_ID: process.env.MATOMO_ID,
|
||||
WEBPACK_WEB_PORT: process.env.WEBPACK_WEB_PORT,
|
||||
WEBPACK_ELECTRON_PORT: process.env.WEBPACK_ELECTRON_PORT,
|
||||
WEB_SERVER_PORT: process.env.WEB_SERVER_PORT,
|
||||
LBRY_WEB_API: process.env.LBRY_WEB_API, //api.lbry.tv',
|
||||
LBRY_API_URL: process.env.LBRY_API_URL, //api.lbry.com',
|
||||
LBRY_WEB_STREAMING_API: process.env.LBRY_WEB_STREAMING_API, //cdn.lbryplayer.xyz',
|
||||
LBRY_WEB_BUFFER_API: process.env.LBRY_WEB_BUFFER_API,
|
||||
COMMENT_SERVER_API: process.env.COMMENT_SERVER_API,
|
||||
WELCOME_VERSION: process.env.WELCOME_VERSION,
|
||||
DOMAIN: process.env.DOMAIN,
|
||||
SHARE_DOMAIN_URL: process.env.SHARE_DOMAIN_URL,
|
||||
URL: process.env.URL,
|
||||
THUMBNAIL_CDN_URL: process.env.THUMBNAIL_CDN_URL,
|
||||
SITE_TITLE: process.env.SITE_TITLE,
|
||||
SITE_NAME: process.env.SITE_NAME,
|
||||
SITE_DESCRIPTION: process.env.SITE_DESCRIPTION,
|
||||
SITE_HELP_EMAIL: process.env.SITE_HELP_EMAIL,
|
||||
LOGO_TITLE: process.env.LOGO_TITLE,
|
||||
OG_TITLE_SUFFIX: process.env.OG_TITLE_SUFFIX,
|
||||
OG_HOMEPAGE_TITLE: process.env.OG_HOMEPAGE_TITLE,
|
||||
OG_IMAGE_URL: process.env.OG_IMAGE_URL,
|
||||
YRBL_HAPPY_IMG_URL: process.env.YRBL_HAPPY_IMG_URL,
|
||||
YRBL_SAD_IMG_URL: process.env.YRBL_SAD_IMG_URL,
|
||||
LOGIN_IMG_URL: process.env.LOGIN_IMG_URL,
|
||||
SITE_CANONICAL_URL: process.env.SITE_CANONICAL_URL,
|
||||
DEFAULT_LANGUAGE: process.env.DEFAULT_LANGUAGE,
|
||||
AUTO_FOLLOW_CHANNELS: process.env.AUTO_FOLLOW_CHANNELS,
|
||||
UNSYNCED_SETTINGS: process.env.UNSYNCED_SETTINGS,
|
||||
ENABLE_COMMENT_REACTIONS: process.env.ENABLE_COMMENT_REACTIONS === 'true',
|
||||
ENABLE_FILE_REACTIONS: process.env.ENABLE_FILE_REACTIONS === 'true',
|
||||
ENABLE_CREATOR_REACTIONS: process.env.ENABLE_CREATOR_REACTIONS === 'true',
|
||||
ENABLE_NO_SOURCE_CLAIMS: process.env.ENABLE_NO_SOURCE_CLAIMS === 'true',
|
||||
ENABLE_PREROLL_ADS: process.env.ENABLE_PREROLL_ADS === 'true',
|
||||
CHANNEL_STAKED_LEVEL_VIDEO_COMMENTS: process.env.CHANNEL_STAKED_LEVEL_VIDEO_COMMENTS,
|
||||
CHANNEL_STAKED_LEVEL_LIVESTREAM: process.env.CHANNEL_STAKED_LEVEL_LIVESTREAM,
|
||||
WEB_PUBLISH_SIZE_LIMIT_GB: process.env.WEB_PUBLISH_SIZE_LIMIT_GB,
|
||||
SIMPLE_SITE: process.env.SIMPLE_SITE === 'true',
|
||||
SHOW_ADS: process.env.SHOW_ADS === 'true',
|
||||
PINNED_URI_1: process.env.PINNED_URI_1,
|
||||
PINNED_LABEL_1: process.env.PINNED_LABEL_1,
|
||||
PINNED_URI_2: process.env.PINNED_URI_2,
|
||||
PINNED_LABEL_2: process.env.PINNED_LABEL_2,
|
||||
KNOWN_APP_DOMAINS: process.env.KNOWN_APP_DOMAINS ? process.env.KNOWN_APP_DOMAINS.split(',') : [],
|
||||
};
|
||||
|
||||
config.URL_LOCAL = `http://localhost:${config.WEB_SERVER_PORT}`;
|
||||
config.URL_DEV = `http://localhost:${config.WEBPACK_WEB_PORT}`;
|
||||
|
||||
module.exports = config;
|
||||
@@ -0,0 +1,306 @@
|
||||
// @flow
|
||||
|
||||
/*
|
||||
Creating custom homepage items
|
||||
1) in web/ folder, copy `.env.defaults` to `.env` and make CUSTOM_HOMEPAGE=true
|
||||
2) copy this file to homepage.js
|
||||
3) Create item objects
|
||||
{
|
||||
title, // how the title link displays
|
||||
link, // where the title link goes
|
||||
options // what search results populate the homepage item
|
||||
}
|
||||
4) rowData.push(item) for each item in the order you want them
|
||||
|
||||
Item object examples:
|
||||
Specific Channel
|
||||
|
||||
const LATEST_FROM_%CHANNEL% = {
|
||||
title: 'Latest From @%channel%',
|
||||
link: `/@%channelName%:%canonicalId%`,
|
||||
options: {
|
||||
orderBy: ['release_time'],
|
||||
pageSize: 4,
|
||||
channelIds: ['%channelId%'],
|
||||
},
|
||||
};
|
||||
|
||||
More complex List of channels with description icon filtering by fee_amount etc are possible
|
||||
|
||||
SOME_CHANNEL_IDS = ['channelId1', 'channelId2']
|
||||
SOME_TAG = '
|
||||
const SOME_CHANNELS_ITEM = {
|
||||
title: '#aTitle',
|
||||
link: `/$/${PAGES.DISCOVER}?${CS.TAGS_KEY}=aTag&fee_amount=>0&${CS.CLAIM_TYPE}=${CS.CLAIM_STREAM}&${
|
||||
CS.CHANNEL_IDS_KEY
|
||||
}=${SOME_CHANNEL_IDS.join(',')}`,
|
||||
help: (
|
||||
<div className="claim-grid__help">
|
||||
<Icon
|
||||
icon={ICONS.HELP}
|
||||
tooltip
|
||||
customTooltipText={__(
|
||||
'Some tooltip text.'
|
||||
)}
|
||||
/>
|
||||
</div>
|
||||
),
|
||||
options: { // search options
|
||||
feeAmount: '>0',
|
||||
claimType: ['stream'],
|
||||
tags: ['tagOne', 'tagTwo'],
|
||||
pageSize: 8,
|
||||
channelIds: SOME_CHANNEL_IDS,
|
||||
},
|
||||
};
|
||||
*/
|
||||
import * as PAGES from 'constants/pages';
|
||||
import * as CS from 'constants/claim_search';
|
||||
import * as ICONS from 'constants/icons';
|
||||
import { parseURI } from 'lbry-redux';
|
||||
import moment from 'moment';
|
||||
import { toCapitalCase } from 'util/string';
|
||||
import React from 'react';
|
||||
import Icon from 'component/common/icon';
|
||||
|
||||
export type RowDataItem = {
|
||||
title: string,
|
||||
link?: string,
|
||||
help?: any,
|
||||
options?: {},
|
||||
};
|
||||
|
||||
export default function GetHomePageRowData(
|
||||
authenticated: boolean,
|
||||
showPersonalizedChannels: boolean,
|
||||
showPersonalizedTags: boolean,
|
||||
subscribedChannels: Array<Subscription>,
|
||||
followedTags: Array<Tag>,
|
||||
showIndividualTags: boolean
|
||||
) {
|
||||
let rowData: Array<RowDataItem> = [];
|
||||
const individualTagDataItems: Array<RowDataItem> = [];
|
||||
const PAID_BETA_CHANNEL_IDS_KEY = [
|
||||
'4ee7cfaf1fc50a6df858ed0b99c278d633bccca9',
|
||||
'5af39f818f668d8c00943c9326c5201c4fe3c423',
|
||||
'cda9c4e92f19d6fe0764524a2012056e06ca2055',
|
||||
'760da3ba3dd85830a843beaaed543a89b7a367e7',
|
||||
'40c36948f0da072dcba3e4833e90f71e16de78be',
|
||||
'e8f68563d242f6ac9784dcbc41dd86c28a9391d6',
|
||||
'7236fc5d2783ea7314d9076ae6c8a250e3992d1a',
|
||||
'8627af93c1a1219150f06b698f4b33e6ed2f1c1e',
|
||||
'c5b0b17838df2f6c31162f64d55f60f34ae8bfc6',
|
||||
'f576d5dba905fc179de880c3fe3eb3281ea74f59',
|
||||
'97dd77c93c9603cbb2583f3589f7f5a6c92baa43',
|
||||
'f399d873e0c37cf24de9569b5f22bbb30a5c6709',
|
||||
'dba870d0620d41b2b9a152c961e0c06cf875ccfc',
|
||||
'ca1fd651c9d14bf2e5088bb2aa0146ee7aeb2ae0',
|
||||
'50ad846a4b1543b847bf3fdafb7b45f6b2f5844c',
|
||||
'e09ff5abe9fb44dd0dd0576894a6db60a6211603',
|
||||
'7b6f7517f6b816827d076fa0eaad550aa315a4e7',
|
||||
'2068452c41d8da3bd68961335da0072a99258a1a',
|
||||
'3645cf2f5d0bdac0523f945be1c3ff60758f7845',
|
||||
'4da85b12244839d6368b9290f1619ff9514ab2a8',
|
||||
'4ad942982e43326c7700b1b6443049b3cfd82161',
|
||||
'55304f219244abf82f684f759cc0c7769242f3b4',
|
||||
'8f42e5b592bb7f7a03f4a94a86a41b1236bb099f',
|
||||
'e2a014d885a48f5be2dc6409610996337312facb',
|
||||
'c18996ca488753f714d36d4654715927c1d7f9c2',
|
||||
'ebc4214424cfa683a7046e1f794fea1e44788d84',
|
||||
'06b6d6d6a893fb589ec2ded948f5122856921ed5',
|
||||
'07e4546674268fc0222b2ca22d31d0549dc217ee',
|
||||
'060940e41973d4f7f16d72a2733138e931c35f41',
|
||||
'f8d6eccd887c9cebd36b1d42aa349279b7f5c3ed',
|
||||
'68098b8426f967b8d04cc566348b5c128823219e',
|
||||
'2bfe6cdb24a21bdc1b76fb7c416edd50e9e85945',
|
||||
'1f9bb08bfa2259629f4aaa9ed40f97e9a41b6fa1',
|
||||
'2f20148495612946675fe1c8ea99171e4d950b81',
|
||||
'bc6938fa1e09e840056c2e831abf9664f397c472',
|
||||
'2a6194792beac5130641e932b5ac6e5a99b5ca4f',
|
||||
'185ba2bd547a5e4a77d29fe6c1484f47db5e058f',
|
||||
'29cc7f6081268eaa5b3f2946e0cd0b952a94812c',
|
||||
'ffdc62ac2f7549398d3aca9d2119e83d80d588d5',
|
||||
'd7a4d2808074b0c55d6b239f69d90e7a4930f943',
|
||||
'd58aa4a0b2f6c2504c3abce8de3f1afb71800acc',
|
||||
'77ae23dc7eb8a75609881d4548a79e4935a89d37',
|
||||
'f79bce8a60fbece671f6265adc39f6469f3b9b8c',
|
||||
'051995fdf0af634e4911704057a551e9392e62b1',
|
||||
'b0e489f986c345aef23c4a48d91cbcf5a6fdb9ac',
|
||||
'825aa21c8c0bda4ded3e69a69238763c8cfcc13b',
|
||||
'49389450b1241f5d8f4c8c4271a3eb56bba33965',
|
||||
'f3b9973e1725ecb50da3e6fa4d47343c98ef0382',
|
||||
'321b33d22c8e24ef207e3f357a4573f6a56611f3',
|
||||
'20d694ada07e740c6fa43a8c324cb7d6e362b5ee',
|
||||
'cf7792c2a37d0d76aaaff84aff0b99a8c791429d',
|
||||
'8316ac90764fedf3147799b7b81a6575a9cc398e',
|
||||
'8972a1bd06de5186e5e89292b05aac8aaa817791',
|
||||
'5da63df97c8255ae94a88940695b8471657dd5a1',
|
||||
'f3da2196b5151570d980b34d311ee0973225a68e',
|
||||
'7644fdb8342624f6c647c79de25610801573fa68',
|
||||
];
|
||||
|
||||
const TV_PAID_BETA_ROW = {
|
||||
title: '#lbrytvpaidbeta',
|
||||
link: `/$/${PAGES.DISCOVER}?${CS.TAGS_KEY}=lbrytvpaidbeta&fee_amount=>0&${CS.CLAIM_TYPE}=${CS.CLAIM_STREAM}&${
|
||||
CS.CHANNEL_IDS_KEY
|
||||
}=${PAID_BETA_CHANNEL_IDS_KEY.join(',')}`,
|
||||
help: (
|
||||
<div className="claim-grid__help">
|
||||
<Icon
|
||||
icon={ICONS.HELP}
|
||||
tooltip
|
||||
customTooltipText={__(
|
||||
'Check your rewards page to see if you qualify for paid content reimbursement. Only content in this section qualifies.'
|
||||
)}
|
||||
/>
|
||||
</div>
|
||||
),
|
||||
options: {
|
||||
feeAmount: '>0',
|
||||
claimType: ['stream'],
|
||||
tags: ['lbrytvpaidbeta', 'lbry tvpaidbeta'],
|
||||
pageSize: 8,
|
||||
channelIds: PAID_BETA_CHANNEL_IDS_KEY,
|
||||
},
|
||||
};
|
||||
|
||||
if (followedTags.length) {
|
||||
followedTags.forEach((tag: Tag) => {
|
||||
individualTagDataItems.push({
|
||||
title: `Trending for #${toCapitalCase(tag.name)}`,
|
||||
link: `/$/${PAGES.DISCOVER}?t=${tag.name}`,
|
||||
options: {
|
||||
pageSize: 4,
|
||||
tags: [tag.name],
|
||||
claimType: ['stream'],
|
||||
},
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
const RECENT_FROM_FOLLOWING = {
|
||||
title: 'Recent From Following',
|
||||
link: `/$/${PAGES.CHANNELS_FOLLOWING}`,
|
||||
options: {
|
||||
orderBy: ['release_time'],
|
||||
releaseTime:
|
||||
subscribedChannels.length > 20
|
||||
? `>${Math.floor(
|
||||
moment()
|
||||
.subtract(6, 'months')
|
||||
.startOf('week')
|
||||
.unix()
|
||||
)}`
|
||||
: `>${Math.floor(
|
||||
moment()
|
||||
.subtract(1, 'year')
|
||||
.startOf('week')
|
||||
.unix()
|
||||
)}`,
|
||||
pageSize: subscribedChannels.length > 3 ? 8 : 4,
|
||||
channelIds: subscribedChannels.map((subscription: Subscription) => {
|
||||
const { channelClaimId } = parseURI(subscription.uri);
|
||||
return channelClaimId;
|
||||
}),
|
||||
},
|
||||
};
|
||||
|
||||
const TOP_CONTENT_TODAY = {
|
||||
title: 'Top Content from Today',
|
||||
link: `/$/${PAGES.DISCOVER}?${CS.ORDER_BY_KEY}=${CS.ORDER_BY_TOP}&${CS.FRESH_KEY}=${CS.FRESH_DAY}`,
|
||||
options: {
|
||||
pageSize: showPersonalizedChannels || showPersonalizedTags ? 4 : 8,
|
||||
orderBy: ['effective_amount'],
|
||||
claimType: ['stream'],
|
||||
releaseTime: `>${Math.floor(
|
||||
moment()
|
||||
.subtract(1, 'day')
|
||||
.startOf('day')
|
||||
.unix()
|
||||
)}`,
|
||||
},
|
||||
};
|
||||
|
||||
const TOP_CHANNELS = {
|
||||
title: 'Top Channels On LBRY',
|
||||
link: `/$/${PAGES.DISCOVER}?claim_type=channel&${CS.ORDER_BY_KEY}=${CS.ORDER_BY_TOP}&${CS.FRESH_KEY}=${CS.FRESH_ALL}`,
|
||||
options: {
|
||||
orderBy: ['effective_amount'],
|
||||
claimType: ['channel'],
|
||||
},
|
||||
};
|
||||
|
||||
const TRENDING_CLASSICS = {
|
||||
title: 'Trending Classics',
|
||||
link: `/$/${PAGES.DISCOVER}?${CS.ORDER_BY_KEY}=${CS.ORDER_BY_TRENDING}&${CS.FRESH_KEY}=${CS.FRESH_WEEK}`,
|
||||
options: {
|
||||
pageSize: 4,
|
||||
claimType: ['stream'],
|
||||
releaseTime: `<${Math.floor(
|
||||
moment()
|
||||
.subtract(6, 'month')
|
||||
.startOf('day')
|
||||
.unix()
|
||||
)}`,
|
||||
},
|
||||
};
|
||||
|
||||
const TRENDING_ON_LBRY = {
|
||||
title: 'Trending On LBRY',
|
||||
link: `/$/${PAGES.DISCOVER}`,
|
||||
options: {
|
||||
pageSize: showPersonalizedChannels || showPersonalizedTags ? 4 : 8,
|
||||
},
|
||||
};
|
||||
|
||||
const TRENDING_FOR_TAGS = {
|
||||
title: 'Trending For Your Tags',
|
||||
link: `/$/${PAGES.TAGS_FOLLOWING}`,
|
||||
options: {
|
||||
tags: followedTags.map(tag => tag.name),
|
||||
claimType: ['stream'],
|
||||
},
|
||||
};
|
||||
|
||||
const LATEST_FROM_LBRY = {
|
||||
title: 'Latest From @lbry',
|
||||
link: `/@lbry:3f`,
|
||||
options: {
|
||||
orderBy: ['release_time'],
|
||||
pageSize: 4,
|
||||
channelIds: ['3fda836a92faaceedfe398225fb9b2ee2ed1f01a'],
|
||||
},
|
||||
};
|
||||
|
||||
const LATEST_FROM_LBRYCAST = {
|
||||
title: 'Latest From @lbrycast',
|
||||
link: `/@lbrycast:4`,
|
||||
options: {
|
||||
orderBy: ['release_time'],
|
||||
pageSize: 4,
|
||||
channelIds: ['4c29f8b013adea4d5cca1861fb2161d5089613ea'],
|
||||
},
|
||||
};
|
||||
|
||||
if (showPersonalizedChannels) rowData.push(RECENT_FROM_FOLLOWING);
|
||||
if (showPersonalizedTags && !showIndividualTags) rowData.push(TRENDING_FOR_TAGS);
|
||||
if (showPersonalizedTags && showIndividualTags) {
|
||||
individualTagDataItems.forEach((item: RowDataItem) => {
|
||||
rowData.push(item);
|
||||
});
|
||||
}
|
||||
if (authenticated) {
|
||||
rowData.push(TV_PAID_BETA_ROW);
|
||||
}
|
||||
rowData.push(TOP_CONTENT_TODAY);
|
||||
rowData.push(TRENDING_ON_LBRY);
|
||||
if (!showPersonalizedChannels) rowData.push(TOP_CHANNELS);
|
||||
if (!authenticated) {
|
||||
rowData.push(TV_PAID_BETA_ROW);
|
||||
}
|
||||
rowData.push(TRENDING_CLASSICS);
|
||||
rowData.push(LATEST_FROM_LBRYCAST);
|
||||
rowData.push(LATEST_FROM_LBRY);
|
||||
|
||||
return rowData;
|
||||
}
|
||||
File renamed without changes.
@@ -0,0 +1,2 @@
|
||||
User-agent: *
|
||||
Allow: /
|
||||
@@ -0,0 +1,2 @@
|
||||
User-agent: *
|
||||
Disallow: /
|
||||
@@ -1,17 +0,0 @@
|
||||
/* eslint-disable import/no-extraneous-dependencies */
|
||||
import { danger, warn } from 'danger';
|
||||
|
||||
// No PR is too small to include a description of why you made a change
|
||||
if (!danger.github.pr.body || danger.github.pr.body.length < 10) {
|
||||
const title = ':grey_question: No Description';
|
||||
const idea = 'Please include a description of your PR changes.';
|
||||
warn(`${title} - <i>${idea}</i>`);
|
||||
}
|
||||
|
||||
// Check for a CHANGELOG entry
|
||||
const hasChangelog = danger.git.modified_files.some(f => f === 'CHANGELOG.md');
|
||||
if (!hasChangelog) {
|
||||
const title = ':page_facing_up: Changelog Entry Missing';
|
||||
const idea = 'Please add a changelog entry for your changes.';
|
||||
warn(`${title} - <i>${idea}</i>`);
|
||||
}
|
||||
+46
-21
@@ -1,14 +1,45 @@
|
||||
{
|
||||
"appId": "io.lbry.LBRY",
|
||||
"productName": "LBRY",
|
||||
"directories": {
|
||||
"output": "dist/electron"
|
||||
},
|
||||
"files": [
|
||||
{
|
||||
"from": "dist/electron/webpack",
|
||||
"to": "./"
|
||||
},
|
||||
{
|
||||
"from": "dist/electron/static",
|
||||
"to": "./"
|
||||
}
|
||||
],
|
||||
"extraResources": [
|
||||
{
|
||||
"from": "./static/daemon/",
|
||||
"to": "static/daemon/",
|
||||
"filter": ["**/*"]
|
||||
},
|
||||
{
|
||||
"from": "./static/lbry-first/",
|
||||
"to": "static/lbry-first/",
|
||||
"filter": ["**/*"]
|
||||
},
|
||||
{
|
||||
"from": "./static/img",
|
||||
"to": "static/img",
|
||||
"filter": ["**/*"]
|
||||
},
|
||||
{
|
||||
"from": "./static/font",
|
||||
"to": "static/font",
|
||||
"filter": ["**/*"]
|
||||
}
|
||||
],
|
||||
"publish": [
|
||||
{
|
||||
"provider": "s3",
|
||||
"bucket": "build.lbry.io",
|
||||
"path": "app/release",
|
||||
"region": "us-east-1"
|
||||
},
|
||||
"github"
|
||||
"provider": "github"
|
||||
}
|
||||
],
|
||||
"mac": {
|
||||
"category": "public.app-category.entertainment"
|
||||
@@ -43,35 +74,29 @@
|
||||
}
|
||||
],
|
||||
"linux": {
|
||||
"target": "deb",
|
||||
"target": ["AppImage", "deb"],
|
||||
"executableName": "lbry",
|
||||
"category": "AudioVideo;Video",
|
||||
"desktop": {
|
||||
"MimeType": "x-scheme-handler/lbry",
|
||||
"Exec": "/opt/LBRY/lbry %U"
|
||||
"MimeType": "x-scheme-handler/lbry"
|
||||
}
|
||||
},
|
||||
"deb": {
|
||||
"depends": [
|
||||
"gconf2",
|
||||
"gconf-service",
|
||||
"libnotify4",
|
||||
"libappindicator1",
|
||||
"libxtst6",
|
||||
"libnss3",
|
||||
"libsecret-1-0"
|
||||
]
|
||||
"depends": ["gconf2", "gconf-service", "libnotify4", "libappindicator1", "libxtst6", "libnss3"]
|
||||
},
|
||||
"nsis": {
|
||||
"perMachine": true,
|
||||
"createDesktopShortcut": "always"
|
||||
"createDesktopShortcut": "always",
|
||||
"differentialPackage": true
|
||||
},
|
||||
"win": {
|
||||
"target": [
|
||||
{
|
||||
"target": "nsis",
|
||||
"arch": ["x64", "ia32"]
|
||||
"arch": ["x64"]
|
||||
}
|
||||
]
|
||||
},
|
||||
"artifactName": "${productName}_${version}.${ext}"
|
||||
"artifactName": "${productName}_${version}.${ext}",
|
||||
"afterSign": "./build/afterSignHook.js"
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"renderer": {
|
||||
"webpackConfig": "webpack.renderer.additions.js"
|
||||
}
|
||||
}
|
||||
@@ -1,10 +1,21 @@
|
||||
/* eslint-disable no-console */
|
||||
import path from 'path';
|
||||
import fs from 'fs';
|
||||
import { spawn, execSync } from 'child_process';
|
||||
import { Lbry } from 'lbry-redux';
|
||||
|
||||
export default class Daemon {
|
||||
static path = process.env.LBRY_DAEMON || path.join(__static, 'daemon/lbrynet');
|
||||
static lbrynetPath =
|
||||
process.env.LBRY_DAEMON ||
|
||||
(process.env.NODE_ENV === 'production'
|
||||
? path.join(process.resourcesPath, 'static/daemon', 'lbrynet')
|
||||
: path.join(__static, 'daemon/lbrynet'));
|
||||
|
||||
static headersPath =
|
||||
process.env.LBRY_DAEMON ||
|
||||
(process.env.NODE_ENV === 'production'
|
||||
? path.join(process.resourcesPath, 'static/daemon', 'headers')
|
||||
: path.join(__static, 'daemon/headers'));
|
||||
|
||||
subprocess;
|
||||
handlers;
|
||||
|
||||
@@ -13,8 +24,13 @@ export default class Daemon {
|
||||
}
|
||||
|
||||
launch() {
|
||||
this.subprocess = spawn(Daemon.path, ['start']);
|
||||
let flags = ['start'];
|
||||
|
||||
if (fs.existsSync(Daemon.headersPath)) {
|
||||
flags.push(`--initial-headers=${Daemon.headersPath}`);
|
||||
}
|
||||
|
||||
this.subprocess = spawn(Daemon.lbrynetPath, flags);
|
||||
this.subprocess.stdout.on('data', data => console.log(`Daemon: ${data}`));
|
||||
this.subprocess.stderr.on('data', data => console.error(`Daemon: ${data}`));
|
||||
this.subprocess.on('exit', () => this.fire('exit'));
|
||||
@@ -0,0 +1,59 @@
|
||||
import path from 'path';
|
||||
import { spawn, execSync } from 'child_process';
|
||||
|
||||
export default class LbryFirstInstance {
|
||||
static lbryFirstPath =
|
||||
process.env.LBRY_FIRST_DAEMON ||
|
||||
(process.env.NODE_ENV === 'production'
|
||||
? path.join(process.resourcesPath, 'static/lbry-first', 'lbry-first')
|
||||
: path.join(__static, 'lbry-first/lbry-first'));
|
||||
|
||||
static headersPath =
|
||||
process.env.LBRY_FIRST_DAEMON ||
|
||||
(process.env.NODE_ENV === 'production'
|
||||
? path.join(process.resourcesPath, 'static/lbry-first', 'headers')
|
||||
: path.join(__static, 'lbry-first/headers'));
|
||||
|
||||
subprocess;
|
||||
handlers;
|
||||
|
||||
constructor() {
|
||||
this.handlers = [];
|
||||
}
|
||||
|
||||
launch() {
|
||||
let flags = ['serve'];
|
||||
console.log(`LbryFirst: ${LbryFirstInstance.lbryFirstPath}`);
|
||||
this.subprocess = spawn(LbryFirstInstance.lbryFirstPath, flags);
|
||||
this.subprocess.stdout.on('data', data => console.log(`LbryFirst: ${data}`));
|
||||
this.subprocess.stderr.on('data', data => console.error(`LbryFirst: ${data}`));
|
||||
this.subprocess.on('exit', () => this.fire('exit'));
|
||||
this.subprocess.on('error', error => console.error(`LbryFirst error: ${error}`));
|
||||
}
|
||||
|
||||
quit() {
|
||||
if (process.platform === 'win32') {
|
||||
try {
|
||||
execSync(`taskkill /pid ${this.subprocess.pid} /t /f`);
|
||||
} catch (error) {
|
||||
console.error(error.message);
|
||||
}
|
||||
} else {
|
||||
this.subprocess.kill();
|
||||
}
|
||||
}
|
||||
|
||||
// Follows the publish/subscribe pattern
|
||||
|
||||
// Subscribe method
|
||||
on(event, handler, context = handler) {
|
||||
this.handlers.push({ event, handler: handler.bind(context) });
|
||||
}
|
||||
|
||||
// Publish method
|
||||
fire(event, args) {
|
||||
this.handlers.forEach(topic => {
|
||||
if (topic.event === event) topic.handler(args);
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
import { app, Menu, Tray } from 'electron';
|
||||
import path from 'path';
|
||||
|
||||
let tray;
|
||||
|
||||
export default window => {
|
||||
let iconPath;
|
||||
|
||||
/*
|
||||
* A maximized window can't be properly
|
||||
* restored when minimized to the taskbar
|
||||
* (it will be restored/showed as unmaximized).
|
||||
*
|
||||
* window.isMaximized() will also return
|
||||
* false when minimizing a maximized window.
|
||||
*
|
||||
* The safest way to keep track of the
|
||||
* maximized state using maximize and
|
||||
* unmaximize events.
|
||||
*/
|
||||
let isWindowMaximized = false;
|
||||
window.on('maximize', () => {
|
||||
isWindowMaximized = true;
|
||||
});
|
||||
window.on('unmaximize', () => {
|
||||
isWindowMaximized = false;
|
||||
});
|
||||
|
||||
switch (process.platform) {
|
||||
case 'darwin': {
|
||||
iconPath = 'static/img/tray/mac/trayTemplate.png';
|
||||
break;
|
||||
}
|
||||
case 'win32': {
|
||||
iconPath = 'static/img/tray/windows/tray.ico';
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
iconPath = 'static/img/tray/default/tray.png';
|
||||
}
|
||||
}
|
||||
|
||||
tray = new Tray(process.env.NODE_ENV === 'development' ? iconPath : path.join(process.resourcesPath, iconPath));
|
||||
|
||||
const restoreFromTray = () => {
|
||||
if (isWindowMaximized) {
|
||||
window.maximize();
|
||||
}
|
||||
window.show();
|
||||
};
|
||||
|
||||
tray.on('double-click', restoreFromTray);
|
||||
|
||||
tray.setToolTip('LBRY App');
|
||||
|
||||
const template = [
|
||||
{
|
||||
label: `Open ${app.name}`,
|
||||
click: restoreFromTray,
|
||||
},
|
||||
{ role: 'quit' },
|
||||
];
|
||||
const contextMenu = Menu.buildFromTemplate(template);
|
||||
tray.setContextMenu(contextMenu);
|
||||
|
||||
return tray;
|
||||
};
|
||||
@@ -0,0 +1,224 @@
|
||||
import { WEBPACK_ELECTRON_PORT } from 'config';
|
||||
import { app, BrowserWindow, dialog, shell, screen, nativeImage } from 'electron';
|
||||
import isDev from 'electron-is-dev';
|
||||
import windowStateKeeper from 'electron-window-state';
|
||||
import SUPPORTED_LANGUAGES from 'constants/supported_languages';
|
||||
import { SUPPORTED_SUB_LANGUAGE_CODES, SUB_LANG_CODE_LEN } from 'constants/supported_sub_languages';
|
||||
import SUPPORTED_BROWSER_LANGUAGES from 'constants/supported_browser_languages';
|
||||
import { TO_TRAY_WHEN_CLOSED } from 'constants/settings';
|
||||
|
||||
import setupBarMenu from './menu/setupBarMenu';
|
||||
import * as PAGES from 'constants/pages';
|
||||
|
||||
function GetAppLangCode() {
|
||||
// https://www.electronjs.org/docs/api/locales
|
||||
// 1. Gets the user locale.
|
||||
// 2. Converts unsupported sub-languages to its primary (e.g. "en-GB" -> "en").
|
||||
// Note that the primary itself may or may not be a supported language
|
||||
// (up to clients to verify against SUPPORTED_LANGUAGES).
|
||||
const langCode = app.getLocale();
|
||||
if (langCode.length === SUB_LANG_CODE_LEN && !SUPPORTED_SUB_LANGUAGE_CODES.includes(langCode)) {
|
||||
return SUPPORTED_BROWSER_LANGUAGES[langCode.slice(0, 2)];
|
||||
}
|
||||
return SUPPORTED_BROWSER_LANGUAGES[langCode];
|
||||
}
|
||||
|
||||
export default appState => {
|
||||
// Get primary display dimensions from Electron.
|
||||
const { width, height } = screen.getPrimaryDisplay().workAreaSize;
|
||||
|
||||
// Load the previous state with fallback to defaults.
|
||||
const windowState = windowStateKeeper({
|
||||
defaultWidth: width,
|
||||
defaultHeight: height,
|
||||
});
|
||||
|
||||
const startMinimized = (process.argv || []).includes('--hidden');
|
||||
|
||||
const windowConfiguration = {
|
||||
backgroundColor: '#270f34', // Located in src/scss/init/_vars.scss `--color-background--splash`
|
||||
minWidth: 950,
|
||||
minHeight: 600,
|
||||
autoHideMenuBar: true,
|
||||
titleBarStyle: 'hiddenInset',
|
||||
show: false,
|
||||
// Create the window using the state information.
|
||||
x: windowState.x,
|
||||
y: windowState.y,
|
||||
// If state is undefined, create window as maximized.
|
||||
width: windowState.width === undefined ? width : windowState.width,
|
||||
height: windowState.height === undefined ? height : windowState.height,
|
||||
icon: nativeImage.createFromPath('static/img/tray/default/tray.png'),
|
||||
webPreferences: {
|
||||
// Disable renderer process's webSecurity on development to enable CORS.
|
||||
webSecurity: !isDev,
|
||||
plugins: true,
|
||||
nodeIntegration: true,
|
||||
},
|
||||
};
|
||||
const lbryProto = 'lbry://';
|
||||
const lbryProtoQ = 'lbry://?';
|
||||
const rendererURL = isDev ? `http://localhost:${WEBPACK_ELECTRON_PORT}` : `file://${__dirname}/index.html`;
|
||||
|
||||
let window = new BrowserWindow(windowConfiguration);
|
||||
|
||||
// Let us register listeners on the window, so we can update the state
|
||||
// automatically (the listeners will be removed when the window is closed)
|
||||
// and restore the maximized or full screen state.
|
||||
windowState.manage(window);
|
||||
|
||||
let deepLinkingURI;
|
||||
|
||||
if ((process.platform === 'win32' || process.platform === 'linux') && String(process.argv[1]).startsWith('lbry')) {
|
||||
[, deepLinkingURI] = process.argv || '';
|
||||
// Keep only command line / deep linked arguments
|
||||
// Windows normalizes URIs when they're passed in from other apps. On Windows, this tries to
|
||||
// restore the original URI that was typed.
|
||||
// - If the URI has no path, Windows adds a trailing slash. LBRY URIs can't have a slash with no
|
||||
// path, so we just strip it off.
|
||||
// - In a URI with a claim ID, like lbry://channel#claimid, Windows interprets the hash mark as
|
||||
// an anchor and converts it to lbry://channel/#claimid. We remove the slash here as well.
|
||||
// - ? also interpreted as an anchor, remove slash also.
|
||||
if (process.platform === 'win32') {
|
||||
deepLinkingURI = deepLinkingURI
|
||||
.replace(/\/$/, '')
|
||||
.replace('/#', '#')
|
||||
.replace('/?', '?');
|
||||
}
|
||||
} else {
|
||||
deepLinkingURI = appState.macDeepLinkingURI || '';
|
||||
}
|
||||
|
||||
// is it a lbry://? pointing to an app page
|
||||
if (deepLinkingURI.includes(lbryProtoQ)) {
|
||||
let path = deepLinkingURI.substr(lbryProtoQ.length);
|
||||
let page = path.indexOf('?') >= 0 ? path.substring(0, path.indexOf('?')) : path;
|
||||
if (Object.values(PAGES).includes(page)) {
|
||||
deepLinkingURI = deepLinkingURI.replace(lbryProtoQ, '#/$/');
|
||||
} else {
|
||||
deepLinkingURI = '';
|
||||
}
|
||||
// else is it a claim
|
||||
} else if (deepLinkingURI.includes(lbryProto)) {
|
||||
deepLinkingURI = deepLinkingURI.replace(lbryProto, '#');
|
||||
} else {
|
||||
deepLinkingURI = '';
|
||||
}
|
||||
|
||||
setupBarMenu();
|
||||
|
||||
window.loadURL(rendererURL + deepLinkingURI);
|
||||
|
||||
window.on('close', event => {
|
||||
if (appState.isQuitting) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!appState.autoUpdateAccepted) {
|
||||
event.preventDefault();
|
||||
if (window.isFullScreen()) {
|
||||
window.once('leave-full-screen', () => {
|
||||
window.hide();
|
||||
});
|
||||
window.setFullScreen(false);
|
||||
} else {
|
||||
window.hide();
|
||||
}
|
||||
}
|
||||
|
||||
const getToTrayWhenClosedSetting = window.webContents.executeJavaScript(`localStorage.getItem('${TO_TRAY_WHEN_CLOSED}')`);
|
||||
|
||||
getToTrayWhenClosedSetting.then(toTrayWhenClosedSetting => {
|
||||
const closeApp = toTrayWhenClosedSetting === 'false';
|
||||
|
||||
if (closeApp) {
|
||||
app.quit();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
window.on('focus', () => {
|
||||
window.webContents.send('window-is-focused', null);
|
||||
});
|
||||
|
||||
window.on('unresponsive', () => {
|
||||
dialog.showMessageBox(
|
||||
window,
|
||||
{
|
||||
type: 'warning',
|
||||
buttons: ['Wait', 'Quit'],
|
||||
title: 'LBRY Unresponsive',
|
||||
defaultId: 1,
|
||||
message: 'LBRY is not responding. Would you like to quit?',
|
||||
cancelId: 0,
|
||||
},
|
||||
buttonIndex => {
|
||||
if (buttonIndex === 1) app.quit();
|
||||
}
|
||||
);
|
||||
});
|
||||
|
||||
window.once('ready-to-show', () => {
|
||||
startMinimized ? window.hide() : window.show();
|
||||
});
|
||||
|
||||
// A backup incase https://github.com/electron/electron/issues/7779 happens
|
||||
window.webContents.once('dom-ready', () => {
|
||||
startMinimized && window.hide();
|
||||
});
|
||||
|
||||
window.webContents.on('did-finish-load', () => {
|
||||
window.webContents.session.setUserAgent(`LBRY/${app.getVersion()}`);
|
||||
|
||||
// restore the user's previous language - we have to do this from here because only electron process can access app.getLocale()
|
||||
window.webContents.executeJavaScript("localStorage.getItem('language')").then(storedLanguage => {
|
||||
const language =
|
||||
storedLanguage && storedLanguage !== 'undefined' && storedLanguage !== 'null'
|
||||
? storedLanguage
|
||||
: GetAppLangCode();
|
||||
if (language !== 'en' && SUPPORTED_LANGUAGES[language]) {
|
||||
window.webContents.send('language-set', language);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
window.webContents.on('crashed', () => {
|
||||
window = null;
|
||||
});
|
||||
|
||||
window.webContents.on('new-window', (event, url) => {
|
||||
event.preventDefault();
|
||||
shell.openExternal(url);
|
||||
});
|
||||
|
||||
window.webContents.on('update-target-url', (event, url) => {
|
||||
// Change internal links to the lbry protocol. External (https) links should remain unchanged.
|
||||
let hoverUrlBase = `http://localhost:${WEBPACK_ELECTRON_PORT}/`;
|
||||
if (!isDev) {
|
||||
// Return format of 'update-target-url':
|
||||
// Linux: file:///@claim
|
||||
// Windows: file:///C:/@claim
|
||||
// Use '__dirname' in case installation is not in C:
|
||||
const path = require('path');
|
||||
const exeRoot = path.parse(__dirname).root;
|
||||
|
||||
if (process.platform === 'win32') {
|
||||
// Add extra "/" prefix. Convert "C:\" to "C:/"
|
||||
hoverUrlBase = `file:///` + exeRoot.replace(/\\/g, '/');
|
||||
} else {
|
||||
hoverUrlBase = `file://` + exeRoot;
|
||||
}
|
||||
}
|
||||
|
||||
let dispUrl = url.replace(hoverUrlBase, lbryProto);
|
||||
// Non-claims don't need the lbry protocol:
|
||||
if (dispUrl === lbryProto) {
|
||||
dispUrl = 'Home';
|
||||
} else if (dispUrl.startsWith(lbryProto + '$/')) {
|
||||
dispUrl = dispUrl.replace(lbryProto, '/');
|
||||
}
|
||||
window.webContents.send('update-target-url', dispUrl);
|
||||
});
|
||||
|
||||
return window;
|
||||
};
|
||||
@@ -0,0 +1,70 @@
|
||||
/* eslint-disable no-console */
|
||||
const { WEBPACK_ELECTRON_PORT } = require('../config');
|
||||
const chalk = require('chalk');
|
||||
const webpack = require('webpack');
|
||||
const merge = require('webpack-merge');
|
||||
const middleware = require('webpack-dev-middleware');
|
||||
const express = require('express');
|
||||
const app = express();
|
||||
|
||||
console.log(
|
||||
chalk.magenta(`Compiling ${chalk.underline('main')} and ${chalk.underline('render')}, this will take a while.`)
|
||||
);
|
||||
|
||||
let [mainConfig, renderConfig] = require('../webpack.electron.config.js');
|
||||
|
||||
renderConfig = merge(renderConfig, {
|
||||
entry: { ui: ['webpack-hot-middleware/client'] },
|
||||
plugins: [new webpack.HotModuleReplacementPlugin()],
|
||||
resolve: {
|
||||
alias: { 'react-dom': '@hot-loader/react-dom' },
|
||||
symlinks: false,
|
||||
},
|
||||
|
||||
});
|
||||
|
||||
const mainCompiler = webpack(mainConfig);
|
||||
const mainInstance = middleware(mainCompiler, {
|
||||
logLevel: 'warn',
|
||||
writeToDisk: filename => {
|
||||
// console.log(`Writing '${filename}'.`);
|
||||
return true;
|
||||
},
|
||||
});
|
||||
|
||||
const renderCompiler = webpack(renderConfig);
|
||||
const renderInstance = middleware(renderCompiler, {
|
||||
logLevel: 'warn',
|
||||
publicPath: '/',
|
||||
});
|
||||
app.use(require('webpack-hot-middleware')(renderCompiler));
|
||||
app.use(renderInstance);
|
||||
app.use(express.static('dist/electron/static'));
|
||||
|
||||
app.listen(WEBPACK_ELECTRON_PORT, () => {
|
||||
console.log(chalk.yellow.bold(`Renderer listening on port ${WEBPACK_ELECTRON_PORT} (still compiling)`));
|
||||
});
|
||||
|
||||
mainInstance.waitUntilValid(() => console.log(chalk.green(`${chalk.underline('main')} compilation complete.`)));
|
||||
renderInstance.waitUntilValid(() => console.log(chalk.green(`${chalk.underline('render')} compilation complete.`)));
|
||||
|
||||
mainInstance.waitUntilValid(() => {
|
||||
console.log(chalk.yellow('Spawning electron...'));
|
||||
|
||||
const electron = require('electron');
|
||||
const proc = require('child_process');
|
||||
|
||||
const child = proc.spawn(electron, ['./dist/electron/webpack/main.js']);
|
||||
|
||||
child.stdout.on('data', data => {
|
||||
console.log(data.toString());
|
||||
});
|
||||
|
||||
process.on('SIGINT', function() {
|
||||
console.log('Killing threads...');
|
||||
|
||||
child.kill('SIGINT');
|
||||
process.exit();
|
||||
});
|
||||
});
|
||||
/* eslint-enable no-console */
|
||||
@@ -0,0 +1,388 @@
|
||||
/* eslint no-console:0 */
|
||||
/* eslint space-before-function-paren:0 */
|
||||
// Module imports
|
||||
import '@babel/polyfill';
|
||||
import SemVer from 'semver';
|
||||
import https from 'https';
|
||||
import { app, dialog, ipcMain, session, shell } from 'electron';
|
||||
import { autoUpdater } from 'electron-updater';
|
||||
import { Lbry } from 'lbry-redux';
|
||||
import LbryFirstInstance from './LbryFirstInstance';
|
||||
import Daemon from './Daemon';
|
||||
import isDev from 'electron-is-dev';
|
||||
import createTray from './createTray';
|
||||
import createWindow from './createWindow';
|
||||
import pjson from '../package.json';
|
||||
import startSandbox from './startSandbox';
|
||||
import installDevtools from './installDevtools';
|
||||
import fs from 'fs';
|
||||
import path from 'path';
|
||||
const filePath = path.join(process.resourcesPath, 'static', 'upgradeDisabled');
|
||||
let upgradeDisabled;
|
||||
try {
|
||||
fs.accessSync(filePath, fs.constants.R_OK);
|
||||
upgradeDisabled = true;
|
||||
} catch (err) {
|
||||
upgradeDisabled = false;
|
||||
}
|
||||
autoUpdater.autoDownload = !upgradeDisabled;
|
||||
|
||||
// This is set to true if an auto update has been downloaded through the Electron
|
||||
// auto-update system and is ready to install. If the user declined an update earlier,
|
||||
// it will still install on shutdown.
|
||||
let autoUpdateDownloaded = false;
|
||||
|
||||
// This is used to keep track of whether we are showing the special dialog
|
||||
// that we show on Windows after you decline an upgrade and close the app later.
|
||||
let showingAutoUpdateCloseAlert = false;
|
||||
|
||||
// Keep a global reference, if you don't, they will be closed automatically when the JavaScript
|
||||
// object is garbage collected.
|
||||
let rendererWindow;
|
||||
|
||||
let tray; // eslint-disable-line
|
||||
let daemon;
|
||||
let lbryFirst;
|
||||
|
||||
const appState = {};
|
||||
|
||||
if (process.platform !== 'linux') {
|
||||
app.setAsDefaultProtocolClient('lbry');
|
||||
}
|
||||
|
||||
app.name = 'LBRY';
|
||||
app.setAppUserModelId('io.lbry.LBRY');
|
||||
app.commandLine.appendSwitch('force-color-profile', 'srgb');
|
||||
app.commandLine.appendSwitch('disable-features', 'OutOfBlinkCors');
|
||||
|
||||
if (isDev) {
|
||||
// Disable security warnings in dev mode:
|
||||
// https://github.com/electron/electron/blob/master/docs/tutorial/security.md#electron-security-warnings
|
||||
process.env.ELECTRON_DISABLE_SECURITY_WARNINGS = true;
|
||||
}
|
||||
|
||||
const startDaemon = async () => {
|
||||
let isDaemonRunning = false;
|
||||
|
||||
await Lbry.status()
|
||||
.then(() => {
|
||||
isDaemonRunning = true;
|
||||
console.log('SDK already running');
|
||||
})
|
||||
.catch(() => {
|
||||
console.log('Starting SDK');
|
||||
});
|
||||
|
||||
if (!isDaemonRunning) {
|
||||
daemon = new Daemon();
|
||||
daemon.on('exit', () => {
|
||||
if (!isDev) {
|
||||
daemon = null;
|
||||
if (!appState.isQuitting) {
|
||||
dialog.showErrorBox(
|
||||
'Daemon has Exited',
|
||||
'The daemon may have encountered an unexpected error, or another daemon instance is already running. \n\n' +
|
||||
'For more information please visit: \n' +
|
||||
'https://lbry.com/faq/startup-troubleshooting'
|
||||
);
|
||||
}
|
||||
app.quit();
|
||||
}
|
||||
});
|
||||
await daemon.launch();
|
||||
}
|
||||
};
|
||||
|
||||
let isLbryFirstRunning = false;
|
||||
const startLbryFirst = async () => {
|
||||
if (isLbryFirstRunning) {
|
||||
console.log('LbryFirst already running');
|
||||
handleLbryFirstLaunched();
|
||||
return;
|
||||
}
|
||||
|
||||
console.log('LbryFirst: Starting...');
|
||||
|
||||
try {
|
||||
lbryFirst = new LbryFirstInstance();
|
||||
lbryFirst.on('exit', e => {
|
||||
if (!isDev) {
|
||||
lbryFirst = null;
|
||||
isLbryFirstRunning = false;
|
||||
if (!appState.isQuitting) {
|
||||
dialog.showErrorBox(
|
||||
'LbryFirst has Exited',
|
||||
'The lbryFirst may have encountered an unexpected error, or another lbryFirst instance is already running. \n\n',
|
||||
e
|
||||
);
|
||||
}
|
||||
app.quit();
|
||||
}
|
||||
});
|
||||
} catch (e) {
|
||||
console.log('LbryFirst: Failed to create new instance\n\n', e);
|
||||
}
|
||||
|
||||
console.log('LbryFirst: Running...');
|
||||
|
||||
try {
|
||||
await lbryFirst.launch();
|
||||
handleLbryFirstLaunched();
|
||||
} catch (e) {
|
||||
isLbryFirstRunning = false;
|
||||
console.log('LbryFirst: Failed to start\n', e);
|
||||
}
|
||||
};
|
||||
|
||||
const handleLbryFirstLaunched = () => {
|
||||
isLbryFirstRunning = true;
|
||||
rendererWindow.webContents.send('lbry-first-launched');
|
||||
};
|
||||
|
||||
// When we are starting the app, ensure there are no other apps already running
|
||||
const gotSingleInstanceLock = app.requestSingleInstanceLock();
|
||||
|
||||
if (!gotSingleInstanceLock) {
|
||||
// Another instance already has a lock, abort
|
||||
app.quit();
|
||||
} else {
|
||||
app.on('second-instance', (event, argv) => {
|
||||
// Send the url to the app to navigate first, then focus
|
||||
if (rendererWindow) {
|
||||
if ((process.platform === 'win32' || process.platform === 'linux') && String(argv[1]).startsWith('lbry')) {
|
||||
let URI = argv[1];
|
||||
|
||||
// Keep only command line / deep linked arguments
|
||||
// Windows normalizes URIs when they're passed in from other apps. On Windows, this tries to
|
||||
// restore the original URI that was typed.
|
||||
// - If the URI has no path, Windows adds a trailing slash. LBRY URIs can't have a slash with no
|
||||
// path, so we just strip it off.
|
||||
// - In a URI with a claim ID, like lbry://channel#claimid, Windows interprets the hash mark as
|
||||
// an anchor and converts it to lbry://channel/#claimid. We remove the slash here as well.
|
||||
// - ? also interpreted as an anchor, remove slash also.
|
||||
if (process.platform === 'win32') {
|
||||
URI = URI.replace(/\/$/, '')
|
||||
.replace('/#', '#')
|
||||
.replace('/?', '?');
|
||||
}
|
||||
|
||||
rendererWindow.webContents.send('open-uri-requested', URI);
|
||||
}
|
||||
|
||||
rendererWindow.show();
|
||||
}
|
||||
});
|
||||
|
||||
app.on('ready', async () => {
|
||||
await startDaemon();
|
||||
startSandbox();
|
||||
|
||||
if (isDev) {
|
||||
await installDevtools();
|
||||
}
|
||||
rendererWindow = createWindow(appState);
|
||||
tray = createTray(rendererWindow);
|
||||
|
||||
if (!isDev) {
|
||||
rendererWindow.webContents.on('devtools-opened', () => {
|
||||
// Send a message to the renderer process so we can log a security warning
|
||||
rendererWindow.webContents.send('devtools-is-opened');
|
||||
});
|
||||
}
|
||||
|
||||
// If an "Origin" header is passed, the SDK will check that it is set to allow that origin in the daemon_settings.yml
|
||||
// By default, electron sends http://localhost:{port} as the origin for POST requests
|
||||
// https://github.com/electron/electron/issues/7931#issuecomment-361759277
|
||||
session.defaultSession.webRequest.onBeforeSendHeaders((details, callback) => {
|
||||
if (details.method === 'POST' && details.requestHeaders['Content-Type'] === 'application/json-rpc') {
|
||||
delete details.requestHeaders['Origin'];
|
||||
}
|
||||
callback({ cancel: false, requestHeaders: details.requestHeaders });
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
app.on('activate', () => {
|
||||
if (rendererWindow) {
|
||||
rendererWindow.show();
|
||||
}
|
||||
});
|
||||
|
||||
app.on('will-quit', event => {
|
||||
if (
|
||||
process.platform === 'win32' &&
|
||||
autoUpdateDownloaded &&
|
||||
!appState.autoUpdateAccepted &&
|
||||
!showingAutoUpdateCloseAlert
|
||||
) {
|
||||
// We're on Win and have an update downloaded, but the user declined it (or closed
|
||||
// the app without accepting it). Now the user is closing the app, so the new update
|
||||
// will install. On Mac this is silent, but on Windows they get a confusing permission
|
||||
// escalation dialog, so we show Windows users a warning dialog first.
|
||||
|
||||
showingAutoUpdateCloseAlert = true;
|
||||
dialog.showMessageBox(
|
||||
{
|
||||
type: 'info',
|
||||
title: 'LBRY Will Upgrade',
|
||||
message: 'LBRY has a pending upgrade. Please select "Yes" to install it on the prompt shown after this one.',
|
||||
},
|
||||
() => {
|
||||
app.quit();
|
||||
}
|
||||
);
|
||||
|
||||
event.preventDefault();
|
||||
return;
|
||||
}
|
||||
|
||||
appState.isQuitting = true;
|
||||
|
||||
if (daemon) {
|
||||
daemon.quit();
|
||||
event.preventDefault();
|
||||
}
|
||||
if (lbryFirst) {
|
||||
lbryFirst.quit();
|
||||
event.preventDefault();
|
||||
}
|
||||
|
||||
if (rendererWindow) {
|
||||
tray.destroy();
|
||||
rendererWindow = null;
|
||||
}
|
||||
});
|
||||
|
||||
app.on('will-finish-launching', () => {
|
||||
// Protocol handler for macOS
|
||||
app.on('open-url', (event, URL) => {
|
||||
event.preventDefault();
|
||||
|
||||
if (rendererWindow) {
|
||||
rendererWindow.webContents.send('open-uri-requested', URL);
|
||||
rendererWindow.show();
|
||||
} else {
|
||||
appState.macDeepLinkingURI = URL;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
app.on('before-quit', () => {
|
||||
appState.isQuitting = true;
|
||||
});
|
||||
|
||||
ipcMain.on('upgrade', (event, installerPath) => {
|
||||
app.on('quit', () => {
|
||||
console.log('Launching upgrade installer at', installerPath);
|
||||
// This gets triggered called after *all* other quit-related events, so
|
||||
// we'll only get here if we're fully prepared and quitting for real.
|
||||
shell.openPath(installerPath);
|
||||
});
|
||||
// what to do if no shutdown in a long time?
|
||||
console.log('Update downloaded to', installerPath);
|
||||
console.log('The app will close and you will be prompted to install the latest version of LBRY.');
|
||||
console.log('After the install is complete, please reopen the app.');
|
||||
app.quit();
|
||||
});
|
||||
|
||||
autoUpdater.on('update-downloaded', () => {
|
||||
autoUpdateDownloaded = true;
|
||||
});
|
||||
|
||||
ipcMain.on('autoUpdateAccepted', () => {
|
||||
appState.autoUpdateAccepted = true;
|
||||
autoUpdater.quitAndInstall();
|
||||
});
|
||||
|
||||
ipcMain.on('version-info-requested', () => {
|
||||
function formatRc(ver) {
|
||||
// Adds dash if needed to make RC suffix SemVer friendly
|
||||
return ver.replace(/([^-])rc/, '$1-rc');
|
||||
}
|
||||
|
||||
const localVersion = pjson.version;
|
||||
let result = '';
|
||||
const onSuccess = res => {
|
||||
res.on('data', data => {
|
||||
result += data;
|
||||
});
|
||||
|
||||
res.on('end', () => {
|
||||
let json;
|
||||
try {
|
||||
json = JSON.parse(result);
|
||||
} catch (e) {
|
||||
return;
|
||||
}
|
||||
const tagName = json.tag_name;
|
||||
if (tagName) {
|
||||
const [, remoteVersion] = tagName.match(/^v([\d.]+(?:-?rc\d+)?)$/);
|
||||
if (!remoteVersion) {
|
||||
if (rendererWindow) {
|
||||
rendererWindow.webContents.send('version-info-received', localVersion);
|
||||
}
|
||||
} else {
|
||||
const upgradeAvailable = SemVer.gt(formatRc(remoteVersion), formatRc(localVersion));
|
||||
if (rendererWindow) {
|
||||
rendererWindow.webContents.send('version-info-received', {
|
||||
remoteVersion,
|
||||
localVersion,
|
||||
upgradeAvailable,
|
||||
});
|
||||
}
|
||||
}
|
||||
} else if (rendererWindow) {
|
||||
rendererWindow.webContents.send('version-info-received', { localVersion });
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
const requestLatestRelease = (alreadyRedirected = false) => {
|
||||
const req = https.get(
|
||||
{
|
||||
hostname: 'api.github.com',
|
||||
path: '/repos/lbryio/lbry-desktop/releases/latest',
|
||||
headers: { 'user-agent': `LBRY/${localVersion}` },
|
||||
},
|
||||
res => {
|
||||
if (res.statusCode === 301 || res.statusCode === 302) {
|
||||
requestLatestRelease(res.headers.location, true);
|
||||
} else {
|
||||
onSuccess(res);
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
if (alreadyRedirected) return;
|
||||
req.on('error', err => {
|
||||
console.log('Failed to get current version from GitHub. Error:', err);
|
||||
if (rendererWindow) {
|
||||
rendererWindow.webContents.send('version-info-received', null);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
if (upgradeDisabled && rendererWindow) {
|
||||
rendererWindow.webContents.send('version-info-received', { localVersion });
|
||||
return;
|
||||
}
|
||||
|
||||
requestLatestRelease();
|
||||
});
|
||||
|
||||
ipcMain.on('launch-lbry-first', async () => {
|
||||
try {
|
||||
await startLbryFirst();
|
||||
} catch (e) {
|
||||
console.log('Failed to start LbryFirst');
|
||||
console.log(e);
|
||||
}
|
||||
});
|
||||
|
||||
process.on('uncaughtException', error => {
|
||||
console.log(error);
|
||||
dialog.showErrorBox('Error Encountered', `Caught error: ${error}`);
|
||||
appState.isQuitting = true;
|
||||
if (daemon) daemon.quit();
|
||||
app.exit(1);
|
||||
});
|
||||
@@ -0,0 +1,11 @@
|
||||
export default async function installDevtools() {
|
||||
const { default: installExtension, REACT_DEVELOPER_TOOLS, REDUX_DEVTOOLS } = require('electron-devtools-installer');
|
||||
|
||||
await installExtension(REACT_DEVELOPER_TOOLS)
|
||||
.then(name => console.log(`Added Extension: ${name}`))
|
||||
.catch(err => console.log('An error occurred: ', err));
|
||||
|
||||
await installExtension(REDUX_DEVTOOLS)
|
||||
.then(name => console.log(`Added Extension: ${name}`))
|
||||
.catch(err => console.log('An error occurred: ', err));
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
import { app, Menu, shell } from 'electron';
|
||||
import { ZOOM } from 'util/zoomWindow';
|
||||
|
||||
export default () => {
|
||||
const template = [
|
||||
@@ -15,12 +16,45 @@ export default () => {
|
||||
{ role: 'cut' },
|
||||
{ role: 'copy' },
|
||||
{ role: 'paste' },
|
||||
{ role: 'selectAll' },
|
||||
],
|
||||
},
|
||||
{
|
||||
label: 'View',
|
||||
submenu: [
|
||||
{ role: 'reload' },
|
||||
{
|
||||
label: 'Zoom',
|
||||
submenu: [
|
||||
{
|
||||
label: 'Zoom In',
|
||||
accelerator: 'CmdOrCtrl+=',
|
||||
click: (menuItem, browserWindow) => {
|
||||
if (browserWindow) {
|
||||
browserWindow.webContents.send('zoom-window', ZOOM.INCREMENT);
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
label: 'Zoom Out',
|
||||
accelerator: 'CmdOrCtrl+-',
|
||||
click: (menuItem, browserWindow) => {
|
||||
if (browserWindow) {
|
||||
browserWindow.webContents.send('zoom-window', ZOOM.DECREMENT);
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
label: 'Reset Zoom',
|
||||
accelerator: 'CmdOrCtrl+0',
|
||||
click: (menuItem, browserWindow) => {
|
||||
if (browserWindow) {
|
||||
browserWindow.webContents.send('zoom-window', ZOOM.RESET);
|
||||
}
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
label: 'Developer',
|
||||
submenu: [{ role: 'forcereload' }, { role: 'toggledevtools' }],
|
||||
@@ -42,14 +76,14 @@ export default () => {
|
||||
if (browserWindow) {
|
||||
browserWindow.webContents.send('open-menu', '/help');
|
||||
} else {
|
||||
shell.openExternal('https://lbry.io/faq');
|
||||
shell.openExternal('https://lbry.com/faq');
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
label: 'Frequently Asked Questions',
|
||||
click: () => {
|
||||
shell.openExternal('https://lbry.io/faq');
|
||||
shell.openExternal('https://lbry.com/faq');
|
||||
},
|
||||
},
|
||||
{ type: 'separator' },
|
||||
@@ -71,7 +105,7 @@ export default () => {
|
||||
];
|
||||
|
||||
const darwinTemplateAddition = {
|
||||
label: app.getName(),
|
||||
label: app.name,
|
||||
submenu: [
|
||||
{ role: 'about' },
|
||||
{ type: 'separator' },
|
||||
@@ -0,0 +1,4 @@
|
||||
require('@babel/register');
|
||||
require('@babel/polyfill');
|
||||
|
||||
require('./startSandbox.js')();
|
||||
@@ -3,19 +3,22 @@ import unpackByOutpoint from './unpackByOutpoint';
|
||||
|
||||
// Polyfills and `lbry-redux`
|
||||
global.fetch = require('node-fetch');
|
||||
|
||||
global.window = global;
|
||||
// eslint-disable-next-line import/no-commonjs,global-require
|
||||
if (typeof global.fetch === 'object') {
|
||||
global.fetch = global.fetch.default;
|
||||
}
|
||||
|
||||
const { Lbry } = require('lbry-redux');
|
||||
|
||||
delete global.window;
|
||||
|
||||
export default async function startSandbox() {
|
||||
const sandbox = express();
|
||||
const port = 5278;
|
||||
const sandbox = express();
|
||||
|
||||
sandbox.get('/set/:outpoint', async (req, res) => {
|
||||
const { outpoint } = req.params;
|
||||
|
||||
const resolvedPath = await unpackByOutpoint(Lbry, outpoint);
|
||||
|
||||
sandbox.use(`/sandbox/${outpoint}/`, express.static(resolvedPath));
|
||||
@@ -23,6 +26,13 @@ export default async function startSandbox() {
|
||||
res.send(`/sandbox/${outpoint}/`);
|
||||
});
|
||||
|
||||
// eslint-disable-next-line no-console
|
||||
sandbox.listen(port, 'localhost', () => console.log(`Sandbox listening on port ${port}.`));
|
||||
sandbox
|
||||
.listen(port, 'localhost', () => console.log(`Sandbox listening on port ${port}.`))
|
||||
.on('error', err => {
|
||||
if (err.code === 'EADDRINUSE') {
|
||||
console.log(
|
||||
`Server already listening at localhost:${port}. This is probably another LBRY app running. If not, games in the app will not work.`
|
||||
);
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -3,14 +3,12 @@ import path from 'path';
|
||||
import { unpackDirectory } from 'lbry-format';
|
||||
|
||||
async function unpackByOutpoint(lbry, outpoint) {
|
||||
const claimFiles = await lbry.file_list({ outpoint, full_status: true });
|
||||
const { items: claimFiles } = await lbry.file_list({ outpoint, full_status: true, page: 1, page_size: 1 });
|
||||
|
||||
if (claimFiles && claimFiles.length) {
|
||||
const claimFileInfo = claimFiles[0];
|
||||
const packFilePath = path.resolve(claimFileInfo.download_path);
|
||||
const unpackPath = path.normalize(
|
||||
path.join(claimFileInfo.download_directory, claimFileInfo.claim_name)
|
||||
);
|
||||
const unpackPath = path.normalize(path.join(claimFileInfo.download_directory, claimFileInfo.claim_name));
|
||||
|
||||
if (!fs.existsSync(unpackPath)) {
|
||||
await unpackDirectory(unpackPath, {
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
// @flow
|
||||
declare function __(a: string, b?: {}): string;
|
||||
Vendored
+114
@@ -0,0 +1,114 @@
|
||||
declare type Comment = {
|
||||
comment: string, // comment body
|
||||
comment_id: string, // sha256 digest
|
||||
claim_id: string, // id linking to the claim this comment
|
||||
timestamp: number, // integer representing unix-time
|
||||
is_hidden: boolean, // claim owner may enable/disable this
|
||||
channel_id: string, // claimId of channel signing this comment
|
||||
channel_name?: string, // name of channel claim
|
||||
channel_url?: string, // full lbry url to signing channel
|
||||
signature?: string, // signature of comment by originating channel
|
||||
signing_ts?: string, // timestamp used when signing this comment
|
||||
is_channel_signature_valid?: boolean, // whether or not the signature could be validated
|
||||
parent_id?: number, // comment_id of comment this is in reply to
|
||||
is_pinned: boolean,
|
||||
support_amount: number,
|
||||
};
|
||||
|
||||
declare type PerChannelSettings = {
|
||||
words?: Array<string>,
|
||||
comments_enabled?: boolean,
|
||||
min_tip_amount_comment?: number,
|
||||
min_tip_amount_super_chat?: number,
|
||||
slow_mode_min_gap?: number,
|
||||
};
|
||||
|
||||
// todo: relate individual comments to their commentId
|
||||
declare type CommentsState = {
|
||||
commentsByUri: { [string]: string },
|
||||
superChatsByUri: { [string]: { totalAmount: number, comments: Array<Comment> } },
|
||||
byId: { [string]: Array<string> },
|
||||
repliesByParentId: { [string]: Array<string> }, // ParentCommentID -> list of reply comments
|
||||
topLevelCommentsById: { [string]: Array<string> }, // ClaimID -> list of top level comments
|
||||
commentById: { [string]: Comment },
|
||||
isLoading: boolean,
|
||||
myComments: ?Set<string>,
|
||||
isFetchingReacts: boolean,
|
||||
myReactsByCommentId: any,
|
||||
othersReactsByCommentId: any,
|
||||
pendingCommentReactions: Array<string>,
|
||||
moderationBlockList: ?Array<string>,
|
||||
fetchingModerationBlockList: boolean,
|
||||
blockingByUri: {},
|
||||
unBlockingByUri: {},
|
||||
settingsByChannelId: { [string]: PerChannelSettings }, // ChannelID -> settings
|
||||
fetchingSettings: boolean,
|
||||
fetchingBlockedWords: boolean,
|
||||
};
|
||||
|
||||
declare type CommentReactParams = {
|
||||
comment_ids: string,
|
||||
channel_name: string,
|
||||
channel_id: string,
|
||||
react_type: string,
|
||||
clear_types?: string,
|
||||
remove?: boolean,
|
||||
};
|
||||
|
||||
declare type CommentListParams = {
|
||||
page: number,
|
||||
page_size: number,
|
||||
claim_id: string,
|
||||
};
|
||||
|
||||
declare type CommentListResponse = {
|
||||
items: Array<Comment>,
|
||||
total_amount: number,
|
||||
};
|
||||
|
||||
declare type CommentAbandonParams = {
|
||||
comment_id: string,
|
||||
creator_channel_id?: string,
|
||||
creator_channel_name?: string,
|
||||
channel_id?: string,
|
||||
hexdata?: string,
|
||||
};
|
||||
|
||||
declare type CommentCreateParams = {
|
||||
comment: string,
|
||||
claim_id: string,
|
||||
parent_id?: string,
|
||||
signature: string,
|
||||
signing_ts: number,
|
||||
support_tx_id?: string,
|
||||
};
|
||||
|
||||
declare type SuperListParams = {};
|
||||
|
||||
declare type ModerationBlockParams = {};
|
||||
|
||||
declare type SettingsParams = {
|
||||
channel_name: string,
|
||||
channel_id: string,
|
||||
signature: string,
|
||||
signing_ts: string,
|
||||
};
|
||||
|
||||
declare type UpdateSettingsParams = {
|
||||
channel_name: string,
|
||||
channel_id: string,
|
||||
signature: string,
|
||||
signing_ts: string,
|
||||
comments_enabled?: boolean,
|
||||
min_tip_amount_comment?: number,
|
||||
min_tip_amount_super_chat?: number,
|
||||
slow_mode_min_gap?: number,
|
||||
}
|
||||
|
||||
declare type BlockWordParams = {
|
||||
channel_name: string,
|
||||
channel_id: string,
|
||||
signature: string,
|
||||
signing_ts: string,
|
||||
words: string, // CSV list of containing words to block comment on content
|
||||
};
|
||||
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
// @flow
|
||||
|
||||
declare type PlayingUri = {
|
||||
uri: string,
|
||||
pathname: string,
|
||||
commentId?: string,
|
||||
source?: string,
|
||||
};
|
||||
Vendored
+27
@@ -0,0 +1,27 @@
|
||||
declare type HomepageObject = {
|
||||
icon: string,
|
||||
link: string,
|
||||
options: any,
|
||||
route: string,
|
||||
title: string,
|
||||
};
|
||||
|
||||
declare type HomepageData = {
|
||||
[string]: HomepageObject,
|
||||
default: any => any,
|
||||
};
|
||||
|
||||
declare type RowDataItem = {
|
||||
title: any,
|
||||
link?: string,
|
||||
help?: any,
|
||||
icon?: string,
|
||||
extra?: any,
|
||||
options?: {
|
||||
channelIds?: Array<string>,
|
||||
limitClaimsPerChannel?: number,
|
||||
pageSize: number,
|
||||
},
|
||||
route?: string,
|
||||
hideForUnauth?: boolean,
|
||||
};
|
||||
Vendored
-1
@@ -1 +0,0 @@
|
||||
declare function __(a: string, b?: string | number): string;
|
||||
Vendored
+26
@@ -0,0 +1,26 @@
|
||||
// @flow
|
||||
|
||||
declare type LivestreamReplayItem = {
|
||||
data: {
|
||||
claimId: string,
|
||||
deleted: boolean,
|
||||
deletedAt: ?string,
|
||||
ffprobe: any,
|
||||
fileDuration: number, // decimal? float? string?
|
||||
fileType: string,
|
||||
fileLocation: string,
|
||||
fileSize: number,
|
||||
key: string,
|
||||
published: boolean,
|
||||
publishedAt: ?string,
|
||||
service: string,
|
||||
thumbnails: Array<string>,
|
||||
uploadedAt: string, // Date?
|
||||
},
|
||||
id: string,
|
||||
}
|
||||
declare type LivestreamReplayData = Array<LivestreamReplayItem>;
|
||||
|
||||
declare type LivestreamState = {
|
||||
fetchingById: {},
|
||||
}
|
||||
Vendored
+18
@@ -0,0 +1,18 @@
|
||||
// @flow
|
||||
|
||||
declare type UrlLocation = {
|
||||
search: string,
|
||||
hash: string,
|
||||
host: string,
|
||||
hostname: string,
|
||||
href: string,
|
||||
key: string,
|
||||
origin: string,
|
||||
pathname: string,
|
||||
port: string,
|
||||
protocol: string,
|
||||
reload: () => void,
|
||||
replace: string => void,
|
||||
search: string,
|
||||
state: {},
|
||||
};
|
||||
Vendored
+43
@@ -0,0 +1,43 @@
|
||||
// @flow
|
||||
declare type WebNotification = {
|
||||
active_at: string,
|
||||
created_at: string,
|
||||
id: number,
|
||||
is_app_readable: boolean,
|
||||
is_device_notified: boolean,
|
||||
is_emailed: boolean,
|
||||
is_read: boolean,
|
||||
is_seen: boolean,
|
||||
notification_parameters: {
|
||||
device: {
|
||||
analytics_label: string,
|
||||
image_url: string,
|
||||
is_data_only: boolean,
|
||||
name: string,
|
||||
placeholders: ?string,
|
||||
target: string,
|
||||
text: string,
|
||||
title: string,
|
||||
type: string,
|
||||
},
|
||||
dynamic: {
|
||||
comment_author: string,
|
||||
reply_author: string,
|
||||
hash: string,
|
||||
claim_title: string,
|
||||
comment?: string,
|
||||
channel_url: string,
|
||||
},
|
||||
email: {},
|
||||
},
|
||||
notification_rule: string,
|
||||
type: string,
|
||||
updated_at: string,
|
||||
user_id: number,
|
||||
group_count?: number,
|
||||
};
|
||||
|
||||
declare type NotificationCategory = {
|
||||
name: string,
|
||||
types: ?Array<string>,
|
||||
};
|
||||
Vendored
+298
@@ -0,0 +1,298 @@
|
||||
// flow-typed signature: cc45dc0508740d7ad110ba88458158ac
|
||||
// flow-typed version: <<STUB>>/@babel/core_v^7.0.0/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* '@babel/core'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module '@babel/core' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module '@babel/core/lib/config/caching' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/config/config-chain' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/config/config-descriptors' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/config/files/configuration' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/config/files/index-browser' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/config/files/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/config/files/package' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/config/files/plugins' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/config/files/types' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/config/files/utils' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/config/full' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/config/helpers/config-api' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/config/helpers/environment' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/config/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/config/item' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/config/partial' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/config/pattern-to-regex' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/config/plugin' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/config/util' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/config/validation/option-assertions' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/config/validation/options' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/config/validation/plugins' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/config/validation/removed' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/parse' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/tools/build-external-helpers' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/transform-ast' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/transform-file-browser' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/transform-file' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/transform' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/transformation/block-hoist-plugin' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/transformation/file/file' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/transformation/file/generate' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/transformation/file/merge-map' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/transformation/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/transformation/normalize-file' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/transformation/normalize-opts' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/transformation/plugin-pass' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/core/lib/transformation/util/missing-plugin-helper' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module '@babel/core/lib/config/caching.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/config/caching'>;
|
||||
}
|
||||
declare module '@babel/core/lib/config/config-chain.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/config/config-chain'>;
|
||||
}
|
||||
declare module '@babel/core/lib/config/config-descriptors.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/config/config-descriptors'>;
|
||||
}
|
||||
declare module '@babel/core/lib/config/files/configuration.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/config/files/configuration'>;
|
||||
}
|
||||
declare module '@babel/core/lib/config/files/index-browser.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/config/files/index-browser'>;
|
||||
}
|
||||
declare module '@babel/core/lib/config/files/index.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/config/files/index'>;
|
||||
}
|
||||
declare module '@babel/core/lib/config/files/package.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/config/files/package'>;
|
||||
}
|
||||
declare module '@babel/core/lib/config/files/plugins.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/config/files/plugins'>;
|
||||
}
|
||||
declare module '@babel/core/lib/config/files/types.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/config/files/types'>;
|
||||
}
|
||||
declare module '@babel/core/lib/config/files/utils.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/config/files/utils'>;
|
||||
}
|
||||
declare module '@babel/core/lib/config/full.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/config/full'>;
|
||||
}
|
||||
declare module '@babel/core/lib/config/helpers/config-api.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/config/helpers/config-api'>;
|
||||
}
|
||||
declare module '@babel/core/lib/config/helpers/environment.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/config/helpers/environment'>;
|
||||
}
|
||||
declare module '@babel/core/lib/config/index.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/config/index'>;
|
||||
}
|
||||
declare module '@babel/core/lib/config/item.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/config/item'>;
|
||||
}
|
||||
declare module '@babel/core/lib/config/partial.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/config/partial'>;
|
||||
}
|
||||
declare module '@babel/core/lib/config/pattern-to-regex.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/config/pattern-to-regex'>;
|
||||
}
|
||||
declare module '@babel/core/lib/config/plugin.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/config/plugin'>;
|
||||
}
|
||||
declare module '@babel/core/lib/config/util.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/config/util'>;
|
||||
}
|
||||
declare module '@babel/core/lib/config/validation/option-assertions.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/config/validation/option-assertions'>;
|
||||
}
|
||||
declare module '@babel/core/lib/config/validation/options.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/config/validation/options'>;
|
||||
}
|
||||
declare module '@babel/core/lib/config/validation/plugins.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/config/validation/plugins'>;
|
||||
}
|
||||
declare module '@babel/core/lib/config/validation/removed.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/config/validation/removed'>;
|
||||
}
|
||||
declare module '@babel/core/lib/index.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/index'>;
|
||||
}
|
||||
declare module '@babel/core/lib/parse.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/parse'>;
|
||||
}
|
||||
declare module '@babel/core/lib/tools/build-external-helpers.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/tools/build-external-helpers'>;
|
||||
}
|
||||
declare module '@babel/core/lib/transform-ast.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/transform-ast'>;
|
||||
}
|
||||
declare module '@babel/core/lib/transform-file-browser.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/transform-file-browser'>;
|
||||
}
|
||||
declare module '@babel/core/lib/transform-file.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/transform-file'>;
|
||||
}
|
||||
declare module '@babel/core/lib/transform.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/transform'>;
|
||||
}
|
||||
declare module '@babel/core/lib/transformation/block-hoist-plugin.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/transformation/block-hoist-plugin'>;
|
||||
}
|
||||
declare module '@babel/core/lib/transformation/file/file.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/transformation/file/file'>;
|
||||
}
|
||||
declare module '@babel/core/lib/transformation/file/generate.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/transformation/file/generate'>;
|
||||
}
|
||||
declare module '@babel/core/lib/transformation/file/merge-map.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/transformation/file/merge-map'>;
|
||||
}
|
||||
declare module '@babel/core/lib/transformation/index.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/transformation/index'>;
|
||||
}
|
||||
declare module '@babel/core/lib/transformation/normalize-file.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/transformation/normalize-file'>;
|
||||
}
|
||||
declare module '@babel/core/lib/transformation/normalize-opts.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/transformation/normalize-opts'>;
|
||||
}
|
||||
declare module '@babel/core/lib/transformation/plugin-pass.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/transformation/plugin-pass'>;
|
||||
}
|
||||
declare module '@babel/core/lib/transformation/util/missing-plugin-helper.js' {
|
||||
declare module.exports: $Exports<'@babel/core/lib/transformation/util/missing-plugin-helper'>;
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// flow-typed signature: 3350ac60247e5d21911065431eacf53e
|
||||
// flow-typed version: <<STUB>>/@babel/plugin-proposal-class-properties_v^7.0.0/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* '@babel/plugin-proposal-class-properties'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module '@babel/plugin-proposal-class-properties' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module '@babel/plugin-proposal-class-properties/lib/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module '@babel/plugin-proposal-class-properties/lib/index.js' {
|
||||
declare module.exports: $Exports<'@babel/plugin-proposal-class-properties/lib/index'>;
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
// flow-typed signature: b3034b120832a9a28300dffb95bf7c9d
|
||||
// flow-typed version: <<STUB>>/@babel/plugin-proposal-decorators_v^7.3.0/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* '@babel/plugin-proposal-decorators'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module '@babel/plugin-proposal-decorators' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module '@babel/plugin-proposal-decorators/lib/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@babel/plugin-proposal-decorators/lib/transformer-legacy' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module '@babel/plugin-proposal-decorators/lib/index.js' {
|
||||
declare module.exports: $Exports<'@babel/plugin-proposal-decorators/lib/index'>;
|
||||
}
|
||||
declare module '@babel/plugin-proposal-decorators/lib/transformer-legacy.js' {
|
||||
declare module.exports: $Exports<'@babel/plugin-proposal-decorators/lib/transformer-legacy'>;
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// flow-typed signature: 10e8f21a7c98ee47f62fa7e5a6a5ab71
|
||||
// flow-typed version: <<STUB>>/@babel/plugin-transform-flow-strip-types_v^7.2.3/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* '@babel/plugin-transform-flow-strip-types'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module '@babel/plugin-transform-flow-strip-types' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module '@babel/plugin-transform-flow-strip-types/lib/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module '@babel/plugin-transform-flow-strip-types/lib/index.js' {
|
||||
declare module.exports: $Exports<'@babel/plugin-transform-flow-strip-types/lib/index'>;
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
// flow-typed signature: ebc6e7724cd1da0d1a8b10de36bd7a94
|
||||
// flow-typed version: 7b122e75af/@babel/polyfill_v7.x.x/flow_>=v0.30.x
|
||||
|
||||
declare module '@babel/polyfill' {}
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
// flow-typed signature: ad96fb37691315cf15ed6c2a7d890024
|
||||
// flow-typed version: <<STUB>>/@babel/preset-flow_v^7.0.0/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* '@babel/preset-flow'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module '@babel/preset-flow' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module '@babel/preset-flow/lib/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module '@babel/preset-flow/lib/index.js' {
|
||||
declare module.exports: $Exports<'@babel/preset-flow/lib/index'>;
|
||||
}
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
// flow-typed signature: e7347ed70897733b4d136cb0cb8ae5c4
|
||||
// flow-typed version: <<STUB>>/@babel/preset-react_v^7.0.0/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* '@babel/preset-react'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module '@babel/preset-react' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module '@babel/preset-react/lib/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module '@babel/preset-react/lib/index.js' {
|
||||
declare module.exports: $Exports<'@babel/preset-react/lib/index'>;
|
||||
}
|
||||
+47
@@ -0,0 +1,47 @@
|
||||
// flow-typed signature: 5934458d8287c23337a0363563a548f9
|
||||
// flow-typed version: b77688cf5d/@babel/register_v7.x.x/flow_>=v0.30.x
|
||||
|
||||
declare module '@babel/register' {
|
||||
declare type Ignore = boolean | string | RegExp | (filename: string) => boolean;
|
||||
declare type Options = {|
|
||||
ast?: boolean,
|
||||
auxiliaryCommentAfter?: ?string,
|
||||
auxiliaryCommentBefore?: ?string,
|
||||
babelrc?: boolean,
|
||||
code?: boolean,
|
||||
comments?: boolean,
|
||||
compact?: 'auto' | boolean,
|
||||
configFile?: string | boolean,
|
||||
env?: Object,
|
||||
extends?: ?string,
|
||||
extensions?: Array<string>,
|
||||
filename?: string,
|
||||
filenameRelative?: string,
|
||||
generatorOpts?: Object,
|
||||
getModuleId?: void | null | (moduleName: string) => string,
|
||||
highlightCode?: boolean,
|
||||
ignore?: Ignore | Array<Ignore>,
|
||||
inputSourceMap?: Object,
|
||||
minified?: boolean,
|
||||
moduleId?: string,
|
||||
moduleIds?: boolean,
|
||||
moduleRoot?: string,
|
||||
only?: RegExp,
|
||||
parserOpts?: Object,
|
||||
plugins?: Array<[string, Object] | string>,
|
||||
presets?: Array<string>,
|
||||
retainLines?: boolean,
|
||||
resolveModuleSource?: null | (source: string, filename: string) => boolean,
|
||||
shouldPrintComment?: null | (commentContents: string) => string,
|
||||
sourceFileName?: string,
|
||||
sourceMaps?: boolean | 'inline' | 'both',
|
||||
sourceMapTarget?: string,
|
||||
sourceRoot?: string,
|
||||
sourceType?: 'script' | 'module',
|
||||
wrapPluginVisitorMethod?: null | (pluginAlias: string, visitorType: string, callback: Function) => boolean,
|
||||
extensions?: Array<string>,
|
||||
cache?: boolean,
|
||||
|};
|
||||
|
||||
declare module.exports: (options?: Options) => void;
|
||||
}
|
||||
+318
@@ -0,0 +1,318 @@
|
||||
// flow-typed signature: 7025e1d060874c9ed272b10b43d6cbd4
|
||||
// flow-typed version: <<STUB>>/@hot-loader/react-dom_v16.8/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* '@hot-loader/react-dom'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module '@hot-loader/react-dom' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom-server.browser.development' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom-server.browser.production.min' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom-server.node.development' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom-server.node.production.min' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom-test-utils.development' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom-test-utils.production.min' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom-unstable-fire.development' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom-unstable-fire.production.min' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom-unstable-fire.profiling.min' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom-unstable-fizz.browser.development' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom-unstable-fizz.browser.production.min' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom-unstable-fizz.node.development' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom-unstable-fizz.node.production.min' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom-unstable-native-dependencies.development' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom-unstable-native-dependencies.production.min' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom.development' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom.production.min' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom.profiling.min' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/profiling' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/server.browser' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/server' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/server.node' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/test-utils' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/umd/react-dom-server.browser.development' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/umd/react-dom-server.browser.production.min' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/umd/react-dom-test-utils.development' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/umd/react-dom-test-utils.production.min' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/umd/react-dom-unstable-fire.development' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/umd/react-dom-unstable-fire.production.min' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/umd/react-dom-unstable-fire.profiling.min' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/umd/react-dom-unstable-fizz.browser.development' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/umd/react-dom-unstable-fizz.browser.production.min' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/umd/react-dom-unstable-native-dependencies.development' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/umd/react-dom-unstable-native-dependencies.production.min' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/umd/react-dom.development' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/umd/react-dom.production.min' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/umd/react-dom.profiling.min' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/unstable-fizz.browser' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/unstable-fizz' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/unstable-fizz.node' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module '@hot-loader/react-dom/unstable-native-dependencies' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom-server.browser.development.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/cjs/react-dom-server.browser.development'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom-server.browser.production.min.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/cjs/react-dom-server.browser.production.min'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom-server.node.development.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/cjs/react-dom-server.node.development'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom-server.node.production.min.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/cjs/react-dom-server.node.production.min'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom-test-utils.development.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/cjs/react-dom-test-utils.development'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom-test-utils.production.min.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/cjs/react-dom-test-utils.production.min'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom-unstable-fire.development.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/cjs/react-dom-unstable-fire.development'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom-unstable-fire.production.min.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/cjs/react-dom-unstable-fire.production.min'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom-unstable-fire.profiling.min.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/cjs/react-dom-unstable-fire.profiling.min'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom-unstable-fizz.browser.development.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/cjs/react-dom-unstable-fizz.browser.development'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom-unstable-fizz.browser.production.min.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/cjs/react-dom-unstable-fizz.browser.production.min'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom-unstable-fizz.node.development.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/cjs/react-dom-unstable-fizz.node.development'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom-unstable-fizz.node.production.min.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/cjs/react-dom-unstable-fizz.node.production.min'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom-unstable-native-dependencies.development.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/cjs/react-dom-unstable-native-dependencies.development'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom-unstable-native-dependencies.production.min.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/cjs/react-dom-unstable-native-dependencies.production.min'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom.development.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/cjs/react-dom.development'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom.production.min.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/cjs/react-dom.production.min'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/cjs/react-dom.profiling.min.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/cjs/react-dom.profiling.min'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/index' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/index.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/profiling.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/profiling'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/server.browser.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/server.browser'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/server.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/server'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/server.node.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/server.node'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/test-utils.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/test-utils'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/umd/react-dom-server.browser.development.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/umd/react-dom-server.browser.development'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/umd/react-dom-server.browser.production.min.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/umd/react-dom-server.browser.production.min'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/umd/react-dom-test-utils.development.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/umd/react-dom-test-utils.development'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/umd/react-dom-test-utils.production.min.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/umd/react-dom-test-utils.production.min'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/umd/react-dom-unstable-fire.development.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/umd/react-dom-unstable-fire.development'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/umd/react-dom-unstable-fire.production.min.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/umd/react-dom-unstable-fire.production.min'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/umd/react-dom-unstable-fire.profiling.min.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/umd/react-dom-unstable-fire.profiling.min'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/umd/react-dom-unstable-fizz.browser.development.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/umd/react-dom-unstable-fizz.browser.development'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/umd/react-dom-unstable-fizz.browser.production.min.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/umd/react-dom-unstable-fizz.browser.production.min'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/umd/react-dom-unstable-native-dependencies.development.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/umd/react-dom-unstable-native-dependencies.development'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/umd/react-dom-unstable-native-dependencies.production.min.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/umd/react-dom-unstable-native-dependencies.production.min'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/umd/react-dom.development.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/umd/react-dom.development'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/umd/react-dom.production.min.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/umd/react-dom.production.min'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/umd/react-dom.profiling.min.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/umd/react-dom.profiling.min'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/unstable-fizz.browser.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/unstable-fizz.browser'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/unstable-fizz.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/unstable-fizz'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/unstable-fizz.node.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/unstable-fizz.node'>;
|
||||
}
|
||||
declare module '@hot-loader/react-dom/unstable-native-dependencies.js' {
|
||||
declare module.exports: $Exports<'@hot-loader/react-dom/unstable-native-dependencies'>;
|
||||
}
|
||||
Vendored
+18
@@ -0,0 +1,18 @@
|
||||
// flow-typed signature: 3213370d53d43337e039b1f99b90ad98
|
||||
// flow-typed version: <<STUB>>/@lbry/color_v^1.0.2/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* '@lbry/color'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module '@lbry/color' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
// flow-typed signature: 8b77537ae4d6c835866e04a70a0ad6f3
|
||||
// flow-typed version: <<STUB>>/@lbry/components_v^2.2.4/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* '@lbry/components'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module '@lbry/components' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
// flow-typed signature: e85a840886c4c445a0e0d1b1c1b20fef
|
||||
// flow-typed version: <<STUB>>/@types/three_v^0.93.1/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* '@types/three'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module '@types/three' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
// flow-typed signature: 0179aaf62abe5de0fea307e93b07f0fd
|
||||
// flow-typed version: <<STUB>>/async-exit-hook_v^2.0.1/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'async-exit-hook'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'async-exit-hook' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
|
||||
|
||||
// Filename aliases
|
||||
declare module 'async-exit-hook/index' {
|
||||
declare module.exports: $Exports<'async-exit-hook'>;
|
||||
}
|
||||
declare module 'async-exit-hook/index.js' {
|
||||
declare module.exports: $Exports<'async-exit-hook'>;
|
||||
}
|
||||
+109
@@ -0,0 +1,109 @@
|
||||
// flow-typed signature: 7deec821536f1597fae1f6cd21e9ef81
|
||||
// flow-typed version: <<STUB>>/babel-eslint_v^10.0.1/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'babel-eslint'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'babel-eslint' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module 'babel-eslint/lib/analyze-scope' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-eslint/lib/babylon-to-espree/attachComments' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-eslint/lib/babylon-to-espree/convertComments' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-eslint/lib/babylon-to-espree/convertTemplateType' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-eslint/lib/babylon-to-espree/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-eslint/lib/babylon-to-espree/toAST' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-eslint/lib/babylon-to-espree/toToken' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-eslint/lib/babylon-to-espree/toTokens' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-eslint/lib/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-eslint/lib/parse-with-scope' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-eslint/lib/parse' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-eslint/lib/visitor-keys' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'babel-eslint/lib/analyze-scope.js' {
|
||||
declare module.exports: $Exports<'babel-eslint/lib/analyze-scope'>;
|
||||
}
|
||||
declare module 'babel-eslint/lib/babylon-to-espree/attachComments.js' {
|
||||
declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/attachComments'>;
|
||||
}
|
||||
declare module 'babel-eslint/lib/babylon-to-espree/convertComments.js' {
|
||||
declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/convertComments'>;
|
||||
}
|
||||
declare module 'babel-eslint/lib/babylon-to-espree/convertTemplateType.js' {
|
||||
declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/convertTemplateType'>;
|
||||
}
|
||||
declare module 'babel-eslint/lib/babylon-to-espree/index.js' {
|
||||
declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/index'>;
|
||||
}
|
||||
declare module 'babel-eslint/lib/babylon-to-espree/toAST.js' {
|
||||
declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/toAST'>;
|
||||
}
|
||||
declare module 'babel-eslint/lib/babylon-to-espree/toToken.js' {
|
||||
declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/toToken'>;
|
||||
}
|
||||
declare module 'babel-eslint/lib/babylon-to-espree/toTokens.js' {
|
||||
declare module.exports: $Exports<'babel-eslint/lib/babylon-to-espree/toTokens'>;
|
||||
}
|
||||
declare module 'babel-eslint/lib/index.js' {
|
||||
declare module.exports: $Exports<'babel-eslint/lib/index'>;
|
||||
}
|
||||
declare module 'babel-eslint/lib/parse-with-scope.js' {
|
||||
declare module.exports: $Exports<'babel-eslint/lib/parse-with-scope'>;
|
||||
}
|
||||
declare module 'babel-eslint/lib/parse.js' {
|
||||
declare module.exports: $Exports<'babel-eslint/lib/parse'>;
|
||||
}
|
||||
declare module 'babel-eslint/lib/visitor-keys.js' {
|
||||
declare module.exports: $Exports<'babel-eslint/lib/visitor-keys'>;
|
||||
}
|
||||
+60
@@ -0,0 +1,60 @@
|
||||
// flow-typed signature: 67633ab172e0306588506ec8c9dfb0c5
|
||||
// flow-typed version: <<STUB>>/babel-loader_v^8.0.5/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'babel-loader'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'babel-loader' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module 'babel-loader/lib/cache' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-loader/lib/Error' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-loader/lib/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-loader/lib/injectCaller' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-loader/lib/transform' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'babel-loader/lib/cache.js' {
|
||||
declare module.exports: $Exports<'babel-loader/lib/cache'>;
|
||||
}
|
||||
declare module 'babel-loader/lib/Error.js' {
|
||||
declare module.exports: $Exports<'babel-loader/lib/Error'>;
|
||||
}
|
||||
declare module 'babel-loader/lib/index.js' {
|
||||
declare module.exports: $Exports<'babel-loader/lib/index'>;
|
||||
}
|
||||
declare module 'babel-loader/lib/injectCaller.js' {
|
||||
declare module.exports: $Exports<'babel-loader/lib/injectCaller'>;
|
||||
}
|
||||
declare module 'babel-loader/lib/transform.js' {
|
||||
declare module.exports: $Exports<'babel-loader/lib/transform'>;
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
// flow-typed signature: a0883da47931ce64ec28c9da060c809c
|
||||
// flow-typed version: <<STUB>>/babel-plugin-add-module-exports_v^1.0.0/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'babel-plugin-add-module-exports'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'babel-plugin-add-module-exports' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module 'babel-plugin-add-module-exports/lib/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'babel-plugin-add-module-exports/lib/index.js' {
|
||||
declare module.exports: $Exports<'babel-plugin-add-module-exports/lib/index'>;
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
// flow-typed signature: cb570215f71dc62ada0fe7396fcaa472
|
||||
// flow-typed version: <<STUB>>/babel-plugin-transform-imports_v^1.5.1/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'babel-plugin-transform-imports'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'babel-plugin-transform-imports' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module 'babel-plugin-transform-imports/test/invalidTransform' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-plugin-transform-imports/test/tests' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'babel-plugin-transform-imports/test/transform' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'babel-plugin-transform-imports/index' {
|
||||
declare module.exports: $Exports<'babel-plugin-transform-imports'>;
|
||||
}
|
||||
declare module 'babel-plugin-transform-imports/index.js' {
|
||||
declare module.exports: $Exports<'babel-plugin-transform-imports'>;
|
||||
}
|
||||
declare module 'babel-plugin-transform-imports/test/invalidTransform.js' {
|
||||
declare module.exports: $Exports<'babel-plugin-transform-imports/test/invalidTransform'>;
|
||||
}
|
||||
declare module 'babel-plugin-transform-imports/test/tests.js' {
|
||||
declare module.exports: $Exports<'babel-plugin-transform-imports/test/tests'>;
|
||||
}
|
||||
declare module 'babel-plugin-transform-imports/test/transform.js' {
|
||||
declare module.exports: $Exports<'babel-plugin-transform-imports/test/transform'>;
|
||||
}
|
||||
Vendored
+329
@@ -0,0 +1,329 @@
|
||||
// flow-typed signature: e0974d6c2c04803a78c4faa3e848c72a
|
||||
// flow-typed version: 34fbdaa6f3/bluebird_v3.x.x/flow_>=v0.70.x
|
||||
|
||||
type Bluebird$RangeError = Error;
|
||||
type Bluebird$CancellationErrors = Error;
|
||||
type Bluebird$TimeoutError = Error;
|
||||
type Bluebird$RejectionError = Error;
|
||||
type Bluebird$OperationalError = Error;
|
||||
|
||||
type Bluebird$ConcurrencyOption = {
|
||||
concurrency: number
|
||||
};
|
||||
type Bluebird$SpreadOption = {
|
||||
spread: boolean
|
||||
};
|
||||
type Bluebird$MultiArgsOption = {
|
||||
multiArgs: boolean
|
||||
};
|
||||
type Bluebird$BluebirdConfig = {
|
||||
warnings?: boolean,
|
||||
longStackTraces?: boolean,
|
||||
cancellation?: boolean,
|
||||
monitoring?: boolean
|
||||
};
|
||||
|
||||
declare class Bluebird$PromiseInspection<T> {
|
||||
isCancelled(): boolean;
|
||||
isFulfilled(): boolean;
|
||||
isRejected(): boolean;
|
||||
pending(): boolean;
|
||||
reason(): any;
|
||||
value(): T;
|
||||
}
|
||||
|
||||
type Bluebird$PromisifyOptions = {|
|
||||
multiArgs?: boolean,
|
||||
context: any
|
||||
|};
|
||||
|
||||
declare type Bluebird$PromisifyAllOptions = {
|
||||
suffix?: string,
|
||||
filter?: (
|
||||
name: string,
|
||||
func: Function,
|
||||
target?: any,
|
||||
passesDefaultFilter?: boolean
|
||||
) => boolean,
|
||||
// The promisifier gets a reference to the original method and should return a function which returns a promise
|
||||
promisifier?: (originalMethod: Function) => () => Bluebird$Promise<any>
|
||||
};
|
||||
|
||||
declare type $Promisable<T> = Promise<T> | T;
|
||||
|
||||
declare class Bluebird$Disposable<R> {}
|
||||
|
||||
declare class Bluebird$Promise<+R> extends Promise<R> {
|
||||
static RangeError: Class<Bluebird$RangeError>;
|
||||
static CancellationErrors: Class<Bluebird$CancellationErrors>;
|
||||
static TimeoutError: Class<Bluebird$TimeoutError>;
|
||||
static RejectionError: Class<Bluebird$RejectionError>;
|
||||
static OperationalError: Class<Bluebird$OperationalError>;
|
||||
|
||||
static Defer: Class<Bluebird$Defer>;
|
||||
static PromiseInspection: Class<Bluebird$PromiseInspection<*>>;
|
||||
|
||||
static all<T>(
|
||||
Promises: $Promisable<Iterable<$Promisable<T>>>
|
||||
): Bluebird$Promise<Array<T>>;
|
||||
static props(
|
||||
input: Object | Map<*, *> | $Promisable<Object | Map<*, *>>
|
||||
): Bluebird$Promise<*>;
|
||||
static any<T, Elem: $Promisable<T>>(
|
||||
Promises: Iterable<Elem> | $Promisable<Iterable<Elem>>
|
||||
): Bluebird$Promise<T>;
|
||||
static race<T, Elem: $Promisable<T>>(
|
||||
Promises: Iterable<Elem> | $Promisable<Iterable<Elem>>
|
||||
): Bluebird$Promise<T>;
|
||||
static reject<T>(error?: any): Bluebird$Promise<T>;
|
||||
static resolve<T>(object?: $Promisable<T>): Bluebird$Promise<T>;
|
||||
static some<T, Elem: $Promisable<T>>(
|
||||
Promises: Iterable<Elem> | $Promisable<Iterable<Elem>>,
|
||||
count: number
|
||||
): Bluebird$Promise<Array<T>>;
|
||||
static join<T, A>(
|
||||
value1: $Promisable<A>,
|
||||
handler: (a: A) => $Promisable<T>
|
||||
): Bluebird$Promise<T>;
|
||||
static join<T, A, B>(
|
||||
value1: $Promisable<A>,
|
||||
value2: $Promisable<B>,
|
||||
handler: (a: A, b: B) => $Promisable<T>
|
||||
): Bluebird$Promise<T>;
|
||||
static join<T, A, B, C>(
|
||||
value1: $Promisable<A>,
|
||||
value2: $Promisable<B>,
|
||||
value3: $Promisable<C>,
|
||||
handler: (a: A, b: B, c: C) => $Promisable<T>
|
||||
): Bluebird$Promise<T>;
|
||||
static map<T, U, Elem: $Promisable<T>>(
|
||||
Promises: Iterable<Elem> | $Promisable<Iterable<Elem>>,
|
||||
mapper: (item: T, index: number, arrayLength: number) => $Promisable<U>,
|
||||
options?: Bluebird$ConcurrencyOption
|
||||
): Bluebird$Promise<Array<U>>;
|
||||
static mapSeries<T, U, Elem: $Promisable<T>>(
|
||||
Promises: Iterable<Elem> | $Promisable<Iterable<Elem>>,
|
||||
mapper: (item: T, index: number, arrayLength: number) => $Promisable<U>
|
||||
): Bluebird$Promise<Array<U>>;
|
||||
static reduce<T, U, Elem: $Promisable<T>>(
|
||||
Promises: Iterable<Elem> | $Promisable<Iterable<Elem>>,
|
||||
reducer: (
|
||||
total: U,
|
||||
current: T,
|
||||
index: number,
|
||||
arrayLength: number
|
||||
) => $Promisable<U>,
|
||||
initialValue?: $Promisable<U>
|
||||
): Bluebird$Promise<U>;
|
||||
static filter<T, Elem: $Promisable<T>>(
|
||||
Promises: Iterable<Elem> | $Promisable<Iterable<Elem>>,
|
||||
filterer: (
|
||||
item: T,
|
||||
index: number,
|
||||
arrayLength: number
|
||||
) => $Promisable<boolean>,
|
||||
option?: Bluebird$ConcurrencyOption
|
||||
): Bluebird$Promise<Array<T>>;
|
||||
static each<T, Elem: $Promisable<T>>(
|
||||
Promises: Iterable<Elem> | $Promisable<Iterable<Elem>>,
|
||||
iterator: (
|
||||
item: T,
|
||||
index: number,
|
||||
arrayLength: number
|
||||
) => $Promisable<mixed>
|
||||
): Bluebird$Promise<Array<T>>;
|
||||
static try<T>(
|
||||
fn: () => $Promisable<T>,
|
||||
args: ?Array<any>,
|
||||
ctx: ?any
|
||||
): Bluebird$Promise<T>;
|
||||
static attempt<T>(
|
||||
fn: () => $Promisable<T>,
|
||||
args: ?Array<any>,
|
||||
ctx: ?any
|
||||
): Bluebird$Promise<T>;
|
||||
static delay<T>(ms: number, value: $Promisable<T>): Bluebird$Promise<T>;
|
||||
static delay(ms: number): Bluebird$Promise<void>;
|
||||
static config(config: Bluebird$BluebirdConfig): void;
|
||||
|
||||
static defer(): Bluebird$Defer;
|
||||
static setScheduler(
|
||||
scheduler: (callback: (...args: Array<any>) => void) => void
|
||||
): void;
|
||||
static promisify(
|
||||
nodeFunction: Function,
|
||||
receiver?: Bluebird$PromisifyOptions
|
||||
): Function;
|
||||
static promisifyAll(
|
||||
target: Object | Array<Object>,
|
||||
options?: Bluebird$PromisifyAllOptions
|
||||
): void;
|
||||
|
||||
static coroutine(generatorFunction: Function): Function;
|
||||
static spawn<T>(generatorFunction: Function): Promise<T>;
|
||||
|
||||
// It doesn't seem possible to have type-generics for a variable number of arguments.
|
||||
// Handle up to 3 arguments, then just give up and accept 'any'.
|
||||
static method<T, R: $Promisable<T>>(fn: () => R): () => Bluebird$Promise<T>;
|
||||
static method<T, R: $Promisable<T>, A>(
|
||||
fn: (a: A) => R
|
||||
): (a: A) => Bluebird$Promise<T>;
|
||||
static method<T, R: $Promisable<T>, A, B>(
|
||||
fn: (a: A, b: B) => R
|
||||
): (a: A, b: B) => Bluebird$Promise<T>;
|
||||
static method<T, R: $Promisable<T>, A, B, C>(
|
||||
fn: (a: A, b: B, c: C) => R
|
||||
): (a: A, b: B, c: C) => Bluebird$Promise<T>;
|
||||
static method<T, R: $Promisable<T>>(
|
||||
fn: (...args: any) => R
|
||||
): (...args: any) => Bluebird$Promise<T>;
|
||||
|
||||
static cast<T>(value: $Promisable<T>): Bluebird$Promise<T>;
|
||||
// static bind(ctx: any): Bluebird$Promise<void>;
|
||||
static is(value: any): boolean;
|
||||
static longStackTraces(): void;
|
||||
|
||||
static onPossiblyUnhandledRejection(handler: (reason: any) => any): void;
|
||||
static fromCallback<T>(
|
||||
resolver: (fn: (error: ?Error, value?: T) => any) => any,
|
||||
options?: Bluebird$MultiArgsOption
|
||||
): Bluebird$Promise<T>;
|
||||
|
||||
constructor(
|
||||
callback: (
|
||||
resolve: (result?: $Promisable<R>) => void,
|
||||
reject: (error?: any) => void,
|
||||
onCancel?: (fn?: () => void) => void,
|
||||
) => mixed
|
||||
): void;
|
||||
then(onFulfill: null | void, onReject: null | void): Bluebird$Promise<R>;
|
||||
then<U>(
|
||||
onFulfill: null | void,
|
||||
onReject: (error: any) => Promise<U> | U
|
||||
): Bluebird$Promise<R | U>;
|
||||
then<U>(
|
||||
onFulfill: (value: R) => Promise<U> | U,
|
||||
onReject: null | void | ((error: any) => Promise<U> | U)
|
||||
): Bluebird$Promise<U>;
|
||||
catch(onReject: null | void): Promise<R>;
|
||||
catch<U>(onReject?: (error: any) => $Promisable<U>): Bluebird$Promise<U>;
|
||||
catch<U, ErrorT: Error>(
|
||||
err: Class<ErrorT>,
|
||||
onReject: (error: ErrorT) => $Promisable<U>
|
||||
): Bluebird$Promise<U>;
|
||||
catch<U, ErrorT: Error>(
|
||||
err1: Class<ErrorT>,
|
||||
err2: Class<ErrorT>,
|
||||
onReject: (error: ErrorT) => $Promisable<U>
|
||||
): Bluebird$Promise<U>;
|
||||
catch<U, ErrorT: Error>(
|
||||
err1: Class<ErrorT>,
|
||||
err2: Class<ErrorT>,
|
||||
err3: Class<ErrorT>,
|
||||
onReject: (error: ErrorT) => $Promisable<U>
|
||||
): Bluebird$Promise<U>;
|
||||
caught<U, ErrorT: Error>(
|
||||
err: Class<ErrorT>,
|
||||
onReject: (error: Error) => $Promisable<U>
|
||||
): Bluebird$Promise<U>;
|
||||
caught<U, ErrorT: Error>(
|
||||
err1: Class<ErrorT>,
|
||||
err2: Class<ErrorT>,
|
||||
onReject: (error: ErrorT) => $Promisable<U>
|
||||
): Bluebird$Promise<U>;
|
||||
caught<U, ErrorT: Error>(
|
||||
err1: Class<ErrorT>,
|
||||
err2: Class<ErrorT>,
|
||||
err3: Class<ErrorT>,
|
||||
onReject: (error: ErrorT) => $Promisable<U>
|
||||
): Bluebird$Promise<U>;
|
||||
caught<U>(onReject: (error: any) => $Promisable<U>): Bluebird$Promise<U>;
|
||||
|
||||
error<U>(onReject?: (error: any) => ?$Promisable<U>): Bluebird$Promise<U>;
|
||||
done<U>(
|
||||
onFulfill?: (value: R) => mixed,
|
||||
onReject?: (error: any) => mixed
|
||||
): void;
|
||||
finally<T>(onDone?: (value: R) => mixed): Bluebird$Promise<T>;
|
||||
lastly<T>(onDone?: (value: R) => mixed): Bluebird$Promise<T>;
|
||||
tap<T>(onDone?: (value: R) => mixed): Bluebird$Promise<T>;
|
||||
delay(ms: number): Bluebird$Promise<R>;
|
||||
timeout(ms: number, message?: string): Bluebird$Promise<R>;
|
||||
cancel(): void;
|
||||
|
||||
// bind(ctx: any): Bluebird$Promise<R>;
|
||||
call(propertyName: string, ...args: Array<any>): Bluebird$Promise<any>;
|
||||
throw(reason: Error): Bluebird$Promise<R>;
|
||||
thenThrow(reason: Error): Bluebird$Promise<R>;
|
||||
all<T>(): Bluebird$Promise<Array<T>>;
|
||||
any<T>(): Bluebird$Promise<T>;
|
||||
some<T>(count: number): Bluebird$Promise<Array<T>>;
|
||||
race<T>(): Bluebird$Promise<T>;
|
||||
map<T, U>(
|
||||
mapper: (item: T, index: number, arrayLength: number) => $Promisable<U>,
|
||||
options?: Bluebird$ConcurrencyOption
|
||||
): Bluebird$Promise<Array<U>>;
|
||||
mapSeries<T, U>(
|
||||
mapper: (item: T, index: number, arrayLength: number) => $Promisable<U>
|
||||
): Bluebird$Promise<Array<U>>;
|
||||
reduce<T, U>(
|
||||
reducer: (
|
||||
total: T,
|
||||
item: U,
|
||||
index: number,
|
||||
arrayLength: number
|
||||
) => $Promisable<T>,
|
||||
initialValue?: $Promisable<T>
|
||||
): Bluebird$Promise<T>;
|
||||
filter<T>(
|
||||
filterer: (
|
||||
item: T,
|
||||
index: number,
|
||||
arrayLength: number
|
||||
) => $Promisable<boolean>,
|
||||
options?: Bluebird$ConcurrencyOption
|
||||
): Bluebird$Promise<Array<T>>;
|
||||
each<T, U>(
|
||||
iterator: (item: T, index: number, arrayLength: number) => $Promisable<U>
|
||||
): Bluebird$Promise<Array<T>>;
|
||||
asCallback<T>(
|
||||
callback: (error: ?any, value?: T) => any,
|
||||
options?: Bluebird$SpreadOption
|
||||
): void;
|
||||
return<T>(value: T): Bluebird$Promise<T>;
|
||||
thenReturn<T>(value: T): Bluebird$Promise<T>;
|
||||
spread<T>(...args: Array<T>): Bluebird$Promise<*>;
|
||||
|
||||
reflect(): Bluebird$Promise<Bluebird$PromiseInspection<*>>;
|
||||
|
||||
isFulfilled(): boolean;
|
||||
isRejected(): boolean;
|
||||
isPending(): boolean;
|
||||
isResolved(): boolean;
|
||||
|
||||
value(): R;
|
||||
reason(): any;
|
||||
|
||||
disposer(
|
||||
disposer: (value: R, promise: Promise<*>) => void
|
||||
): Bluebird$Disposable<R>;
|
||||
|
||||
static using<T, A>(
|
||||
disposable: Bluebird$Disposable<T>,
|
||||
handler: (value: T) => $Promisable<A>
|
||||
): Bluebird$Promise<A>;
|
||||
|
||||
suppressUnhandledRejections(): void;
|
||||
}
|
||||
|
||||
declare class Bluebird$Defer {
|
||||
promise: Bluebird$Promise<*>;
|
||||
resolve: (value: any) => any;
|
||||
reject: (value: any) => any;
|
||||
}
|
||||
|
||||
declare module "bluebird" {
|
||||
declare module.exports: typeof Bluebird$Promise;
|
||||
|
||||
declare type Disposable<T> = Bluebird$Disposable<T>;
|
||||
}
|
||||
Vendored
+98
@@ -0,0 +1,98 @@
|
||||
// flow-typed signature: db5b2cdde8db39d47e27cc8ab84f89bf
|
||||
// flow-typed version: d662d43161/chalk_v2.x.x/flow_>=v0.25.x
|
||||
|
||||
// From: https://github.com/chalk/chalk/blob/master/index.js.flow
|
||||
|
||||
declare module "chalk" {
|
||||
declare type TemplateStringsArray = $ReadOnlyArray<string>;
|
||||
|
||||
declare type Level = $Values<{
|
||||
None: 0,
|
||||
Basic: 1,
|
||||
Ansi256: 2,
|
||||
TrueColor: 3
|
||||
}>;
|
||||
|
||||
declare type ChalkOptions = {|
|
||||
enabled?: boolean,
|
||||
level?: Level
|
||||
|};
|
||||
|
||||
declare type ColorSupport = {|
|
||||
level: Level,
|
||||
hasBasic: boolean,
|
||||
has256: boolean,
|
||||
has16m: boolean
|
||||
|};
|
||||
|
||||
declare interface Chalk {
|
||||
(...text: string[]): string,
|
||||
(text: TemplateStringsArray, ...placeholders: string[]): string,
|
||||
constructor(options?: ChalkOptions): Chalk,
|
||||
enabled: boolean,
|
||||
level: Level,
|
||||
rgb(r: number, g: number, b: number): Chalk,
|
||||
hsl(h: number, s: number, l: number): Chalk,
|
||||
hsv(h: number, s: number, v: number): Chalk,
|
||||
hwb(h: number, w: number, b: number): Chalk,
|
||||
bgHex(color: string): Chalk,
|
||||
bgKeyword(color: string): Chalk,
|
||||
bgRgb(r: number, g: number, b: number): Chalk,
|
||||
bgHsl(h: number, s: number, l: number): Chalk,
|
||||
bgHsv(h: number, s: number, v: number): Chalk,
|
||||
bgHwb(h: number, w: number, b: number): Chalk,
|
||||
hex(color: string): Chalk,
|
||||
keyword(color: string): Chalk,
|
||||
|
||||
+reset: Chalk,
|
||||
+bold: Chalk,
|
||||
+dim: Chalk,
|
||||
+italic: Chalk,
|
||||
+underline: Chalk,
|
||||
+inverse: Chalk,
|
||||
+hidden: Chalk,
|
||||
+strikethrough: Chalk,
|
||||
|
||||
+visible: Chalk,
|
||||
|
||||
+black: Chalk,
|
||||
+red: Chalk,
|
||||
+green: Chalk,
|
||||
+yellow: Chalk,
|
||||
+blue: Chalk,
|
||||
+magenta: Chalk,
|
||||
+cyan: Chalk,
|
||||
+white: Chalk,
|
||||
+gray: Chalk,
|
||||
+grey: Chalk,
|
||||
+blackBright: Chalk,
|
||||
+redBright: Chalk,
|
||||
+greenBright: Chalk,
|
||||
+yellowBright: Chalk,
|
||||
+blueBright: Chalk,
|
||||
+magentaBright: Chalk,
|
||||
+cyanBright: Chalk,
|
||||
+whiteBright: Chalk,
|
||||
|
||||
+bgBlack: Chalk,
|
||||
+bgRed: Chalk,
|
||||
+bgGreen: Chalk,
|
||||
+bgYellow: Chalk,
|
||||
+bgBlue: Chalk,
|
||||
+bgMagenta: Chalk,
|
||||
+bgCyan: Chalk,
|
||||
+bgWhite: Chalk,
|
||||
+bgBlackBright: Chalk,
|
||||
+bgRedBright: Chalk,
|
||||
+bgGreenBright: Chalk,
|
||||
+bgYellowBright: Chalk,
|
||||
+bgBlueBright: Chalk,
|
||||
+bgMagentaBright: Chalk,
|
||||
+bgCyanBright: Chalk,
|
||||
+bgWhiteBrigh: Chalk,
|
||||
|
||||
supportsColor: ColorSupport
|
||||
}
|
||||
|
||||
declare module.exports: Chalk;
|
||||
}
|
||||
Vendored
+23
@@ -0,0 +1,23 @@
|
||||
// flow-typed signature: cf86673cc32d185bdab1d2ea90578d37
|
||||
// flow-typed version: 614bf49aa8/classnames_v2.x.x/flow_>=v0.25.x
|
||||
|
||||
type $npm$classnames$Classes =
|
||||
| string
|
||||
| { [className: string]: * }
|
||||
| false
|
||||
| void
|
||||
| null;
|
||||
|
||||
declare module "classnames" {
|
||||
declare module.exports: (
|
||||
...classes: Array<$npm$classnames$Classes | $npm$classnames$Classes[]>
|
||||
) => string;
|
||||
}
|
||||
|
||||
declare module "classnames/bind" {
|
||||
declare module.exports: $Exports<"classnames">;
|
||||
}
|
||||
|
||||
declare module "classnames/dedupe" {
|
||||
declare module.exports: $Exports<"classnames">;
|
||||
}
|
||||
Vendored
+1761
File diff suppressed because it is too large.
Load diff
+95
@@ -0,0 +1,95 @@
|
||||
// flow-typed signature: 5b28287a475ee10170991509ccc86844
|
||||
// flow-typed version: <<STUB>>/copy-webpack-plugin_v^4.6.0/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'copy-webpack-plugin'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'copy-webpack-plugin' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module 'copy-webpack-plugin/dist/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'copy-webpack-plugin/dist/preProcessPattern' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'copy-webpack-plugin/dist/processPattern' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'copy-webpack-plugin/dist/utils/escape' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'copy-webpack-plugin/dist/utils/isObject' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'copy-webpack-plugin/dist/utils/promisify' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'copy-webpack-plugin/dist/utils/readFilePromise' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'copy-webpack-plugin/dist/utils/readPromise' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'copy-webpack-plugin/dist/utils/statPromise' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'copy-webpack-plugin/dist/writeFile' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'copy-webpack-plugin/dist/index.js' {
|
||||
declare module.exports: $Exports<'copy-webpack-plugin/dist/index'>;
|
||||
}
|
||||
declare module 'copy-webpack-plugin/dist/preProcessPattern.js' {
|
||||
declare module.exports: $Exports<'copy-webpack-plugin/dist/preProcessPattern'>;
|
||||
}
|
||||
declare module 'copy-webpack-plugin/dist/processPattern.js' {
|
||||
declare module.exports: $Exports<'copy-webpack-plugin/dist/processPattern'>;
|
||||
}
|
||||
declare module 'copy-webpack-plugin/dist/utils/escape.js' {
|
||||
declare module.exports: $Exports<'copy-webpack-plugin/dist/utils/escape'>;
|
||||
}
|
||||
declare module 'copy-webpack-plugin/dist/utils/isObject.js' {
|
||||
declare module.exports: $Exports<'copy-webpack-plugin/dist/utils/isObject'>;
|
||||
}
|
||||
declare module 'copy-webpack-plugin/dist/utils/promisify.js' {
|
||||
declare module.exports: $Exports<'copy-webpack-plugin/dist/utils/promisify'>;
|
||||
}
|
||||
declare module 'copy-webpack-plugin/dist/utils/readFilePromise.js' {
|
||||
declare module.exports: $Exports<'copy-webpack-plugin/dist/utils/readFilePromise'>;
|
||||
}
|
||||
declare module 'copy-webpack-plugin/dist/utils/readPromise.js' {
|
||||
declare module.exports: $Exports<'copy-webpack-plugin/dist/utils/readPromise'>;
|
||||
}
|
||||
declare module 'copy-webpack-plugin/dist/utils/statPromise.js' {
|
||||
declare module.exports: $Exports<'copy-webpack-plugin/dist/utils/statPromise'>;
|
||||
}
|
||||
declare module 'copy-webpack-plugin/dist/writeFile.js' {
|
||||
declare module.exports: $Exports<'copy-webpack-plugin/dist/writeFile'>;
|
||||
}
|
||||
+129
@@ -0,0 +1,129 @@
|
||||
// flow-typed signature: 9ac14a1f40af643c7a1cda684c6d14c6
|
||||
// flow-typed version: <<STUB>>/country-data_v^0.0.31/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'country-data'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'country-data' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module 'country-data/data/continents' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'country-data/data/country_csv_to_json' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'country-data/data/currency_csv_to_json' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'country-data/data/language_csv_to_json' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'country-data/data/normalize_csv' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'country-data/data/regions' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'country-data/lookup' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'country-data/test/calling-codes' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'country-data/test/countries' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'country-data/test/cross-references' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'country-data/test/currencies' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'country-data/test/languages' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'country-data/test/lookup' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'country-data/test/regions' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'country-data/data/continents.js' {
|
||||
declare module.exports: $Exports<'country-data/data/continents'>;
|
||||
}
|
||||
declare module 'country-data/data/country_csv_to_json.js' {
|
||||
declare module.exports: $Exports<'country-data/data/country_csv_to_json'>;
|
||||
}
|
||||
declare module 'country-data/data/currency_csv_to_json.js' {
|
||||
declare module.exports: $Exports<'country-data/data/currency_csv_to_json'>;
|
||||
}
|
||||
declare module 'country-data/data/language_csv_to_json.js' {
|
||||
declare module.exports: $Exports<'country-data/data/language_csv_to_json'>;
|
||||
}
|
||||
declare module 'country-data/data/normalize_csv.js' {
|
||||
declare module.exports: $Exports<'country-data/data/normalize_csv'>;
|
||||
}
|
||||
declare module 'country-data/data/regions.js' {
|
||||
declare module.exports: $Exports<'country-data/data/regions'>;
|
||||
}
|
||||
declare module 'country-data/index' {
|
||||
declare module.exports: $Exports<'country-data'>;
|
||||
}
|
||||
declare module 'country-data/index.js' {
|
||||
declare module.exports: $Exports<'country-data'>;
|
||||
}
|
||||
declare module 'country-data/lookup.js' {
|
||||
declare module.exports: $Exports<'country-data/lookup'>;
|
||||
}
|
||||
declare module 'country-data/test/calling-codes.js' {
|
||||
declare module.exports: $Exports<'country-data/test/calling-codes'>;
|
||||
}
|
||||
declare module 'country-data/test/countries.js' {
|
||||
declare module.exports: $Exports<'country-data/test/countries'>;
|
||||
}
|
||||
declare module 'country-data/test/cross-references.js' {
|
||||
declare module.exports: $Exports<'country-data/test/cross-references'>;
|
||||
}
|
||||
declare module 'country-data/test/currencies.js' {
|
||||
declare module.exports: $Exports<'country-data/test/currencies'>;
|
||||
}
|
||||
declare module 'country-data/test/languages.js' {
|
||||
declare module.exports: $Exports<'country-data/test/languages'>;
|
||||
}
|
||||
declare module 'country-data/test/lookup.js' {
|
||||
declare module.exports: $Exports<'country-data/test/lookup'>;
|
||||
}
|
||||
declare module 'country-data/test/regions.js' {
|
||||
declare module.exports: $Exports<'country-data/test/regions'>;
|
||||
}
|
||||
Vendored
+60
@@ -0,0 +1,60 @@
|
||||
// flow-typed signature: 4b0f550a8e6f64b3a26538a2e3435a5a
|
||||
// flow-typed version: <<STUB>>/cross-env_v^5.2.0/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'cross-env'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'cross-env' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module 'cross-env/dist/bin/cross-env-shell' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'cross-env/dist/bin/cross-env' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'cross-env/dist/command' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'cross-env/dist/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'cross-env/dist/variable' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'cross-env/dist/bin/cross-env-shell.js' {
|
||||
declare module.exports: $Exports<'cross-env/dist/bin/cross-env-shell'>;
|
||||
}
|
||||
declare module 'cross-env/dist/bin/cross-env.js' {
|
||||
declare module.exports: $Exports<'cross-env/dist/bin/cross-env'>;
|
||||
}
|
||||
declare module 'cross-env/dist/command.js' {
|
||||
declare module.exports: $Exports<'cross-env/dist/command'>;
|
||||
}
|
||||
declare module 'cross-env/dist/index.js' {
|
||||
declare module.exports: $Exports<'cross-env/dist/index'>;
|
||||
}
|
||||
declare module 'cross-env/dist/variable.js' {
|
||||
declare module.exports: $Exports<'cross-env/dist/variable'>;
|
||||
}
|
||||
Vendored
+102
@@ -0,0 +1,102 @@
|
||||
// flow-typed signature: 4c1b3e9c5881b71f8fa1de27757c7fab
|
||||
// flow-typed version: <<STUB>>/css-loader_v^2.1.0/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'css-loader'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'css-loader' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module 'css-loader/dist/cjs' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'css-loader/dist/CssSyntaxError' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'css-loader/dist/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'css-loader/dist/plugins/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'css-loader/dist/plugins/postcss-icss-parser' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'css-loader/dist/plugins/postcss-import-parser' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'css-loader/dist/plugins/postcss-url-parser' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'css-loader/dist/runtime/api' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'css-loader/dist/runtime/url-escape' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'css-loader/dist/utils' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'css-loader/dist/Warning' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'css-loader/dist/cjs.js' {
|
||||
declare module.exports: $Exports<'css-loader/dist/cjs'>;
|
||||
}
|
||||
declare module 'css-loader/dist/CssSyntaxError.js' {
|
||||
declare module.exports: $Exports<'css-loader/dist/CssSyntaxError'>;
|
||||
}
|
||||
declare module 'css-loader/dist/index.js' {
|
||||
declare module.exports: $Exports<'css-loader/dist/index'>;
|
||||
}
|
||||
declare module 'css-loader/dist/plugins/index.js' {
|
||||
declare module.exports: $Exports<'css-loader/dist/plugins/index'>;
|
||||
}
|
||||
declare module 'css-loader/dist/plugins/postcss-icss-parser.js' {
|
||||
declare module.exports: $Exports<'css-loader/dist/plugins/postcss-icss-parser'>;
|
||||
}
|
||||
declare module 'css-loader/dist/plugins/postcss-import-parser.js' {
|
||||
declare module.exports: $Exports<'css-loader/dist/plugins/postcss-import-parser'>;
|
||||
}
|
||||
declare module 'css-loader/dist/plugins/postcss-url-parser.js' {
|
||||
declare module.exports: $Exports<'css-loader/dist/plugins/postcss-url-parser'>;
|
||||
}
|
||||
declare module 'css-loader/dist/runtime/api.js' {
|
||||
declare module.exports: $Exports<'css-loader/dist/runtime/api'>;
|
||||
}
|
||||
declare module 'css-loader/dist/runtime/url-escape.js' {
|
||||
declare module.exports: $Exports<'css-loader/dist/runtime/url-escape'>;
|
||||
}
|
||||
declare module 'css-loader/dist/utils.js' {
|
||||
declare module.exports: $Exports<'css-loader/dist/utils'>;
|
||||
}
|
||||
declare module 'css-loader/dist/Warning.js' {
|
||||
declare module.exports: $Exports<'css-loader/dist/Warning'>;
|
||||
}
|
||||
Vendored
+228
@@ -0,0 +1,228 @@
|
||||
// flow-typed signature: de6eecdb020f5cf0c91faf3cf35d53bf
|
||||
// flow-typed version: <<STUB>>/dat.gui_v^0.7.2/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'dat.gui'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'dat.gui' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module 'dat.gui/build/dat.gui' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'dat.gui/build/dat.gui.min' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'dat.gui/build/dat.gui.module' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'dat.gui/rollup.config' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'dat.gui/rollup.config.min' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'dat.gui/src/dat/color/Color' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'dat.gui/src/dat/color/interpret' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'dat.gui/src/dat/color/math' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'dat.gui/src/dat/color/toString' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'dat.gui/src/dat/controllers/BooleanController' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'dat.gui/src/dat/controllers/ColorController' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'dat.gui/src/dat/controllers/Controller' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'dat.gui/src/dat/controllers/ControllerFactory' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'dat.gui/src/dat/controllers/FunctionController' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'dat.gui/src/dat/controllers/NumberController' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'dat.gui/src/dat/controllers/NumberControllerBox' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'dat.gui/src/dat/controllers/NumberControllerSlider' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'dat.gui/src/dat/controllers/OptionController' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'dat.gui/src/dat/controllers/StringController' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'dat.gui/src/dat/dom/CenteredDiv' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'dat.gui/src/dat/dom/dom' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'dat.gui/src/dat/gui/GUI' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'dat.gui/src/dat/gui/saveDialogue.html' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'dat.gui/src/dat/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'dat.gui/src/dat/utils/common' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'dat.gui/src/dat/utils/css' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'dat.gui/src/dat/utils/requestAnimationFrame' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'dat.gui/tests/jquery' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'dat.gui/tests/qunit' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'dat.gui/build/dat.gui.js' {
|
||||
declare module.exports: $Exports<'dat.gui/build/dat.gui'>;
|
||||
}
|
||||
declare module 'dat.gui/build/dat.gui.min.js' {
|
||||
declare module.exports: $Exports<'dat.gui/build/dat.gui.min'>;
|
||||
}
|
||||
declare module 'dat.gui/build/dat.gui.module.js' {
|
||||
declare module.exports: $Exports<'dat.gui/build/dat.gui.module'>;
|
||||
}
|
||||
declare module 'dat.gui/rollup.config.js' {
|
||||
declare module.exports: $Exports<'dat.gui/rollup.config'>;
|
||||
}
|
||||
declare module 'dat.gui/rollup.config.min.js' {
|
||||
declare module.exports: $Exports<'dat.gui/rollup.config.min'>;
|
||||
}
|
||||
declare module 'dat.gui/src/dat/color/Color.js' {
|
||||
declare module.exports: $Exports<'dat.gui/src/dat/color/Color'>;
|
||||
}
|
||||
declare module 'dat.gui/src/dat/color/interpret.js' {
|
||||
declare module.exports: $Exports<'dat.gui/src/dat/color/interpret'>;
|
||||
}
|
||||
declare module 'dat.gui/src/dat/color/math.js' {
|
||||
declare module.exports: $Exports<'dat.gui/src/dat/color/math'>;
|
||||
}
|
||||
declare module 'dat.gui/src/dat/color/toString.js' {
|
||||
declare module.exports: $Exports<'dat.gui/src/dat/color/toString'>;
|
||||
}
|
||||
declare module 'dat.gui/src/dat/controllers/BooleanController.js' {
|
||||
declare module.exports: $Exports<'dat.gui/src/dat/controllers/BooleanController'>;
|
||||
}
|
||||
declare module 'dat.gui/src/dat/controllers/ColorController.js' {
|
||||
declare module.exports: $Exports<'dat.gui/src/dat/controllers/ColorController'>;
|
||||
}
|
||||
declare module 'dat.gui/src/dat/controllers/Controller.js' {
|
||||
declare module.exports: $Exports<'dat.gui/src/dat/controllers/Controller'>;
|
||||
}
|
||||
declare module 'dat.gui/src/dat/controllers/ControllerFactory.js' {
|
||||
declare module.exports: $Exports<'dat.gui/src/dat/controllers/ControllerFactory'>;
|
||||
}
|
||||
declare module 'dat.gui/src/dat/controllers/FunctionController.js' {
|
||||
declare module.exports: $Exports<'dat.gui/src/dat/controllers/FunctionController'>;
|
||||
}
|
||||
declare module 'dat.gui/src/dat/controllers/NumberController.js' {
|
||||
declare module.exports: $Exports<'dat.gui/src/dat/controllers/NumberController'>;
|
||||
}
|
||||
declare module 'dat.gui/src/dat/controllers/NumberControllerBox.js' {
|
||||
declare module.exports: $Exports<'dat.gui/src/dat/controllers/NumberControllerBox'>;
|
||||
}
|
||||
declare module 'dat.gui/src/dat/controllers/NumberControllerSlider.js' {
|
||||
declare module.exports: $Exports<'dat.gui/src/dat/controllers/NumberControllerSlider'>;
|
||||
}
|
||||
declare module 'dat.gui/src/dat/controllers/OptionController.js' {
|
||||
declare module.exports: $Exports<'dat.gui/src/dat/controllers/OptionController'>;
|
||||
}
|
||||
declare module 'dat.gui/src/dat/controllers/StringController.js' {
|
||||
declare module.exports: $Exports<'dat.gui/src/dat/controllers/StringController'>;
|
||||
}
|
||||
declare module 'dat.gui/src/dat/dom/CenteredDiv.js' {
|
||||
declare module.exports: $Exports<'dat.gui/src/dat/dom/CenteredDiv'>;
|
||||
}
|
||||
declare module 'dat.gui/src/dat/dom/dom.js' {
|
||||
declare module.exports: $Exports<'dat.gui/src/dat/dom/dom'>;
|
||||
}
|
||||
declare module 'dat.gui/src/dat/gui/GUI.js' {
|
||||
declare module.exports: $Exports<'dat.gui/src/dat/gui/GUI'>;
|
||||
}
|
||||
declare module 'dat.gui/src/dat/gui/saveDialogue.html.js' {
|
||||
declare module.exports: $Exports<'dat.gui/src/dat/gui/saveDialogue.html'>;
|
||||
}
|
||||
declare module 'dat.gui/src/dat/index.js' {
|
||||
declare module.exports: $Exports<'dat.gui/src/dat/index'>;
|
||||
}
|
||||
declare module 'dat.gui/src/dat/utils/common.js' {
|
||||
declare module.exports: $Exports<'dat.gui/src/dat/utils/common'>;
|
||||
}
|
||||
declare module 'dat.gui/src/dat/utils/css.js' {
|
||||
declare module.exports: $Exports<'dat.gui/src/dat/utils/css'>;
|
||||
}
|
||||
declare module 'dat.gui/src/dat/utils/requestAnimationFrame.js' {
|
||||
declare module.exports: $Exports<'dat.gui/src/dat/utils/requestAnimationFrame'>;
|
||||
}
|
||||
declare module 'dat.gui/tests/jquery.js' {
|
||||
declare module.exports: $Exports<'dat.gui/tests/jquery'>;
|
||||
}
|
||||
declare module 'dat.gui/tests/qunit.js' {
|
||||
declare module.exports: $Exports<'dat.gui/tests/qunit'>;
|
||||
}
|
||||
Vendored
+33
@@ -0,0 +1,33 @@
|
||||
// flow-typed signature: 8af82484309a657c7a61b42663f509c3
|
||||
// flow-typed version: <<STUB>>/decompress_v^4.2.0/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'decompress'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'decompress' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
|
||||
|
||||
// Filename aliases
|
||||
declare module 'decompress/index' {
|
||||
declare module.exports: $Exports<'decompress'>;
|
||||
}
|
||||
declare module 'decompress/index.js' {
|
||||
declare module.exports: $Exports<'decompress'>;
|
||||
}
|
||||
Vendored
+50
@@ -0,0 +1,50 @@
|
||||
// flow-typed signature: 4d9e8253b9b9c1a25b55cc2d1f40b40e
|
||||
// flow-typed version: 77852b4474/del_v3.x.x/flow_>=v0.25.x
|
||||
|
||||
type $npm$del$Patterns = string[] | string;
|
||||
|
||||
type $npm$del$Options = {
|
||||
force?: boolean,
|
||||
dryRun?: boolean,
|
||||
concurrency?: number,
|
||||
|
||||
// remaining options are passed through to node-glob:
|
||||
cwd?: string,
|
||||
root?: string,
|
||||
dot?: boolean,
|
||||
nomount?: boolean,
|
||||
mark?: boolean,
|
||||
nosort?: boolean,
|
||||
stat?: boolean,
|
||||
silent?: boolean,
|
||||
strict?: boolean,
|
||||
cache?: Object,
|
||||
statCache?: Object,
|
||||
symlinks?: Object,
|
||||
realpathCache?: Object,
|
||||
nounique?: boolean,
|
||||
nonull?: boolean,
|
||||
debug?: boolean,
|
||||
nobrace?: boolean,
|
||||
noglobstar?: boolean,
|
||||
noext?: boolean,
|
||||
nocase?: boolean,
|
||||
matchBase?: boolean,
|
||||
nodir?: boolean,
|
||||
ignore?: string | string[],
|
||||
follow?: boolean,
|
||||
realpath?: boolean,
|
||||
absolute?: boolean
|
||||
};
|
||||
|
||||
declare module "del" {
|
||||
declare class Del {
|
||||
(
|
||||
patterns: $npm$del$Patterns,
|
||||
options?: $npm$del$Options
|
||||
): Promise<string[]>,
|
||||
sync(patterns: $npm$del$Patterns, options?: $npm$del$Options): string[]
|
||||
}
|
||||
|
||||
declare module.exports: Del;
|
||||
}
|
||||
Vendored
+46
@@ -0,0 +1,46 @@
|
||||
// flow-typed signature: 5de60706042bc30bc14137b58c6ed418
|
||||
// flow-typed version: <<STUB>>/devtron_v^1.4.0/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'devtron'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'devtron' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module 'devtron/api' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'devtron/out/browser-globals' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'devtron/out/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'devtron/api.js' {
|
||||
declare module.exports: $Exports<'devtron/api'>;
|
||||
}
|
||||
declare module 'devtron/out/browser-globals.js' {
|
||||
declare module.exports: $Exports<'devtron/out/browser-globals'>;
|
||||
}
|
||||
declare module 'devtron/out/index.js' {
|
||||
declare module.exports: $Exports<'devtron/out/index'>;
|
||||
}
|
||||
+46
@@ -0,0 +1,46 @@
|
||||
// flow-typed signature: 3c0ff501d98f81d7c038268edb616ce8
|
||||
// flow-typed version: <<STUB>>/dom-scroll-into-view_v^1.2.1/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'dom-scroll-into-view'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'dom-scroll-into-view' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module 'dom-scroll-into-view/lib/dom-scroll-into-view' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'dom-scroll-into-view/lib/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'dom-scroll-into-view/lib/util' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'dom-scroll-into-view/lib/dom-scroll-into-view.js' {
|
||||
declare module.exports: $Exports<'dom-scroll-into-view/lib/dom-scroll-into-view'>;
|
||||
}
|
||||
declare module 'dom-scroll-into-view/lib/index.js' {
|
||||
declare module.exports: $Exports<'dom-scroll-into-view/lib/index'>;
|
||||
}
|
||||
declare module 'dom-scroll-into-view/lib/util.js' {
|
||||
declare module.exports: $Exports<'dom-scroll-into-view/lib/util'>;
|
||||
}
|
||||
+67
@@ -0,0 +1,67 @@
|
||||
// flow-typed signature: fb956bb4623bc969695376edde76eb27
|
||||
// flow-typed version: <<STUB>>/electron-builder_v^20.38.4/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'electron-builder'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'electron-builder' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module 'electron-builder/out/builder' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-builder/out/cli/cli' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-builder/out/cli/create-self-signed-cert' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-builder/out/cli/install-app-deps' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-builder/out/cli/start' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-builder/out/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'electron-builder/out/builder.js' {
|
||||
declare module.exports: $Exports<'electron-builder/out/builder'>;
|
||||
}
|
||||
declare module 'electron-builder/out/cli/cli.js' {
|
||||
declare module.exports: $Exports<'electron-builder/out/cli/cli'>;
|
||||
}
|
||||
declare module 'electron-builder/out/cli/create-self-signed-cert.js' {
|
||||
declare module.exports: $Exports<'electron-builder/out/cli/create-self-signed-cert'>;
|
||||
}
|
||||
declare module 'electron-builder/out/cli/install-app-deps.js' {
|
||||
declare module.exports: $Exports<'electron-builder/out/cli/install-app-deps'>;
|
||||
}
|
||||
declare module 'electron-builder/out/cli/start.js' {
|
||||
declare module.exports: $Exports<'electron-builder/out/cli/start'>;
|
||||
}
|
||||
declare module 'electron-builder/out/index.js' {
|
||||
declare module.exports: $Exports<'electron-builder/out/index'>;
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
// flow-typed signature: 6e6d65e1d72b5d8beb9c80e7effc7f0a
|
||||
// flow-typed version: <<STUB>>/electron-devtools-installer_v^2.2.3/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'electron-devtools-installer'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'electron-devtools-installer' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module 'electron-devtools-installer/dist/downloadChromeExtension' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-devtools-installer/dist/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-devtools-installer/dist/utils' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-devtools-installer/src/downloadChromeExtension' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-devtools-installer/src/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-devtools-installer/src/utils' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'electron-devtools-installer/dist/downloadChromeExtension.js' {
|
||||
declare module.exports: $Exports<'electron-devtools-installer/dist/downloadChromeExtension'>;
|
||||
}
|
||||
declare module 'electron-devtools-installer/dist/index.js' {
|
||||
declare module.exports: $Exports<'electron-devtools-installer/dist/index'>;
|
||||
}
|
||||
declare module 'electron-devtools-installer/dist/utils.js' {
|
||||
declare module.exports: $Exports<'electron-devtools-installer/dist/utils'>;
|
||||
}
|
||||
declare module 'electron-devtools-installer/src/downloadChromeExtension.js' {
|
||||
declare module.exports: $Exports<'electron-devtools-installer/src/downloadChromeExtension'>;
|
||||
}
|
||||
declare module 'electron-devtools-installer/src/index.js' {
|
||||
declare module.exports: $Exports<'electron-devtools-installer/src/index'>;
|
||||
}
|
||||
declare module 'electron-devtools-installer/src/utils.js' {
|
||||
declare module.exports: $Exports<'electron-devtools-installer/src/utils'>;
|
||||
}
|
||||
Vendored
+33
@@ -0,0 +1,33 @@
|
||||
// flow-typed signature: 0ef4d53fd7331462be80654f50b1984f
|
||||
// flow-typed version: <<STUB>>/electron-dl_v^1.11.0/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'electron-dl'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'electron-dl' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
|
||||
|
||||
// Filename aliases
|
||||
declare module 'electron-dl/index' {
|
||||
declare module.exports: $Exports<'electron-dl'>;
|
||||
}
|
||||
declare module 'electron-dl/index.js' {
|
||||
declare module.exports: $Exports<'electron-dl'>;
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
// flow-typed signature: 3c84c73400ce0360b931c44d6018aaf1
|
||||
// flow-typed version: <<STUB>>/electron-is-dev_v^0.3.0/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'electron-is-dev'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'electron-is-dev' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
|
||||
|
||||
// Filename aliases
|
||||
declare module 'electron-is-dev/index' {
|
||||
declare module.exports: $Exports<'electron-is-dev'>;
|
||||
}
|
||||
declare module 'electron-is-dev/index.js' {
|
||||
declare module.exports: $Exports<'electron-is-dev'>;
|
||||
}
|
||||
+108
@@ -0,0 +1,108 @@
|
||||
// flow-typed signature: 139eafe063e827f93b06a1ee48b58eea
|
||||
// flow-typed version: <<STUB>>/electron-log_v^2.2.12/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'electron-log'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'electron-log' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module 'electron-log/lib/format' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-log/lib/log' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-log/lib/original-console' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-log/lib/transports/console' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-log/lib/transports/file/find-log-path' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-log/lib/transports/file/get-app-name' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-log/lib/transports/file/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-log/lib/transports/log-s' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-log/lib/transports/renderer-console' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-log/main' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-log/renderer' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'electron-log/index' {
|
||||
declare module.exports: $Exports<'electron-log'>;
|
||||
}
|
||||
declare module 'electron-log/index.js' {
|
||||
declare module.exports: $Exports<'electron-log'>;
|
||||
}
|
||||
declare module 'electron-log/lib/format.js' {
|
||||
declare module.exports: $Exports<'electron-log/lib/format'>;
|
||||
}
|
||||
declare module 'electron-log/lib/log.js' {
|
||||
declare module.exports: $Exports<'electron-log/lib/log'>;
|
||||
}
|
||||
declare module 'electron-log/lib/original-console.js' {
|
||||
declare module.exports: $Exports<'electron-log/lib/original-console'>;
|
||||
}
|
||||
declare module 'electron-log/lib/transports/console.js' {
|
||||
declare module.exports: $Exports<'electron-log/lib/transports/console'>;
|
||||
}
|
||||
declare module 'electron-log/lib/transports/file/find-log-path.js' {
|
||||
declare module.exports: $Exports<'electron-log/lib/transports/file/find-log-path'>;
|
||||
}
|
||||
declare module 'electron-log/lib/transports/file/get-app-name.js' {
|
||||
declare module.exports: $Exports<'electron-log/lib/transports/file/get-app-name'>;
|
||||
}
|
||||
declare module 'electron-log/lib/transports/file/index.js' {
|
||||
declare module.exports: $Exports<'electron-log/lib/transports/file/index'>;
|
||||
}
|
||||
declare module 'electron-log/lib/transports/log-s.js' {
|
||||
declare module.exports: $Exports<'electron-log/lib/transports/log-s'>;
|
||||
}
|
||||
declare module 'electron-log/lib/transports/renderer-console.js' {
|
||||
declare module.exports: $Exports<'electron-log/lib/transports/renderer-console'>;
|
||||
}
|
||||
declare module 'electron-log/main.js' {
|
||||
declare module.exports: $Exports<'electron-log/main'>;
|
||||
}
|
||||
declare module 'electron-log/renderer.js' {
|
||||
declare module.exports: $Exports<'electron-log/renderer'>;
|
||||
}
|
||||
+53
@@ -0,0 +1,53 @@
|
||||
// flow-typed signature: bc2488f144e2cdd85f8de1a45a3dbaf2
|
||||
// flow-typed version: <<STUB>>/electron-publisher-s3_v^20.8.1/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'electron-publisher-s3'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'electron-publisher-s3' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module 'electron-publisher-s3/out/BaseS3Publisher' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-publisher-s3/out/s3Publisher' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-publisher-s3/out/spacesPublisher' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-publisher-s3/out/uploader' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'electron-publisher-s3/out/BaseS3Publisher.js' {
|
||||
declare module.exports: $Exports<'electron-publisher-s3/out/BaseS3Publisher'>;
|
||||
}
|
||||
declare module 'electron-publisher-s3/out/s3Publisher.js' {
|
||||
declare module.exports: $Exports<'electron-publisher-s3/out/s3Publisher'>;
|
||||
}
|
||||
declare module 'electron-publisher-s3/out/spacesPublisher.js' {
|
||||
declare module.exports: $Exports<'electron-publisher-s3/out/spacesPublisher'>;
|
||||
}
|
||||
declare module 'electron-publisher-s3/out/uploader.js' {
|
||||
declare module.exports: $Exports<'electron-publisher-s3/out/uploader'>;
|
||||
}
|
||||
+186
@@ -0,0 +1,186 @@
|
||||
// flow-typed signature: 693c56939bca45d8334f4ef5520295b1
|
||||
// flow-typed version: <<STUB>>/electron-updater_v^4.0.0/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'electron-updater'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'electron-updater' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module 'electron-updater/out/AppAdapter' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-updater/out/AppImageUpdater' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-updater/out/AppUpdater' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-updater/out/BaseUpdater' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-updater/out/differentialDownloader/DataSplitter' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-updater/out/differentialDownloader/DifferentialDownloader' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-updater/out/differentialDownloader/downloadPlanBuilder' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-updater/out/differentialDownloader/FileWithEmbeddedBlockMapDifferentialDownloader' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-updater/out/differentialDownloader/GenericDifferentialDownloader' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-updater/out/differentialDownloader/multipleRangeDownloader' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-updater/out/DownloadedUpdateHelper' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-updater/out/ElectronAppAdapter' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-updater/out/electronHttpExecutor' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-updater/out/MacUpdater' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-updater/out/main' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-updater/out/NsisUpdater' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-updater/out/providerFactory' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-updater/out/providers/BintrayProvider' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-updater/out/providers/GenericProvider' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-updater/out/providers/GitHubProvider' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-updater/out/providers/PrivateGitHubProvider' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-updater/out/providers/Provider' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-updater/out/windowsExecutableCodeSignatureVerifier' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'electron-updater/out/AppAdapter.js' {
|
||||
declare module.exports: $Exports<'electron-updater/out/AppAdapter'>;
|
||||
}
|
||||
declare module 'electron-updater/out/AppImageUpdater.js' {
|
||||
declare module.exports: $Exports<'electron-updater/out/AppImageUpdater'>;
|
||||
}
|
||||
declare module 'electron-updater/out/AppUpdater.js' {
|
||||
declare module.exports: $Exports<'electron-updater/out/AppUpdater'>;
|
||||
}
|
||||
declare module 'electron-updater/out/BaseUpdater.js' {
|
||||
declare module.exports: $Exports<'electron-updater/out/BaseUpdater'>;
|
||||
}
|
||||
declare module 'electron-updater/out/differentialDownloader/DataSplitter.js' {
|
||||
declare module.exports: $Exports<'electron-updater/out/differentialDownloader/DataSplitter'>;
|
||||
}
|
||||
declare module 'electron-updater/out/differentialDownloader/DifferentialDownloader.js' {
|
||||
declare module.exports: $Exports<'electron-updater/out/differentialDownloader/DifferentialDownloader'>;
|
||||
}
|
||||
declare module 'electron-updater/out/differentialDownloader/downloadPlanBuilder.js' {
|
||||
declare module.exports: $Exports<'electron-updater/out/differentialDownloader/downloadPlanBuilder'>;
|
||||
}
|
||||
declare module 'electron-updater/out/differentialDownloader/FileWithEmbeddedBlockMapDifferentialDownloader.js' {
|
||||
declare module.exports: $Exports<'electron-updater/out/differentialDownloader/FileWithEmbeddedBlockMapDifferentialDownloader'>;
|
||||
}
|
||||
declare module 'electron-updater/out/differentialDownloader/GenericDifferentialDownloader.js' {
|
||||
declare module.exports: $Exports<'electron-updater/out/differentialDownloader/GenericDifferentialDownloader'>;
|
||||
}
|
||||
declare module 'electron-updater/out/differentialDownloader/multipleRangeDownloader.js' {
|
||||
declare module.exports: $Exports<'electron-updater/out/differentialDownloader/multipleRangeDownloader'>;
|
||||
}
|
||||
declare module 'electron-updater/out/DownloadedUpdateHelper.js' {
|
||||
declare module.exports: $Exports<'electron-updater/out/DownloadedUpdateHelper'>;
|
||||
}
|
||||
declare module 'electron-updater/out/ElectronAppAdapter.js' {
|
||||
declare module.exports: $Exports<'electron-updater/out/ElectronAppAdapter'>;
|
||||
}
|
||||
declare module 'electron-updater/out/electronHttpExecutor.js' {
|
||||
declare module.exports: $Exports<'electron-updater/out/electronHttpExecutor'>;
|
||||
}
|
||||
declare module 'electron-updater/out/MacUpdater.js' {
|
||||
declare module.exports: $Exports<'electron-updater/out/MacUpdater'>;
|
||||
}
|
||||
declare module 'electron-updater/out/main.js' {
|
||||
declare module.exports: $Exports<'electron-updater/out/main'>;
|
||||
}
|
||||
declare module 'electron-updater/out/NsisUpdater.js' {
|
||||
declare module.exports: $Exports<'electron-updater/out/NsisUpdater'>;
|
||||
}
|
||||
declare module 'electron-updater/out/providerFactory.js' {
|
||||
declare module.exports: $Exports<'electron-updater/out/providerFactory'>;
|
||||
}
|
||||
declare module 'electron-updater/out/providers/BintrayProvider.js' {
|
||||
declare module.exports: $Exports<'electron-updater/out/providers/BintrayProvider'>;
|
||||
}
|
||||
declare module 'electron-updater/out/providers/GenericProvider.js' {
|
||||
declare module.exports: $Exports<'electron-updater/out/providers/GenericProvider'>;
|
||||
}
|
||||
declare module 'electron-updater/out/providers/GitHubProvider.js' {
|
||||
declare module.exports: $Exports<'electron-updater/out/providers/GitHubProvider'>;
|
||||
}
|
||||
declare module 'electron-updater/out/providers/PrivateGitHubProvider.js' {
|
||||
declare module.exports: $Exports<'electron-updater/out/providers/PrivateGitHubProvider'>;
|
||||
}
|
||||
declare module 'electron-updater/out/providers/Provider.js' {
|
||||
declare module.exports: $Exports<'electron-updater/out/providers/Provider'>;
|
||||
}
|
||||
declare module 'electron-updater/out/windowsExecutableCodeSignatureVerifier.js' {
|
||||
declare module.exports: $Exports<'electron-updater/out/windowsExecutableCodeSignatureVerifier'>;
|
||||
}
|
||||
+235
@@ -0,0 +1,235 @@
|
||||
// flow-typed signature: b2525aab5150a9b02d85d0d46aa3572c
|
||||
// flow-typed version: <<STUB>>/electron-webpack_v^2.6.2/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'electron-webpack'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'electron-webpack' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module 'electron-webpack/out/cli' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-webpack/out/config' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-webpack/out/configurators/dll' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-webpack/out/configurators/eslint' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-webpack/out/configurators/js' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-webpack/out/configurators/ts' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-webpack/out/configurators/vue/vue-main-dev-entry' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-webpack/out/configurators/vue/vue' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-webpack/out/core' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-webpack/out/dev/ChildProcessManager' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-webpack/out/dev/dev-runner' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-webpack/out/dev/devUtil' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-webpack/out/dev/WebpackDevServerManager' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-webpack/out/electron-builder' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-webpack/out/electron-main-hmr/HmrClient' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-webpack/out/electron-main-hmr/HmrServer' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-webpack/out/electron-main-hmr/main-hmr' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-webpack/out/main' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-webpack/out/plugins/WatchMatchPlugin' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-webpack/out/plugins/WebpackRemoveOldAssetsPlugin' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-webpack/out/targets/BaseTarget' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-webpack/out/targets/MainTarget' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-webpack/out/targets/RendererTarget' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-webpack/out/util' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-webpack/vue-renderer-entry' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-webpack/webpack.app.config' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-webpack/webpack.main.config' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-webpack/webpack.renderer.config' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-webpack/webpack.renderer.dll.config' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron-webpack/webpack.test.config' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'electron-webpack/out/cli.js' {
|
||||
declare module.exports: $Exports<'electron-webpack/out/cli'>;
|
||||
}
|
||||
declare module 'electron-webpack/out/config.js' {
|
||||
declare module.exports: $Exports<'electron-webpack/out/config'>;
|
||||
}
|
||||
declare module 'electron-webpack/out/configurators/dll.js' {
|
||||
declare module.exports: $Exports<'electron-webpack/out/configurators/dll'>;
|
||||
}
|
||||
declare module 'electron-webpack/out/configurators/eslint.js' {
|
||||
declare module.exports: $Exports<'electron-webpack/out/configurators/eslint'>;
|
||||
}
|
||||
declare module 'electron-webpack/out/configurators/js.js' {
|
||||
declare module.exports: $Exports<'electron-webpack/out/configurators/js'>;
|
||||
}
|
||||
declare module 'electron-webpack/out/configurators/ts.js' {
|
||||
declare module.exports: $Exports<'electron-webpack/out/configurators/ts'>;
|
||||
}
|
||||
declare module 'electron-webpack/out/configurators/vue/vue-main-dev-entry.js' {
|
||||
declare module.exports: $Exports<'electron-webpack/out/configurators/vue/vue-main-dev-entry'>;
|
||||
}
|
||||
declare module 'electron-webpack/out/configurators/vue/vue.js' {
|
||||
declare module.exports: $Exports<'electron-webpack/out/configurators/vue/vue'>;
|
||||
}
|
||||
declare module 'electron-webpack/out/core.js' {
|
||||
declare module.exports: $Exports<'electron-webpack/out/core'>;
|
||||
}
|
||||
declare module 'electron-webpack/out/dev/ChildProcessManager.js' {
|
||||
declare module.exports: $Exports<'electron-webpack/out/dev/ChildProcessManager'>;
|
||||
}
|
||||
declare module 'electron-webpack/out/dev/dev-runner.js' {
|
||||
declare module.exports: $Exports<'electron-webpack/out/dev/dev-runner'>;
|
||||
}
|
||||
declare module 'electron-webpack/out/dev/devUtil.js' {
|
||||
declare module.exports: $Exports<'electron-webpack/out/dev/devUtil'>;
|
||||
}
|
||||
declare module 'electron-webpack/out/dev/WebpackDevServerManager.js' {
|
||||
declare module.exports: $Exports<'electron-webpack/out/dev/WebpackDevServerManager'>;
|
||||
}
|
||||
declare module 'electron-webpack/out/electron-builder.js' {
|
||||
declare module.exports: $Exports<'electron-webpack/out/electron-builder'>;
|
||||
}
|
||||
declare module 'electron-webpack/out/electron-main-hmr/HmrClient.js' {
|
||||
declare module.exports: $Exports<'electron-webpack/out/electron-main-hmr/HmrClient'>;
|
||||
}
|
||||
declare module 'electron-webpack/out/electron-main-hmr/HmrServer.js' {
|
||||
declare module.exports: $Exports<'electron-webpack/out/electron-main-hmr/HmrServer'>;
|
||||
}
|
||||
declare module 'electron-webpack/out/electron-main-hmr/main-hmr.js' {
|
||||
declare module.exports: $Exports<'electron-webpack/out/electron-main-hmr/main-hmr'>;
|
||||
}
|
||||
declare module 'electron-webpack/out/main.js' {
|
||||
declare module.exports: $Exports<'electron-webpack/out/main'>;
|
||||
}
|
||||
declare module 'electron-webpack/out/plugins/WatchMatchPlugin.js' {
|
||||
declare module.exports: $Exports<'electron-webpack/out/plugins/WatchMatchPlugin'>;
|
||||
}
|
||||
declare module 'electron-webpack/out/plugins/WebpackRemoveOldAssetsPlugin.js' {
|
||||
declare module.exports: $Exports<'electron-webpack/out/plugins/WebpackRemoveOldAssetsPlugin'>;
|
||||
}
|
||||
declare module 'electron-webpack/out/targets/BaseTarget.js' {
|
||||
declare module.exports: $Exports<'electron-webpack/out/targets/BaseTarget'>;
|
||||
}
|
||||
declare module 'electron-webpack/out/targets/MainTarget.js' {
|
||||
declare module.exports: $Exports<'electron-webpack/out/targets/MainTarget'>;
|
||||
}
|
||||
declare module 'electron-webpack/out/targets/RendererTarget.js' {
|
||||
declare module.exports: $Exports<'electron-webpack/out/targets/RendererTarget'>;
|
||||
}
|
||||
declare module 'electron-webpack/out/util.js' {
|
||||
declare module.exports: $Exports<'electron-webpack/out/util'>;
|
||||
}
|
||||
declare module 'electron-webpack/vue-renderer-entry.js' {
|
||||
declare module.exports: $Exports<'electron-webpack/vue-renderer-entry'>;
|
||||
}
|
||||
declare module 'electron-webpack/webpack.app.config.js' {
|
||||
declare module.exports: $Exports<'electron-webpack/webpack.app.config'>;
|
||||
}
|
||||
declare module 'electron-webpack/webpack.main.config.js' {
|
||||
declare module.exports: $Exports<'electron-webpack/webpack.main.config'>;
|
||||
}
|
||||
declare module 'electron-webpack/webpack.renderer.config.js' {
|
||||
declare module.exports: $Exports<'electron-webpack/webpack.renderer.config'>;
|
||||
}
|
||||
declare module 'electron-webpack/webpack.renderer.dll.config.js' {
|
||||
declare module.exports: $Exports<'electron-webpack/webpack.renderer.dll.config'>;
|
||||
}
|
||||
declare module 'electron-webpack/webpack.test.config.js' {
|
||||
declare module.exports: $Exports<'electron-webpack/webpack.test.config'>;
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
// flow-typed signature: f4252f9600f889c2eb6300501f46c0f1
|
||||
// flow-typed version: <<STUB>>/electron-window-state_v^4.1.1/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'electron-window-state'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'electron-window-state' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
|
||||
|
||||
// Filename aliases
|
||||
declare module 'electron-window-state/index' {
|
||||
declare module.exports: $Exports<'electron-window-state'>;
|
||||
}
|
||||
declare module 'electron-window-state/index.js' {
|
||||
declare module.exports: $Exports<'electron-window-state'>;
|
||||
}
|
||||
Vendored
+45
@@ -0,0 +1,45 @@
|
||||
// flow-typed signature: 0a85536eeb9e8080996ce514cda8bf49
|
||||
// flow-typed version: <<STUB>>/electron_v4.1.0/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'electron'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'electron' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module 'electron/cli' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'electron/install' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'electron/cli.js' {
|
||||
declare module.exports: $Exports<'electron/cli'>;
|
||||
}
|
||||
declare module 'electron/index' {
|
||||
declare module.exports: $Exports<'electron'>;
|
||||
}
|
||||
declare module 'electron/index.js' {
|
||||
declare module.exports: $Exports<'electron'>;
|
||||
}
|
||||
declare module 'electron/install.js' {
|
||||
declare module.exports: $Exports<'electron/install'>;
|
||||
}
|
||||
+73
@@ -0,0 +1,73 @@
|
||||
// flow-typed signature: 58617d9aac0f08ed1162ba50e3d04850
|
||||
// flow-typed version: <<STUB>>/eslint-config-airbnb_v^16.1.0/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'eslint-config-airbnb'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'eslint-config-airbnb' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module 'eslint-config-airbnb/base' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-config-airbnb/legacy' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-config-airbnb/rules/react-a11y' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-config-airbnb/rules/react' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-config-airbnb/test/test-base' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-config-airbnb/test/test-react-order' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'eslint-config-airbnb/base.js' {
|
||||
declare module.exports: $Exports<'eslint-config-airbnb/base'>;
|
||||
}
|
||||
declare module 'eslint-config-airbnb/index' {
|
||||
declare module.exports: $Exports<'eslint-config-airbnb'>;
|
||||
}
|
||||
declare module 'eslint-config-airbnb/index.js' {
|
||||
declare module.exports: $Exports<'eslint-config-airbnb'>;
|
||||
}
|
||||
declare module 'eslint-config-airbnb/legacy.js' {
|
||||
declare module.exports: $Exports<'eslint-config-airbnb/legacy'>;
|
||||
}
|
||||
declare module 'eslint-config-airbnb/rules/react-a11y.js' {
|
||||
declare module.exports: $Exports<'eslint-config-airbnb/rules/react-a11y'>;
|
||||
}
|
||||
declare module 'eslint-config-airbnb/rules/react.js' {
|
||||
declare module.exports: $Exports<'eslint-config-airbnb/rules/react'>;
|
||||
}
|
||||
declare module 'eslint-config-airbnb/test/test-base.js' {
|
||||
declare module.exports: $Exports<'eslint-config-airbnb/test/test-base'>;
|
||||
}
|
||||
declare module 'eslint-config-airbnb/test/test-react-order.js' {
|
||||
declare module.exports: $Exports<'eslint-config-airbnb/test/test-react-order'>;
|
||||
}
|
||||
+66
@@ -0,0 +1,66 @@
|
||||
// flow-typed signature: 6aa3c9155598a495212d53dd2f6f5eb1
|
||||
// flow-typed version: <<STUB>>/eslint-config-prettier_v^2.9.0/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'eslint-config-prettier'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'eslint-config-prettier' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module 'eslint-config-prettier/bin/cli' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-config-prettier/bin/validators' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-config-prettier/flowtype' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-config-prettier/react' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-config-prettier/standard' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'eslint-config-prettier/bin/cli.js' {
|
||||
declare module.exports: $Exports<'eslint-config-prettier/bin/cli'>;
|
||||
}
|
||||
declare module 'eslint-config-prettier/bin/validators.js' {
|
||||
declare module.exports: $Exports<'eslint-config-prettier/bin/validators'>;
|
||||
}
|
||||
declare module 'eslint-config-prettier/flowtype.js' {
|
||||
declare module.exports: $Exports<'eslint-config-prettier/flowtype'>;
|
||||
}
|
||||
declare module 'eslint-config-prettier/index' {
|
||||
declare module.exports: $Exports<'eslint-config-prettier'>;
|
||||
}
|
||||
declare module 'eslint-config-prettier/index.js' {
|
||||
declare module.exports: $Exports<'eslint-config-prettier'>;
|
||||
}
|
||||
declare module 'eslint-config-prettier/react.js' {
|
||||
declare module.exports: $Exports<'eslint-config-prettier/react'>;
|
||||
}
|
||||
declare module 'eslint-config-prettier/standard.js' {
|
||||
declare module.exports: $Exports<'eslint-config-prettier/standard'>;
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
// flow-typed signature: 920e89a3577c4c383082d2312735dc98
|
||||
// flow-typed version: <<STUB>>/eslint-config-standard-jsx_v^6.0.2/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'eslint-config-standard-jsx'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'eslint-config-standard-jsx' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
|
||||
|
||||
// Filename aliases
|
||||
declare module 'eslint-config-standard-jsx/index' {
|
||||
declare module.exports: $Exports<'eslint-config-standard-jsx'>;
|
||||
}
|
||||
declare module 'eslint-config-standard-jsx/index.js' {
|
||||
declare module.exports: $Exports<'eslint-config-standard-jsx'>;
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
// flow-typed signature: 57c634911c0c196764367efa0da576df
|
||||
// flow-typed version: <<STUB>>/eslint-config-standard_v^12.0.0/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'eslint-config-standard'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'eslint-config-standard' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
|
||||
|
||||
// Filename aliases
|
||||
declare module 'eslint-config-standard/index' {
|
||||
declare module.exports: $Exports<'eslint-config-standard'>;
|
||||
}
|
||||
declare module 'eslint-config-standard/index.js' {
|
||||
declare module.exports: $Exports<'eslint-config-standard'>;
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
// flow-typed signature: 34e7069839d9f56a07ce71be28843917
|
||||
// flow-typed version: <<STUB>>/eslint-import-resolver-webpack_v^0.11.0/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'eslint-import-resolver-webpack'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'eslint-import-resolver-webpack' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module 'eslint-import-resolver-webpack/config' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'eslint-import-resolver-webpack/config.js' {
|
||||
declare module.exports: $Exports<'eslint-import-resolver-webpack/config'>;
|
||||
}
|
||||
declare module 'eslint-import-resolver-webpack/index' {
|
||||
declare module.exports: $Exports<'eslint-import-resolver-webpack'>;
|
||||
}
|
||||
declare module 'eslint-import-resolver-webpack/index.js' {
|
||||
declare module.exports: $Exports<'eslint-import-resolver-webpack'>;
|
||||
}
|
||||
+424
@@ -0,0 +1,424 @@
|
||||
// flow-typed signature: 5594ef365c62cb72aeaf5610172e5eb6
|
||||
// flow-typed version: <<STUB>>/eslint-plugin-flowtype_v^2.46.1/flow_v0.94.0
|
||||
|
||||
/**
|
||||
* This is an autogenerated libdef stub for:
|
||||
*
|
||||
* 'eslint-plugin-flowtype'
|
||||
*
|
||||
* Fill this stub out by replacing all the `any` types.
|
||||
*
|
||||
* Once filled out, we encourage you to share your work with the
|
||||
* community by sending a pull request to:
|
||||
* https://github.com/flowtype/flow-typed
|
||||
*/
|
||||
|
||||
declare module 'eslint-plugin-flowtype' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
/**
|
||||
* We include stubs for each file inside this npm package in case you need to
|
||||
* require those files directly. Feel free to delete any files that aren't
|
||||
* needed.
|
||||
*/
|
||||
declare module 'eslint-plugin-flowtype/bin/readmeAssertions' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/arrayStyle/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/arrayStyle/isSimpleType' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/arrayStyle/needWrap' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/arrayStyleComplexType' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/arrayStyleSimpleType' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/booleanStyle' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/defineFlowType' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/delimiterDangle' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/genericSpacing' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/newlineAfterFlowAnnotation' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/noDupeKeys' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/noExistentialType' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/noFlowFixMeComments' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/noMutableArray' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/noPrimitiveConstructorTypes' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/noTypesMissingFileAnnotation' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/noUnusedExpressions' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/noWeakTypes' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/objectTypeDelimiter' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/requireExactType' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/requireParameterType' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/requireReturnType' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/requireTypesAtTop' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/requireValidFileAnnotation' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/requireVariableType' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/semi' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/sortKeys' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/spaceAfterTypeColon' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/spaceBeforeGenericBracket' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/spaceBeforeTypeColon' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateFunctions' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateObjectTypeIndexer' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateObjectTypeProperty' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateReturnType' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateTypeCastExpression' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateTypical' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateVariables' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/reporter' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/typeIdMatch' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/typeImportStyle' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/unionIntersectionSpacing' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/useFlowType' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/validSyntax' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/utilities/checkFlowFileAnnotation' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/utilities/fuzzyStringMatch' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/utilities/getParameterName' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/utilities/getTokenAfterParens' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/utilities/getTokenBeforeParens' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/utilities/index' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/utilities/isFlowFile' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/utilities/isFlowFileAnnotation' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/utilities/iterateFunctionNodes' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/utilities/quoteName' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
declare module 'eslint-plugin-flowtype/dist/utilities/spacingFixers' {
|
||||
declare module.exports: any;
|
||||
}
|
||||
|
||||
// Filename aliases
|
||||
declare module 'eslint-plugin-flowtype/bin/readmeAssertions.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/bin/readmeAssertions'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/index.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/index'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/arrayStyle/index.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/arrayStyle/index'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/arrayStyle/isSimpleType.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/arrayStyle/isSimpleType'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/arrayStyle/needWrap.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/arrayStyle/needWrap'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/arrayStyleComplexType.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/arrayStyleComplexType'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/arrayStyleSimpleType.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/arrayStyleSimpleType'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/booleanStyle.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/booleanStyle'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/defineFlowType.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/defineFlowType'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/delimiterDangle.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/delimiterDangle'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/genericSpacing.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/genericSpacing'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/newlineAfterFlowAnnotation.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/newlineAfterFlowAnnotation'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/noDupeKeys.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noDupeKeys'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/noExistentialType.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noExistentialType'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/noFlowFixMeComments.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noFlowFixMeComments'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/noMutableArray.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noMutableArray'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/noPrimitiveConstructorTypes.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noPrimitiveConstructorTypes'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/noTypesMissingFileAnnotation.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noTypesMissingFileAnnotation'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/noUnusedExpressions.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noUnusedExpressions'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/noWeakTypes.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/noWeakTypes'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/objectTypeDelimiter.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/objectTypeDelimiter'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/requireExactType.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireExactType'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/requireParameterType.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireParameterType'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/requireReturnType.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireReturnType'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/requireTypesAtTop.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireTypesAtTop'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/requireValidFileAnnotation.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireValidFileAnnotation'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/requireVariableType.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/requireVariableType'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/semi.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/semi'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/sortKeys.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/sortKeys'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/spaceAfterTypeColon.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/spaceAfterTypeColon'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/spaceBeforeGenericBracket.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/spaceBeforeGenericBracket'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/spaceBeforeTypeColon.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/spaceBeforeTypeColon'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateFunctions.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateFunctions'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateObjectTypeIndexer.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateObjectTypeIndexer'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateObjectTypeProperty.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateObjectTypeProperty'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateReturnType.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateReturnType'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateTypeCastExpression.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateTypeCastExpression'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateTypical.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateTypical'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateVariables.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeColonSpacing/evaluateVariables'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/index.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeColonSpacing/index'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/typeColonSpacing/reporter.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeColonSpacing/reporter'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/typeIdMatch.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeIdMatch'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/typeImportStyle.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/typeImportStyle'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/unionIntersectionSpacing.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/unionIntersectionSpacing'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/useFlowType.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/useFlowType'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/rules/validSyntax.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/rules/validSyntax'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/utilities/checkFlowFileAnnotation.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/checkFlowFileAnnotation'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/utilities/fuzzyStringMatch.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/fuzzyStringMatch'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/utilities/getParameterName.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/getParameterName'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/utilities/getTokenAfterParens.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/getTokenAfterParens'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/utilities/getTokenBeforeParens.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/getTokenBeforeParens'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/utilities/index.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/index'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/utilities/isFlowFile.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/isFlowFile'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/utilities/isFlowFileAnnotation.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/isFlowFileAnnotation'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/utilities/iterateFunctionNodes.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/iterateFunctionNodes'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/utilities/quoteName.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/quoteName'>;
|
||||
}
|
||||
declare module 'eslint-plugin-flowtype/dist/utilities/spacingFixers.js' {
|
||||
declare module.exports: $Exports<'eslint-plugin-flowtype/dist/utilities/spacingFixers'>;
|
||||
}
|
||||
Loaded 100 of 1521 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user