mirror of
https://github.com/unraid/api.git
synced 2026-05-02 21:22:04 -05:00
e57d81e073
- Add a new utility class, `AsyncMutex` in `unraid-shared -> processing.ts`, for ergonomically de-duplicating async operations. - Add an `@OmitIf` decorator for omitting graphql queries, mutations, or field resolvers from the runtime graphql schema. - Add feature-flagging system - `FeatureFlags` export from `consts.ts` - `@UseFeatureFlag` decorator built upon `OmitIf` - `checkFeatureFlag` for constructing & throwing a `ForbiddenError` if the given feature flag evaluates to `false`. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Expose disk spinning state, per-container "update available" and "rebuild ready" indicators, a structured per-container update-status list, and a mutation to refresh Docker digests. Periodic and post-startup digest refreshes added (feature-flag gated). * **Chores** * Cron scheduling refactor and scheduler centralization. * Build now bundles a PHP wrapper asset. * Added feature-flag env var and .gitignore entry for local keys. * **Documentation** * Added developer guide for feature flags. * **Tests** * New concurrency, parser, decorator, config, and mutex test suites. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
99 lines
1.4 KiB
Plaintext
99 lines
1.4 KiB
Plaintext
# Logs
|
|
./logs
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
|
|
# Directory for instrumented libs generated by jscoverage/JSCover
|
|
lib-cov
|
|
|
|
# Coverage directory used by tools like istanbul
|
|
coverage
|
|
coverage-ts
|
|
|
|
# nyc test coverage
|
|
.nyc_output
|
|
|
|
# node-waf configuration
|
|
.lock-wscript
|
|
|
|
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
|
build/Release
|
|
|
|
# Dependency directories
|
|
node_modules/
|
|
jspm_packages/
|
|
|
|
# TypeScript v1 declaration files
|
|
typings/
|
|
|
|
# Optional npm cache directory
|
|
.npm
|
|
|
|
# Optional eslint cache
|
|
.eslintcache
|
|
|
|
# Optional REPL history
|
|
.node_repl_history
|
|
|
|
# Output of 'npm pack'
|
|
*.tgz
|
|
|
|
# Yarn Integrity file
|
|
.yarn-integrity
|
|
|
|
# dotenv environment variables file
|
|
.env
|
|
|
|
# next.js build output
|
|
.next
|
|
|
|
# Visual Studio Code workspace
|
|
.vscode/*
|
|
!.vscode/extensions.json
|
|
|
|
# OSX
|
|
.DS_Store
|
|
|
|
# Temp dir for tests
|
|
test/__temp__/*
|
|
|
|
# Built files
|
|
dist
|
|
|
|
# Typescript
|
|
typescript
|
|
|
|
# Ultra runner
|
|
.ultra.cache.json
|
|
|
|
# Github actions
|
|
RELEASE_NOTES.md
|
|
|
|
# Docker Deploy Folder
|
|
deploy/*
|
|
!deploy/.gitkeep
|
|
|
|
# pkg cache
|
|
.pkg-cache
|
|
|
|
# IDE Settings Files
|
|
.idea
|
|
|
|
!**/*.login.*
|
|
|
|
# local api configs - don't need project-wide tracking
|
|
dev/connectStatus.json
|
|
dev/configs/*
|
|
# local status - doesn't need to be tracked
|
|
dev/connectStatus.json
|
|
# mock local session file
|
|
dev/local-session
|
|
|
|
# local OIDC config for testing - contains secrets
|
|
dev/configs/oidc.local.json
|
|
|
|
# local api keys
|
|
dev/keys/*
|