diff --git a/api/ethos/artist-services.ts b/api/ethos/artist-services.ts
index b4a2b14b..d3683a87 100644
--- a/api/ethos/artist-services.ts
+++ b/api/ethos/artist-services.ts
@@ -13,7 +13,9 @@ export default async function handler(req: any, res: any) {
const artistId = query.artist_id;
if (!artistId) {
- return res.status(400).json({ error: "artist_id query parameter is required" });
+ return res
+ .status(400)
+ .json({ error: "artist_id query parameter is required" });
}
const { data: artist, error: artistError } = await supabase
@@ -39,7 +41,9 @@ export default async function handler(req: any, res: any) {
if (artistError && artistError.code !== "PGRST116") throw artistError;
if (!artist || !artist.for_hire) {
- return res.status(404).json({ error: "Artist not found or not available for hire" });
+ return res
+ .status(404)
+ .json({ error: "Artist not found or not available for hire" });
}
return res.json({
diff --git a/api/ethos/service-requests.ts b/api/ethos/service-requests.ts
index 4b687717..9d639dda 100644
--- a/api/ethos/service-requests.ts
+++ b/api/ethos/service-requests.ts
@@ -29,7 +29,8 @@ export default async function handler(req: any, res: any) {
if (!artist_id || !service_type || !description) {
return res.status(400).json({
- error: "Missing required fields: artist_id, service_type, description",
+ error:
+ "Missing required fields: artist_id, service_type, description",
});
}
@@ -41,7 +42,9 @@ export default async function handler(req: any, res: any) {
.single();
if (artistError || !artist || !artist.for_hire) {
- return res.status(404).json({ error: "Artist not found or not available for hire" });
+ return res
+ .status(404)
+ .json({ error: "Artist not found or not available for hire" });
}
// Create service request
@@ -96,7 +99,9 @@ export default async function handler(req: any, res: any) {
if (requester_id) dbQuery = dbQuery.eq("requester_id", requester_id);
if (status) dbQuery = dbQuery.eq("status", status);
- const { data, error } = await dbQuery.order("created_at", { ascending: false });
+ const { data, error } = await dbQuery.order("created_at", {
+ ascending: false,
+ });
if (error) throw error;
return res.json({ data });
@@ -109,7 +114,9 @@ export default async function handler(req: any, res: any) {
const { status, notes } = body;
if (!id || !status) {
- return res.status(400).json({ error: "Missing required fields: id, status" });
+ return res
+ .status(400)
+ .json({ error: "Missing required fields: id, status" });
}
const { data, error } = await supabase
diff --git a/api/ethos/tracks.ts b/api/ethos/tracks.ts
index 7f202e86..51c7bebb 100644
--- a/api/ethos/tracks.ts
+++ b/api/ethos/tracks.ts
@@ -53,10 +53,15 @@ export default async function handler(req: any, res: any) {
if (genre) dbQuery = dbQuery.contains("genre", [genre]);
if (licenseType) dbQuery = dbQuery.eq("license_type", licenseType);
- if (search) dbQuery = dbQuery.or(`title.ilike.%${search}%,description.ilike.%${search}%`);
+ if (search)
+ dbQuery = dbQuery.or(
+ `title.ilike.%${search}%,description.ilike.%${search}%`,
+ );
- const { data, error, count } = await dbQuery
- .range(Number(offset), Number(offset) + Number(limit) - 1);
+ const { data, error, count } = await dbQuery.range(
+ Number(offset),
+ Number(offset) + Number(limit) - 1,
+ );
if (error) throw error;
diff --git a/client/components/ethos/EcosystemLicenseModal.tsx b/client/components/ethos/EcosystemLicenseModal.tsx
index e91f2062..004bcc36 100644
--- a/client/components/ethos/EcosystemLicenseModal.tsx
+++ b/client/components/ethos/EcosystemLicenseModal.tsx
@@ -45,7 +45,8 @@ export default function EcosystemLicenseModal({
🎵 Welcome to the Ethos Library
- What is the Ecosystem License? + + What is the Ecosystem License? +
- The Ecosystem License allows AeThex development teams (specifically our GameForge - arm) to use your track for free in non-commercial projects. This includes: + The Ecosystem License allows AeThex development teams + (specifically our GameForge arm) to use your track for free in + non-commercial projects. This includes:
- If you want to license your track for commercial use (outside our ecosystem), you - can set your own price on the NEXUS marketplace or negotiate directly with clients. + If you want to license your track for commercial use (outside + our ecosystem), you can set your own price on the NEXUS + marketplace or negotiate directly with clients.
Getting Help:
- Our CORP arm can help negotiate high-value commercial licenses and connect you with - enterprise clients. + Our CORP arm can help negotiate high-value commercial licenses + and connect you with enterprise clients.
- Version 1.0 | Effective Date: {new Date().toLocaleDateString()} | For complete - legal terms, see our{" "} - + Version 1.0 | Effective Date: {new Date().toLocaleDateString()}{" "} + | For complete legal terms, see our{" "} + full agreement
@@ -123,7 +135,9 @@ export default function EcosystemLicenseModal({{artist.bio}
++ {artist.bio} +
)} {/* Skills */} @@ -242,7 +268,11 @@ export default function AudioServicesForHire() {Skills
- Discover original tracks and hire verified audio artists for composition, SFX design, and sound engineering. Support independent creators and get high-quality audio for your projects. + Discover original tracks and hire verified audio artists for + composition, SFX design, and sound engineering. Support + independent creators and get high-quality audio for your + projects.
- Find original tracks available under ecosystem licenses (free for non-commercial use) or commercial licenses (for games, films, content). + Find original tracks available under ecosystem licenses + (free for non-commercial use) or commercial licenses (for + games, films, content).
- Work directly with Ethos Guild artists for custom compositions, SFX packs, game scores, and audio production services. Artists set their own prices and maintain full creative control. + Work directly with Ethos Guild artists for custom + compositions, SFX packs, game scores, and audio production + services. Artists set their own prices and maintain full + creative control.
Skills
++ Skills +
{track.title}
++ {track.title} +
Pending Review
++ Pending Review +
- Your verification request is under review. We'll email you when there's an - update. + Your verification request is under review. We'll email + you when there's an update.
{verificationStatus.submitted_at && (Submitted:{" "} - {new Date(verificationStatus.submitted_at).toLocaleDateString()} + {new Date( + verificationStatus.submitted_at, + ).toLocaleDateString()}
)}Application Rejected
++ Application Rejected +
{verificationStatus.rejection_reason && ({verificationStatus.rejection_reason}
)}- You can resubmit with updates to your portfolio or qualifications. + You can resubmit with updates to your portfolio or + qualifications.