Bladeren bron

chore: generate

opencode-agent[bot] 3 maanden geleden
bovenliggende
commit
a99337fbe1

+ 2 - 1
packages/console/app/src/i18n/br.ts

@@ -676,7 +676,8 @@ export const dict = {
   "workspace.referral.overview.subtitle": "Ganhe $5 quando um amigo assinar. Ele também ganha $5.",
   "workspace.referral.instructions.share": "Compartilhe seu link de indicação",
   "workspace.referral.instructions.subscribe": "Seu amigo entra e assina o Go",
-  "workspace.referral.instructions.claim": "Vocês dois ganham um crédito de uso de $5 para aplicar aos seus limites de uso do Go",
+  "workspace.referral.instructions.claim":
+    "Vocês dois ganham um crédito de uso de $5 para aplicar aos seus limites de uso do Go",
   "workspace.referral.rewards.title": "Recompensas de indicação",
   "workspace.referral.rewards.description": "Aplique os créditos de indicação disponíveis no seu uso do Go.",
   "workspace.referral.rewards.subtitle": "{{applied}} / {{total}} recompensas aplicadas.",

+ 2 - 1
packages/console/app/src/i18n/de.ts

@@ -675,7 +675,8 @@ export const dict = {
   "workspace.referral.overview.subtitle": "Erhalte $5, wenn ein Freund abonniert. Er bekommt ebenfalls $5.",
   "workspace.referral.instructions.share": "Teile deinen Empfehlungslink",
   "workspace.referral.instructions.subscribe": "Dein Freund tritt bei und abonniert Go",
-  "workspace.referral.instructions.claim": "Ihr erhaltet beide ein Nutzungsguthaben von $5, das ihr auf eure Go-Nutzungslimits anrechnen könnt",
+  "workspace.referral.instructions.claim":
+    "Ihr erhaltet beide ein Nutzungsguthaben von $5, das ihr auf eure Go-Nutzungslimits anrechnen könnt",
   "workspace.referral.rewards.title": "Empfehlungsbelohnungen",
   "workspace.referral.rewards.description": "Verfügbare Empfehlungsguthaben auf deine Go-Nutzung anwenden.",
   "workspace.referral.rewards.subtitle": "{{applied}} / {{total}} Belohnungen eingelöst.",

+ 2 - 1
packages/console/app/src/i18n/es.ts

@@ -676,7 +676,8 @@ export const dict = {
   "workspace.referral.overview.subtitle": "Gana $5 cuando un amigo se suscriba. Él también recibirá $5.",
   "workspace.referral.instructions.share": "Comparte tu enlace de referido",
   "workspace.referral.instructions.subscribe": "Tu amigo se une y se suscribe a Go",
-  "workspace.referral.instructions.claim": "Ambos reciben un crédito de uso de $5 para aplicar a sus límites de uso de Go",
+  "workspace.referral.instructions.claim":
+    "Ambos reciben un crédito de uso de $5 para aplicar a sus límites de uso de Go",
   "workspace.referral.rewards.title": "Recompensas por referidos",
   "workspace.referral.rewards.description": "Aplica los créditos por referidos disponibles a tu uso de Go.",
   "workspace.referral.rewards.subtitle": "{{applied}} / {{total}} recompensas aplicadas.",

+ 4 - 2
packages/console/app/src/i18n/fr.ts

@@ -682,9 +682,11 @@ export const dict = {
   "workspace.referral.overview.subtitle": "Gagnez $5 lorsqu'un ami s'abonne. Il recevra également $5.",
   "workspace.referral.instructions.share": "Partagez votre lien de parrainage",
   "workspace.referral.instructions.subscribe": "Votre ami rejoint et s'abonne à Go",
-  "workspace.referral.instructions.claim": "Vous recevez tous les deux un crédit d'utilisation de $5 à appliquer à vos limites d'utilisation Go",
+  "workspace.referral.instructions.claim":
+    "Vous recevez tous les deux un crédit d'utilisation de $5 à appliquer à vos limites d'utilisation Go",
   "workspace.referral.rewards.title": "Récompenses de parrainage",
-  "workspace.referral.rewards.description": "Utilisez les crédits de parrainage disponibles pour votre utilisation de Go.",
+  "workspace.referral.rewards.description":
+    "Utilisez les crédits de parrainage disponibles pour votre utilisation de Go.",
   "workspace.referral.rewards.subtitle": "{{applied}} / {{total}} récompenses utilisées.",
   "workspace.referral.rewards.empty": "Aucune récompense de parrainage pour l'instant.",
   "workspace.referral.table.reward": "Récompense",

+ 2 - 1
packages/console/app/src/i18n/it.ts

@@ -674,7 +674,8 @@ export const dict = {
   "workspace.referral.overview.subtitle": "Guadagna $5 quando un amico si abbona. Anche lui riceverà $5.",
   "workspace.referral.instructions.share": "Condividi il tuo link di referral",
   "workspace.referral.instructions.subscribe": "Il tuo amico si iscrive e si abbona a Go",
-  "workspace.referral.instructions.claim": "Entrambi ricevete un credito di utilizzo di $5 da applicare ai vostri limiti di utilizzo Go",
+  "workspace.referral.instructions.claim":
+    "Entrambi ricevete un credito di utilizzo di $5 da applicare ai vostri limiti di utilizzo Go",
   "workspace.referral.rewards.title": "Premi referral",
   "workspace.referral.rewards.description": "Applica i crediti referral disponibili al tuo utilizzo di Go.",
   "workspace.referral.rewards.subtitle": "{{applied}} / {{total}} premi utilizzati.",

+ 4 - 2
packages/console/app/src/i18n/ru.ts

@@ -680,7 +680,8 @@ export const dict = {
   "workspace.referral.overview.subtitle": "Получите $5, когда друг оформит подписку. Он тоже получит $5.",
   "workspace.referral.instructions.share": "Поделитесь своей реферальной ссылкой",
   "workspace.referral.instructions.subscribe": "Ваш друг присоединяется и оформляет подписку на Go",
-  "workspace.referral.instructions.claim": "Вы оба получаете кредит на использование $5, который можно применить к лимитам использования Go",
+  "workspace.referral.instructions.claim":
+    "Вы оба получаете кредит на использование $5, который можно применить к лимитам использования Go",
   "workspace.referral.rewards.title": "Реферальные награды",
   "workspace.referral.rewards.description": "Используйте доступные реферальные кредиты для оплаты использования Go.",
   "workspace.referral.rewards.subtitle": "Использовано {{applied}} / {{total}} наград.",
@@ -704,7 +705,8 @@ export const dict = {
   "workspace.referral.apply.preview": "Посмотреть награду",
   "workspace.referral.apply.action": "Применить",
   "workspace.referral.apply.confirmTitle": "Применить награду",
-  "workspace.referral.apply.confirmBody": "Используйте {{amount}}, чтобы уменьшить текущее использование этого workspace.",
+  "workspace.referral.apply.confirmBody":
+    "Используйте {{amount}}, чтобы уменьшить текущее использование этого workspace.",
   "workspace.referral.apply.confirmAction": "Применить",
 
   "download.title": "OpenCode | Скачать",

+ 2 - 1
packages/console/app/src/i18n/tr.ts

@@ -676,7 +676,8 @@ export const dict = {
   "workspace.referral.overview.subtitle": "Bir arkadaşın abone olduğunda $5 kazan. O da $5 alacak.",
   "workspace.referral.instructions.share": "Referans bağlantını paylaş",
   "workspace.referral.instructions.subscribe": "Arkadaşın katılır ve Go'ya abone olur",
-  "workspace.referral.instructions.claim": "İkiniz de Go kullanım limitlerinize uygulamak için $5 kullanım kredisi alırsınız",
+  "workspace.referral.instructions.claim":
+    "İkiniz de Go kullanım limitlerinize uygulamak için $5 kullanım kredisi alırsınız",
   "workspace.referral.rewards.title": "Davet ödülleri",
   "workspace.referral.rewards.description": "Mevcut davet kredilerini Go kullanımınıza uygulayın.",
   "workspace.referral.rewards.subtitle": "{{applied}} / {{total}} ödül kullanıldı.",

+ 1 - 4
packages/console/core/src/referral.ts

@@ -111,10 +111,7 @@ export namespace Referral {
               isNull(UserTable.timeDeleted),
             ),
           )
-          .leftJoin(
-            AuthTable,
-            and(eq(AuthTable.accountID, UserTable.accountID), eq(AuthTable.provider, "email")),
-          )
+          .leftJoin(AuthTable, and(eq(AuthTable.accountID, UserTable.accountID), eq(AuthTable.provider, "email")))
           .where(and(eq(ReferralTable.inviteeAccountID, accountID), isNull(ReferralTable.timeDeleted)))
           .orderBy(asc(UserTable.timeCreated))
           .then((rows) => rows.find((row) => row.inviterEmail) ?? rows[0]),