- web/: Vue 3 + Vite + UnoCSS + Pinia, dark tactical theme (amber/#0d1117) - AppNav, ListingCard, SearchView with filters/sort, composables (useSnipeMode, useKonamiCode, useMotion), Pinia search store - Steal shimmer, auction countdown, Snipe Mode easter egg all native in Vue - docker/web/: nginx + multi-stage Dockerfile (node build → nginx serve) - compose.yml: api (8510) + web (8509) services - Dockerfile CMD updated to uvicorn for upcoming FastAPI layer - Clean build: 0 TS errors, 380 modules
61 lines
No EOL
1.5 KiB
JavaScript
61 lines
No EOL
1.5 KiB
JavaScript
/** Completely free, no limits */
|
|
const freeLicense = {
|
|
attribution: false,
|
|
commercial: true
|
|
};
|
|
/** Requires same license for derived works */
|
|
const freeSameLicense = {
|
|
attribution: false,
|
|
commercial: true,
|
|
sameLicense: true
|
|
};
|
|
/** Requires attribution */
|
|
const attribLicense = {
|
|
attribution: true,
|
|
commercial: true
|
|
};
|
|
/** Requires attribution and same license for derived works */
|
|
const attribSameLicense = {
|
|
attribution: true,
|
|
commercial: true,
|
|
sameLicense: true
|
|
};
|
|
/** Requires attribution and non-commercial use */
|
|
const attribNonCommercialLicense = {
|
|
attribution: true,
|
|
commercial: false
|
|
};
|
|
/** Requires attribution, non-commercial use and same license for derived works */
|
|
const attribNonCommercialSameLicense = {
|
|
attribution: true,
|
|
commercial: false,
|
|
sameLicense: true
|
|
};
|
|
/**
|
|
* Data for open source licenses used by icon sets in `@iconify/json` package and smaller packages
|
|
*
|
|
* Key is SPDX license identifier
|
|
*/
|
|
const licensesData = {
|
|
"Apache-2.0": freeLicense,
|
|
"MIT": freeLicense,
|
|
"MPL-2.0": freeLicense,
|
|
"CC0-1.0": freeLicense,
|
|
"CC-BY-3.0": attribLicense,
|
|
"CC-BY-SA-3.0": attribSameLicense,
|
|
"CC-BY-4.0": attribLicense,
|
|
"CC-BY-SA-4.0": attribSameLicense,
|
|
"CC-BY-NC-4.0": attribNonCommercialLicense,
|
|
"CC-BY-NC-SA-4.0": attribNonCommercialSameLicense,
|
|
"ISC": freeLicense,
|
|
"OFL-1.1": freeLicense,
|
|
"GPL-2.0-only": freeSameLicense,
|
|
"GPL-2.0-or-later": freeSameLicense,
|
|
"GPL-3.0": freeSameLicense,
|
|
"GPL-3.0-or-later": freeSameLicense,
|
|
"Unlicense": freeLicense,
|
|
"BSD-2-Clause": freeLicense,
|
|
"BSD-3-Clause": freeLicense
|
|
};
|
|
|
|
export { licensesData }; |