[{"data":1,"prerenderedAt":1302},["ShallowReactive",2],{"articles-all":3,"/desarrollo/sanity/ai-assistant":513},[4,18,26,33,40,49,56,64,71,80,89,96,103,110,117,124,131,139,151,161,169,180,188,195,206,215,221,228,235,242,248,253,260,268,273,279,285,291,297,303,309,316,323,330,337,344,350,357,364,371,378,385,392,398,403,409,416,423,428,434,440,445,450,455,461,467,473,480,487,494,501,507],{"locale":5,"path":6,"title":7,"description":8,"cat":9,"catSlug":10,"tags":11,"icon":13,"updated":14,"words":15,"read":16,"stem":17},"en","/desarrollo/netlify/desplegar-proyecto","Deploy a Project","Learn how to deploy your project on Netlify.","Nuxt/Sanity","desarrollo",[12],"netlify","i-lucide-cloud","2026-01-02",104,"2 min read","1.desarrollo/1.netlify/1.desplegar-proyecto",{"locale":5,"path":19,"title":20,"description":21,"cat":9,"catSlug":10,"tags":22,"icon":13,"updated":23,"words":24,"read":16,"stem":25},"/desarrollo/netlify/configurar-hook-sanity","Deploy from Sanity","Learn how to set up a Build Hook in Netlify to trigger deploys directly from Sanity Studio.",[12],"2026-01-13",99,"1.desarrollo/1.netlify/2.configurar-hook-sanity",{"locale":5,"path":27,"title":28,"description":29,"cat":9,"catSlug":10,"tags":30,"icon":13,"updated":23,"words":31,"read":16,"stem":32},"/desarrollo/netlify/configurar-pagina-preview","Set Up Preview Page","Learn how to set up a preview page using Netlify and Sanity to review changes before production.",[12],142,"1.desarrollo/1.netlify/3.configurar-pagina-preview",{"locale":5,"path":34,"title":35,"description":36,"cat":9,"catSlug":10,"tags":37,"icon":13,"updated":14,"words":38,"read":16,"stem":39},"/desarrollo/netlify/configurar-formulario","Set Up Forms","Learn how to create and use Netlify forms",[12],259,"1.desarrollo/1.netlify/4.configurar-formulario",{"locale":5,"path":41,"title":42,"description":43,"cat":9,"catSlug":10,"tags":44,"icon":46,"updated":14,"words":47,"read":16,"stem":48},"/desarrollo/nuxt/introduccion","Starter Introduction","Work in progress...",[45],"nuxt","i-lucide-layers",3,"1.desarrollo/2.nuxt/1.introduccion",{"locale":5,"path":50,"title":51,"description":52,"cat":9,"catSlug":10,"tags":53,"icon":46,"updated":14,"words":54,"read":16,"stem":55},"/desarrollo/nuxt/preload","Font Preload","To avoid the typographic jump while the font loads, just enable font preloading in App.vue, in useHead:",[45],206,"1.desarrollo/2.nuxt/preload",{"locale":5,"path":57,"title":42,"description":58,"cat":9,"catSlug":10,"tags":59,"icon":61,"updated":14,"words":62,"read":16,"stem":63},"/desarrollo/sanity/introduccion","Learn how to set up the deploy and preview page",[60],"sanity","i-lucide-database",33,"1.desarrollo/3.sanity/1.introduccion",{"locale":5,"path":65,"title":66,"description":67,"cat":9,"catSlug":10,"tags":68,"icon":61,"updated":14,"words":69,"read":16,"stem":70},"/desarrollo/sanity/preview-documentos","Set Up Per-Document Preview","Learn how to set up preview for each existing document in your project",[60],154,"1.desarrollo/3.sanity/2.preview-documentos",{"locale":5,"path":72,"title":73,"description":74,"cat":9,"catSlug":10,"tags":75,"icon":61,"updated":76,"words":77,"read":78,"stem":79},"/desarrollo/sanity/ai-assistant","Sanity AI Assistant and AI Actions (Editing, Translations and SEO)","What Sanity's AI Assist is, how instructions work, and the translation and content actions our starter adds.",[60],"2026-10-26",1405,"7 min read","1.desarrollo/3.sanity/3.ai-assistant",{"locale":5,"path":81,"title":82,"description":83,"cat":9,"catSlug":10,"tags":84,"icon":86,"updated":14,"words":87,"read":16,"stem":88},"/desarrollo/funciones/clamp","clamp()","Clamps a value within a specific range so it never exceeds the limits.",[85],"funciones","i-lucide-square-function",134,"1.desarrollo/4.funciones/1.clamp",{"locale":5,"path":90,"title":91,"description":92,"cat":9,"catSlug":10,"tags":93,"icon":86,"updated":14,"words":94,"read":16,"stem":95},"/desarrollo/funciones/lerp","lerp()","Classic linear interpolation to ease an initial value toward a final one using an alpha factor.",[85],147,"1.desarrollo/4.funciones/2.lerp",{"locale":5,"path":97,"title":98,"description":99,"cat":9,"catSlug":10,"tags":100,"icon":86,"updated":14,"words":101,"read":16,"stem":102},"/desarrollo/funciones/map","map()","This function is commonly known as a linear mapping or range remapping function.",[85],260,"1.desarrollo/4.funciones/3.map",{"locale":5,"path":104,"title":105,"description":106,"cat":9,"catSlug":10,"tags":107,"icon":86,"updated":14,"words":108,"read":16,"stem":109},"/desarrollo/funciones/mix","mix()","Interpolates between two numeric values using an alpha factor between 0 and 1.",[85],139,"1.desarrollo/4.funciones/4.mix",{"locale":5,"path":111,"title":112,"description":113,"cat":9,"catSlug":10,"tags":114,"icon":86,"updated":14,"words":115,"read":16,"stem":116},"/desarrollo/funciones/smoothstep","smoothstep()","Produces a smooth transition between two values, ideal for animation without abrupt jumps.",[85],171,"1.desarrollo/4.funciones/5.smoothstep",{"locale":5,"path":118,"title":119,"description":120,"cat":9,"catSlug":10,"tags":121,"icon":86,"updated":14,"words":122,"read":16,"stem":123},"/desarrollo/funciones/step","step()","Returns 0 or 1 depending on whether a value exceeds a given threshold.",[85],112,"1.desarrollo/4.funciones/6.step",{"locale":5,"path":125,"title":126,"description":127,"cat":9,"catSlug":10,"tags":128,"icon":86,"updated":14,"words":129,"read":16,"stem":130},"/desarrollo/funciones/truncatedecimals","truncateDecimals()","Truncates a number to the requested decimal places without rounding.",[85],119,"1.desarrollo/4.funciones/7.truncateDecimals",{"locale":5,"path":132,"title":133,"description":134,"cat":9,"catSlug":10,"tags":135,"icon":86,"updated":14,"words":136,"read":137,"stem":138},"/desarrollo/funciones/vec","Vec","Utility class for working with 2D and 3D vectors and performing common operations.",[85],510,"3 min read","1.desarrollo/4.funciones/8.vec",{"locale":5,"path":140,"title":141,"description":142,"cat":143,"catSlug":144,"tags":145,"icon":147,"updated":148,"words":149,"read":16,"stem":150},"/shopify/admin/colaboradores-externos","External Collaborators","How to add external collaborators in Shopify","Shopify","shopify",[146],"admin","i-lucide-settings","2026-09-25",7,"2.shopify/1.admin/1.colaboradores-externos",{"locale":5,"path":152,"title":153,"description":154,"cat":143,"catSlug":144,"tags":155,"icon":157,"updated":158,"words":159,"read":137,"stem":160},"/shopify/ia/shopify-con-claude","Shopify with Claude: installation, connecting stores and usage","Quick guide to working with Shopify stores from Claude Code (the Code tab of Claude Desktop).",[156],"ia","i-lucide-sparkles","2026-11-04",672,"2.shopify/2.ia/1.shopify-con-claude",{"locale":5,"path":162,"title":163,"description":164,"cat":143,"catSlug":144,"tags":165,"icon":157,"updated":166,"words":167,"read":16,"stem":168},"/shopify/ia/skills-claude","AI Skills for Shopify","What our Claude skills are, which imports they automate, and why you don't need a skill to edit JSON.",[156],"2026-10-20",401,"2.shopify/2.ia/2.skills-claude",{"locale":5,"path":170,"title":171,"description":172,"cat":173,"catSlug":174,"tags":175,"icon":176,"updated":177,"words":178,"read":16,"stem":179},"/holded/fichaje","Time Tracking","Learn how to start and stop the timer to log your time accurately","Holded","holded",[174],"i-lucide-clock","2026-01-08",37,"3.holded/1.fichaje",{"locale":5,"path":181,"title":182,"description":183,"cat":173,"catSlug":174,"tags":184,"icon":176,"updated":185,"words":186,"read":16,"stem":187},"/holded/proyectos-tareas-horas","Project Hours","Create projects and log tasks efficiently",[174],"2026-01-22",36,"3.holded/2.proyectos-tareas-horas",{"locale":5,"path":189,"title":190,"description":191,"cat":173,"catSlug":174,"tags":192,"icon":176,"updated":14,"words":193,"read":16,"stem":194},"/holded/vacaciones","Time Off","Learn how to request days off and check your absence history",[174],39,"3.holded/3.vacaciones",{"locale":5,"path":196,"title":197,"description":198,"cat":199,"catSlug":200,"tags":201,"icon":202,"updated":203,"words":204,"read":16,"stem":205},"/cloudflare/redirigir-www","Redirect www to non-www","How to redirect the www version of a Cloudflare Pages (pages.dev) project to the domain without www.","Cloudflare","cloudflare",[200],"i-simple-icons-cloudflare","2026-10-17",144,"4.cloudflare/1.redirigir-www",{"locale":207,"path":208,"title":209,"description":210,"cat":9,"catSlug":10,"tags":211,"icon":13,"updated":14,"words":212,"read":213,"stem":214},"ca","/ca/desarrollo/netlify/desplegar-proyecto","Desplegar un projecte","Aprèn a desplegar el teu projecte a Netlify.",[12],108,"2 min de lectura","ca/1.desarrollo/1.netlify/1.desplegar-proyecto",{"locale":207,"path":216,"title":217,"description":218,"cat":9,"catSlug":10,"tags":219,"icon":13,"updated":23,"words":15,"read":213,"stem":220},"/ca/desarrollo/netlify/configurar-hook-sanity","Deploy des de Sanity","Aprèn a configurar un Build Hook a Netlify per llançar deploys directament des de Sanity Studio.",[12],"ca/1.desarrollo/1.netlify/2.configurar-hook-sanity",{"locale":207,"path":222,"title":223,"description":224,"cat":9,"catSlug":10,"tags":225,"icon":13,"updated":23,"words":226,"read":213,"stem":227},"/ca/desarrollo/netlify/configurar-pagina-preview","Configurar la pàgina de preview","Aprèn a configurar una pàgina de preview amb Netlify i Sanity per visualitzar canvis abans de producció.",[12],153,"ca/1.desarrollo/1.netlify/3.configurar-pagina-preview",{"locale":207,"path":229,"title":230,"description":231,"cat":9,"catSlug":10,"tags":232,"icon":13,"updated":14,"words":233,"read":213,"stem":234},"/ca/desarrollo/netlify/configurar-formulario","Configurar formularis","Aprèn a crear i utilitzar formularis de Netlify",[12],276,"ca/1.desarrollo/1.netlify/4.configurar-formulario",{"locale":207,"path":236,"title":237,"description":238,"cat":9,"catSlug":10,"tags":239,"icon":46,"updated":14,"words":240,"read":213,"stem":241},"/ca/desarrollo/nuxt/introduccion","Introducció a l'Starter","En desenvolupament...",[45],2,"ca/1.desarrollo/2.nuxt/1.introduccion",{"locale":207,"path":243,"title":51,"description":244,"cat":9,"catSlug":10,"tags":245,"icon":46,"updated":14,"words":246,"read":213,"stem":247},"/ca/desarrollo/nuxt/preload","Per evitar el salt tipogràfic mentre la font es carrega, n'hi ha prou amb activar el preload de les fonts a App.vue, a useHead:",[45],220,"ca/1.desarrollo/2.nuxt/preload",{"locale":207,"path":249,"title":237,"description":250,"cat":9,"catSlug":10,"tags":251,"icon":61,"updated":14,"words":62,"read":213,"stem":252},"/ca/desarrollo/sanity/introduccion","Aprèn a configurar el deploy i la pàgina de preview",[60],"ca/1.desarrollo/3.sanity/1.introduccion",{"locale":207,"path":254,"title":255,"description":256,"cat":9,"catSlug":10,"tags":257,"icon":61,"updated":14,"words":258,"read":213,"stem":259},"/ca/desarrollo/sanity/preview-documentos","Configura la preview per document","Aprèn a configurar la preview de cada document existent al teu projecte",[60],163,"ca/1.desarrollo/3.sanity/2.preview-documentos",{"locale":207,"path":261,"title":262,"description":263,"cat":9,"catSlug":10,"tags":264,"icon":61,"updated":76,"words":265,"read":266,"stem":267},"/ca/desarrollo/sanity/ai-assistant","Assistent d'IA de Sanity i accions d'IA (edició, traduccions i SEO)","Què és l'AI Assist de Sanity, com funcionen les instruccions i les accions de traducció i contingut que afegeix el nostre starter.",[60],1513,"8 min de lectura","ca/1.desarrollo/3.sanity/3.ai-assistant",{"locale":207,"path":269,"title":82,"description":270,"cat":9,"catSlug":10,"tags":271,"icon":86,"updated":14,"words":87,"read":213,"stem":272},"/ca/desarrollo/funciones/clamp","Limita un valor dins d'un rang específic perquè no superi mai els límits.",[85],"ca/1.desarrollo/4.funciones/1.clamp",{"locale":207,"path":274,"title":91,"description":275,"cat":9,"catSlug":10,"tags":276,"icon":86,"updated":14,"words":277,"read":213,"stem":278},"/ca/desarrollo/funciones/lerp","Interpolació lineal clàssica per acostar un valor inicial a un de final amb un factor alpha.",[85],148,"ca/1.desarrollo/4.funciones/2.lerp",{"locale":207,"path":280,"title":98,"description":281,"cat":9,"catSlug":10,"tags":282,"icon":86,"updated":14,"words":283,"read":213,"stem":284},"/ca/desarrollo/funciones/map","Aquesta funció es coneix comunament com a funció de mapatge lineal o de reescalat de rangs.",[85],262,"ca/1.desarrollo/4.funciones/3.map",{"locale":207,"path":286,"title":105,"description":287,"cat":9,"catSlug":10,"tags":288,"icon":86,"updated":14,"words":289,"read":213,"stem":290},"/ca/desarrollo/funciones/mix","Interpola entre dos valors numèrics amb un factor alpha entre 0 i 1.",[85],141,"ca/1.desarrollo/4.funciones/4.mix",{"locale":207,"path":292,"title":112,"description":293,"cat":9,"catSlug":10,"tags":294,"icon":86,"updated":14,"words":295,"read":213,"stem":296},"/ca/desarrollo/funciones/smoothstep","Produeix una transició suau entre dos valors, ideal per a animacions sense salts bruscos.",[85],173,"ca/1.desarrollo/4.funciones/5.smoothstep",{"locale":207,"path":298,"title":119,"description":299,"cat":9,"catSlug":10,"tags":300,"icon":86,"updated":14,"words":301,"read":213,"stem":302},"/ca/desarrollo/funciones/step","Retorna 0 o 1 segons si un valor supera un llindar determinat.",[85],114,"ca/1.desarrollo/4.funciones/6.step",{"locale":207,"path":304,"title":126,"description":305,"cat":9,"catSlug":10,"tags":306,"icon":86,"updated":14,"words":307,"read":213,"stem":308},"/ca/desarrollo/funciones/truncatedecimals","Trunca un nombre al nombre de decimals sol·licitat sense arrodonir.",[85],123,"ca/1.desarrollo/4.funciones/7.truncateDecimals",{"locale":207,"path":310,"title":133,"description":311,"cat":9,"catSlug":10,"tags":312,"icon":86,"updated":14,"words":313,"read":314,"stem":315},"/ca/desarrollo/funciones/vec","Classe utilitària per treballar amb vectors 2D i 3D i fer operacions comunes.",[85],508,"3 min de lectura","ca/1.desarrollo/4.funciones/8.vec",{"locale":207,"path":317,"title":318,"description":319,"cat":143,"catSlug":144,"tags":320,"icon":147,"updated":148,"words":321,"read":213,"stem":322},"/ca/shopify/admin/colaboradores-externos","Col·laboradors externs","Com afegir col·laboradors externs a Shopify",[146],6,"ca/2.shopify/1.admin/1.colaboradores-externos",{"locale":207,"path":324,"title":325,"description":326,"cat":143,"catSlug":144,"tags":327,"icon":157,"updated":158,"words":328,"read":314,"stem":329},"/ca/shopify/ia/shopify-con-claude","Shopify amb Claude: instal·lació, connexió a botigues i ús","Guia ràpida per treballar amb botigues Shopify des de Claude Code (pestanya Code de Claude Desktop).",[156],688,"ca/2.shopify/2.ia/1.shopify-con-claude",{"locale":207,"path":331,"title":332,"description":333,"cat":143,"catSlug":144,"tags":334,"icon":157,"updated":166,"words":335,"read":213,"stem":336},"/ca/shopify/ia/skills-claude","Skills d'IA per a Shopify","Què són les nostres skills per a Claude, quines importacions automatitzen i per què no cal una skill per editar JSON.",[156],413,"ca/2.shopify/2.ia/2.skills-claude",{"locale":207,"path":338,"title":339,"description":340,"cat":173,"catSlug":174,"tags":341,"icon":176,"updated":177,"words":342,"read":213,"stem":343},"/ca/holded/fichaje","Fitxatge horari","Aprèn a iniciar i aturar el cronòmetre per registrar el teu temps amb precisió",[174],41,"ca/3.holded/1.fichaje",{"locale":207,"path":345,"title":346,"description":347,"cat":173,"catSlug":174,"tags":348,"icon":176,"updated":185,"words":178,"read":213,"stem":349},"/ca/holded/proyectos-tareas-horas","Hores de projectes","Crea projectes i registra tasques de manera eficient",[174],"ca/3.holded/2.proyectos-tareas-horas",{"locale":207,"path":351,"title":352,"description":353,"cat":173,"catSlug":174,"tags":354,"icon":176,"updated":14,"words":355,"read":213,"stem":356},"/ca/holded/vacaciones","Vacances","Aprèn a sol·licitar dies lliures i consultar el teu historial d'absències",[174],42,"ca/3.holded/3.vacaciones",{"locale":207,"path":358,"title":359,"description":360,"cat":199,"catSlug":200,"tags":361,"icon":202,"updated":203,"words":362,"read":213,"stem":363},"/ca/cloudflare/redirigir-www","Redirigir www a non-www","Com fer que la versió www d'un projecte de Cloudflare Pages (pages.dev) redirigeixi al domini sense www.",[200],155,"ca/4.cloudflare/1.redirigir-www",{"locale":365,"path":366,"title":367,"description":368,"cat":9,"catSlug":10,"tags":369,"icon":13,"updated":14,"words":15,"read":213,"stem":370},"es","/es/desarrollo/netlify/desplegar-proyecto","Desplegar un Proyecto","Aprende a desplegar tu proyecto en Netlify.",[12],"es/1.desarrollo/1.netlify/1.desplegar-proyecto",{"locale":365,"path":372,"title":373,"description":374,"cat":9,"catSlug":10,"tags":375,"icon":13,"updated":23,"words":376,"read":213,"stem":377},"/es/desarrollo/netlify/configurar-hook-sanity","Deploy desde Sanity","Aprende a configurar un Build Hook en Netlify para lanzar deploys directamente desde Sanity Studio.",[12],103,"es/1.desarrollo/1.netlify/2.configurar-hook-sanity",{"locale":365,"path":379,"title":380,"description":381,"cat":9,"catSlug":10,"tags":382,"icon":13,"updated":23,"words":383,"read":213,"stem":384},"/es/desarrollo/netlify/configurar-pagina-preview","Configurar Página Preview","Aprende a configurar una página de preview usando Netlify y Sanity para visualizar cambios antes de producción.",[12],151,"es/1.desarrollo/1.netlify/3.configurar-pagina-preview",{"locale":365,"path":386,"title":387,"description":388,"cat":9,"catSlug":10,"tags":389,"icon":13,"updated":14,"words":390,"read":213,"stem":391},"/es/desarrollo/netlify/configurar-formulario","Configurar Formulario","Aprende a crear y usar formularios de Netlify",[12],280,"es/1.desarrollo/1.netlify/4.configurar-formulario",{"locale":365,"path":393,"title":394,"description":395,"cat":9,"catSlug":10,"tags":396,"icon":46,"updated":14,"words":240,"read":213,"stem":397},"/es/desarrollo/nuxt/introduccion","Introducción al Starter","En desarrollo...",[45],"es/1.desarrollo/2.nuxt/1.introduccion",{"locale":365,"path":399,"title":51,"description":400,"cat":9,"catSlug":10,"tags":401,"icon":46,"updated":14,"words":246,"read":213,"stem":402},"/es/desarrollo/nuxt/preload","Para evitar el salto tipográfico mientras la fuente se carga, basta con activar el preload de las fuentes App.vue, en useHead:",[45],"es/1.desarrollo/2.nuxt/preload",{"locale":365,"path":404,"title":394,"description":405,"cat":9,"catSlug":10,"tags":406,"icon":61,"updated":14,"words":407,"read":213,"stem":408},"/es/desarrollo/sanity/introduccion","Aprende a configurar el deploy y página preview",[60],31,"es/1.desarrollo/3.sanity/1.introduccion",{"locale":365,"path":410,"title":411,"description":412,"cat":9,"catSlug":10,"tags":413,"icon":61,"updated":14,"words":414,"read":213,"stem":415},"/es/desarrollo/sanity/preview-documentos","Configura el preview por documento","Aprende a configurar el preview de cada documento existente en tu proyecto",[60],162,"es/1.desarrollo/3.sanity/2.preview-documentos",{"locale":365,"path":417,"title":418,"description":419,"cat":9,"catSlug":10,"tags":420,"icon":61,"updated":76,"words":421,"read":266,"stem":422},"/es/desarrollo/sanity/ai-assistant","Asistente de IA de Sanity y acciones de IA (edición, traducciones y SEO)","Qué es el AI Assist de Sanity, cómo funcionan las instrucciones y las acciones de traducción y contenido que añade nuestro starter.",[60],1542,"es/1.desarrollo/3.sanity/3.ai-assistant",{"locale":365,"path":424,"title":82,"description":425,"cat":9,"catSlug":10,"tags":426,"icon":86,"updated":14,"words":87,"read":213,"stem":427},"/es/desarrollo/funciones/clamp","Limita un valor dentro de un rango específico para que nunca supere los límites.",[85],"es/1.desarrollo/4.funciones/1.clamp",{"locale":365,"path":429,"title":91,"description":430,"cat":9,"catSlug":10,"tags":431,"icon":86,"updated":14,"words":432,"read":213,"stem":433},"/es/desarrollo/funciones/lerp","Interpolación lineal clásica para acercar un valor inicial a uno final usando un factor alpha.",[85],149,"es/1.desarrollo/4.funciones/2.lerp",{"locale":365,"path":435,"title":98,"description":436,"cat":9,"catSlug":10,"tags":437,"icon":86,"updated":14,"words":438,"read":213,"stem":439},"/es/desarrollo/funciones/map","Esta función se conoce comúnmente como función de mapeo lineal o remapeo de rangos.",[85],270,"es/1.desarrollo/4.funciones/3.map",{"locale":365,"path":441,"title":105,"description":442,"cat":9,"catSlug":10,"tags":443,"icon":86,"updated":14,"words":289,"read":213,"stem":444},"/es/desarrollo/funciones/mix","Interpola entre dos valores numéricos utilizando un factor alpha entre 0 y 1.",[85],"es/1.desarrollo/4.funciones/4.mix",{"locale":365,"path":446,"title":112,"description":447,"cat":9,"catSlug":10,"tags":448,"icon":86,"updated":14,"words":295,"read":213,"stem":449},"/es/desarrollo/funciones/smoothstep","Produce una transición suave entre dos valores, ideal para animaciones sin saltos bruscos.",[85],"es/1.desarrollo/4.funciones/5.smoothstep",{"locale":365,"path":451,"title":119,"description":452,"cat":9,"catSlug":10,"tags":453,"icon":86,"updated":14,"words":301,"read":213,"stem":454},"/es/desarrollo/funciones/step","Devuelve 0 o 1 dependiendo de si un valor supera un umbral determinado.",[85],"es/1.desarrollo/4.funciones/6.step",{"locale":365,"path":456,"title":126,"description":457,"cat":9,"catSlug":10,"tags":458,"icon":86,"updated":14,"words":459,"read":213,"stem":460},"/es/desarrollo/funciones/truncatedecimals","Corta un número al número de decimales solicitado sin realizar redondeos.",[85],122,"es/1.desarrollo/4.funciones/7.truncateDecimals",{"locale":365,"path":462,"title":133,"description":463,"cat":9,"catSlug":10,"tags":464,"icon":86,"updated":14,"words":465,"read":314,"stem":466},"/es/desarrollo/funciones/vec","Clase utilitaria para trabajar con vectores 2D y 3D y realizar operaciones comunes.",[85],507,"es/1.desarrollo/4.funciones/8.vec",{"locale":365,"path":468,"title":469,"description":470,"cat":143,"catSlug":144,"tags":471,"icon":147,"updated":148,"words":321,"read":213,"stem":472},"/es/shopify/admin/colaboradores-externos","Colaboradores externos","Cómo añadir colaboradores externos en Shopify",[146],"es/2.shopify/1.admin/1.colaboradores-externos",{"locale":365,"path":474,"title":475,"description":476,"cat":143,"catSlug":144,"tags":477,"icon":157,"updated":158,"words":478,"read":314,"stem":479},"/es/shopify/ia/shopify-con-claude","Shopify con Claude: instalación, conexión a tiendas y uso","Guía rápida para trabajar con tiendas Shopify desde Claude Code (pestaña Code de Claude Desktop).",[156],677,"es/2.shopify/2.ia/1.shopify-con-claude",{"locale":365,"path":481,"title":482,"description":483,"cat":143,"catSlug":144,"tags":484,"icon":157,"updated":166,"words":485,"read":213,"stem":486},"/es/shopify/ia/skills-claude","Skills de IA para Shopify","Qué son nuestras skills para Claude, qué importaciones automatizan y por qué no hace falta una skill para editar JSON.",[156],417,"es/2.shopify/2.ia/2.skills-claude",{"locale":365,"path":488,"title":489,"description":490,"cat":173,"catSlug":174,"tags":491,"icon":176,"updated":177,"words":492,"read":213,"stem":493},"/es/holded/fichaje","Fichaje horario","Aprende a iniciar y detener el cronómetro para registrar tu tiempo de manera precisa",[174],43,"es/3.holded/1.fichaje",{"locale":365,"path":495,"title":496,"description":497,"cat":173,"catSlug":174,"tags":498,"icon":176,"updated":185,"words":499,"read":213,"stem":500},"/es/holded/proyectos-tareas-horas","Horas proyectos","Crear proyectos y registrar tareas de forma eficiente",[174],34,"es/3.holded/2.proyectos-tareas-horas",{"locale":365,"path":502,"title":503,"description":504,"cat":173,"catSlug":174,"tags":505,"icon":176,"updated":14,"words":355,"read":213,"stem":506},"/es/holded/vacaciones","Vacaciones","Aprende a solicitar días libres y consultar tu historial de ausencias",[174],"es/3.holded/3.vacaciones",{"locale":365,"path":508,"title":359,"description":509,"cat":199,"catSlug":200,"tags":510,"icon":202,"updated":203,"words":511,"read":213,"stem":512},"/es/cloudflare/redirigir-www","Cómo hacer que la versión www de un proyecto de Cloudflare Pages (pages.dev) redirija al dominio sin www.",[200],158,"es/4.cloudflare/1.redirigir-www",{"id":514,"title":73,"body":515,"description":74,"extension":1296,"icon":1297,"meta":1298,"navigation":1299,"path":72,"seo":1300,"stem":79,"tags":1297,"updated":76,"__hash__":1301},"docs/1.desarrollo/3.sanity/3.ai-assistant.md",{"type":516,"value":517,"toc":1282},"minimark",[518,530,537,561,571,576,595,614,619,630,633,642,645,650,654,661,735,751,759,763,766,837,844,869,874,877,924,927,940,947,954,960,964,1020,1027,1033,1039,1045,1049,1052,1119,1126,1132,1138,1144,1148,1167,1171,1177,1186,1192,1196,1202,1205,1209,1237,1241],[519,520,521,525,526,529],"p",{},[522,523,524],"strong",{},"AI Assist"," is Sanity's AI assistant inside the Studio. It needs Sanity's ",[522,527,528],{},"Growth"," plan (or its trial): on projects without it, nothing on this page is available.",[519,531,532,533,536],{},"It shows up as a ",[522,534,535],{},"✨ icon"," on the document and on each field, with two kinds of items:",[538,539,540,551],"ul",{},[541,542,543,546,547,550],"li",{},[522,544,545],{},"Instructions",": Sanity's own feature. ",[522,548,549],{},"Reusable prompts"," that editors write themselves.",[541,552,553,556,557,560],{},[522,554,555],{},"Starter actions",": ",[522,558,559],{},"buttons we added"," for common tasks, like translating or writing the SEO texts.",[519,562,563,564,567,568],{},"Everything they write is a normal edit: it stays a ",[522,565,566],{},"draft until you publish",". ",[522,569,570],{},"Always review it first.",[572,573,575],"h2",{"id":574},"default-sanity-assistant-instructions-written-by-editors","Default Sanity Assistant: Instructions (written by editors)",[519,577,578,579,582,583,586,587,590,591,594],{},"An instruction is a ",[522,580,581],{},"prompt saved on a field"," (or on the whole document), so it can be ",[522,584,585],{},"run again with one click",". Each editor creates their own: ",[522,588,589],{},"only for themselves",", or ",[522,592,593],{},"shared with the whole team",".",[519,596,597,598,601,602,605,606,609,610,613],{},"To create one: ✨ → ",[522,599,600],{},"Manage instructions"," → ",[522,603,604],{},"Add item",". The parts in brackets below are inserted with the editor's buttons (",[522,607,608],{},"Field reference",", ",[522,611,612],{},"User input","), not typed.",[519,615,616],{},[522,617,618],{},"Example — Draft from keywords",[620,621,626],"pre",{"className":622,"code":624,"language":625},[623],"language-text","Write the text for this field from these keywords: [User input: \"Keywords\"]\n\nWrite it in [Field reference: Language].\n\n- Use every keyword in natural sentences. Don't list them.\n- Use only what the keywords and this document say. Don't invent names, numbers, dates, prices or claims.\n- Fit the length to the field: one sentence for a short field, one or two short paragraphs for longer text.\n- Match the tone of the rest of the document: clear and plain, with no marketing superlatives.\n- No headings, quotes or emojis.\n- Return only the text.\n","text",[627,628,624],"code",{"__ignoreMap":629},"",[519,631,632],{},"When it runs, a box asks for the keywords:",[634,635,636],"blockquote",{},[519,637,638,641],{},[522,639,640],{},"Keywords:"," ceramics studio, Barcelona, handmade tableware, workshops on weekends",[519,643,644],{},"And the field gets something like:",[634,646,647],{},[519,648,649],{},"A ceramics studio in Barcelona making handmade tableware, with workshops open on weekends.",[572,651,653],{"id":652},"ai-editing-actions-predefined-in-the-starter","AI editing actions (predefined in the starter)",[519,655,656,657,660],{},"For ",[522,658,659],{},"multi-line text and rich text"," fields (descriptions, page and project text blocks, Meta Description), in every language. They don't appear on single-line fields like titles.",[662,663,664,680],"table",{},[665,666,667],"thead",{},[668,669,670,674,677],"tr",{},[671,672,673],"th",{},"Action",[671,675,676],{},"Where",[671,678,679],{},"What it does",[681,682,683,718],"tbody",{},[668,684,685,691,698],{},[686,687,688],"td",{},[522,689,690],{},"Write a draft",[686,692,693,694,697],{},"✨ on an ",[522,695,696],{},"empty"," text field",[686,699,700,701,705,706,709,710,713,714,717],{},"Asks ",[702,703,704],"em",{},"\"What should this text say?\"",". Answer ",[522,707,708],{},"informally",": quick notes, keywords or half sentences, in any language (e.g. ",[702,711,712],{},"\"weekend workshops, small groups, beginners welcome, book by email\"","). It turns them into well-written text, in the field's language and the page's tone. It uses ",[522,715,716],{},"only the facts in your brief and the page",": it doesn't invent names, dates, prices or claims.",[668,719,720,725,728],{},[686,721,722],{},[522,723,724],{},"Proofread",[686,726,727],{},"✨ on a text field with text",[686,729,730,731,734],{},"Fixes ",[522,732,733],{},"spelling, grammar and punctuation only",", in the field's language. It doesn't rephrase, shorten or change the meaning.",[519,736,737,739,740,742,743,746,747,750],{},[522,738,690],{}," never overwrites: to draft again, empty the field first. ",[522,741,724],{}," is the ",[522,744,745],{},"only action that edits existing text",": check the changes, and if you don't like them, restore the previous version from ",[522,748,749],{},"History"," (top-right of the document).",[519,752,753,754,756,757,594],{},"A natural workflow: ",[522,755,690],{},", edit it, then ",[522,758,724],{},[572,760,762],{"id":761},"ai-translation-actions-predefined-in-the-starter","AI translation actions (predefined in the starter)",[519,764,765],{},"The starter translates content in two ways, depending on the document type:",[662,767,768,784],{},[665,769,770],{},[668,771,772,774,779],{},[671,773],{},[671,775,776],{},[522,777,778],{},"Document translation",[671,780,781],{},[522,782,783],{},"Field translation",[681,785,786,812],{},[668,787,788,793,799],{},[686,789,790],{},[522,791,792],{},"How",[686,794,795,798],{},[522,796,797],{},"One document per language",", linked together.",[686,800,801,556,804,807,808,811],{},[522,802,803],{},"One document, with a field per language",[627,805,806],{},"title"," (original language) and ",[627,809,810],{},"title___ca"," (Català).",[668,813,814,819,834],{},[686,815,816],{},[522,817,818],{},"Used for",[686,820,821,822,609,825,609,828,609,831],{},"Pages: ",[627,823,824],{},"homepage",[627,826,827],{},"page",[627,829,830],{},"about",[627,832,833],{},"projectsArchive",[686,835,836],{},"Everything else: projects, categories, navigation, site settings…",[519,838,839,840,843],{},"The list of document-translated types is in ",[627,841,842],{},"languages.js"," and can change per site.",[519,845,846,847,850,851,853,854,857,858,861,862,865,866,594],{},"The ",[522,848,849],{},"original language"," is the site's default language, also set in ",[627,852,842],{},"; the Studio labels it ",[702,855,856],{},"Original",". It can differ per site, and the action names show it: below they say ",[702,859,860],{},"English",", as in our starter, but on a site whose original language is Català, ",[522,863,864],{},"Translate from English"," reads ",[522,867,868],{},"Translate from Català",[870,871,873],"h3",{"id":872},"actions-for-document-translation","Actions for document translation",[519,875,876],{},"Open the language version (e.g. the Català one) and use:",[662,878,879,889],{},[665,880,881],{},[668,882,883,885,887],{},[671,884,673],{},[671,886,676],{},[671,888,679],{},[681,890,891,911],{},[668,892,893,902,908],{},[686,894,895,898,899],{},[522,896,897],{},"Replace with English content"," ",[702,900,901],{},"(not AI)",[686,903,904,905],{},"Menu next to ",[522,906,907],{},"Publish",[686,909,910],{},"Replaces this version's content with the original version's, so you can translate it again without re-creating the document. Keeps the language and the slug, and asks first.",[668,912,913,918,921],{},[686,914,915],{},[522,916,917],{},"Translate document",[686,919,920],{},"✨ on the document",[686,922,923],{},"Sanity's own action: translates this version's current content into its language.",[519,925,926],{},"The usual workflow:",[928,929,930,935],"ol",{},[541,931,932,934],{},[522,933,897],{},", to bring in the original's latest content.",[541,936,937,939],{},[522,938,917],{},", to translate it.",[519,941,942,943,946],{},"A brand-new language version ",[522,944,945],{},"already starts as a copy of the original",", so there you can go straight to step 2.",[519,948,949],{},[950,951],"img",{"alt":952,"src":953},"Replace with English content in the menu next to Publish","/img/sanity/ai-replace-with-original.webp",[519,955,956],{},[950,957],{"alt":958,"src":959},"Translate document in the ✨ menu of the Català version","/img/sanity/ai-translate-document.webp",[870,961,963],{"id":962},"actions-for-field-translation","Actions for field translation",[662,965,966,976],{},[665,967,968],{},[668,969,970,972,974],{},[671,971,673],{},[671,973,676],{},[671,975,679],{},[681,977,978,990,1006],{},[668,979,980,985,987],{},[686,981,982],{},[522,983,984],{},"Translate all empty fields",[686,986,920],{},[686,988,989],{},"Translates every empty language field in the document, then fills the empty language slugs.",[668,991,992,997,1003],{},[686,993,994],{},[522,995,996],{},"Translate to empty languages",[686,998,999,1000,1002],{},"✨ on an original-language field (e.g. ",[627,1001,806],{},")",[686,1004,1005],{},"Translates that field into every language that's still empty.",[668,1007,1008,1012,1017],{},[686,1009,1010],{},[522,1011,864],{},[686,1013,1014,1015,1002],{},"✨ on another language's field (e.g. ",[627,1016,810],{},[686,1018,1019],{},"Fills that one field with a translation of the original-language one.",[519,1021,1022,1023,1026],{},"These actions ",[522,1024,1025],{},"never overwrite",": fields with text are left alone. To redo a translation, empty the field and run the action again.",[519,1028,1029],{},[950,1030],{"alt":1031,"src":1032},"Translate all empty fields in the ✨ menu of a project","/img/sanity/ai-translate-all-empty-fields.webp",[519,1034,1035],{},[950,1036],{"alt":1037,"src":1038},"Translate to empty languages on the original-language title","/img/sanity/ai-translate-to-empty-languages.webp",[519,1040,1041],{},[950,1042],{"alt":1043,"src":1044},"Translate from English on the Català title","/img/sanity/ai-translate-from-original.webp",[572,1046,1048],{"id":1047},"ai-seo-actions-predefined-in-the-starter","AI SEO actions (predefined in the starter)",[519,1050,1051],{},"Common SEO tasks, ready to use like the translation actions. Available on both kinds of documents:",[662,1053,1054,1064],{},[665,1055,1056],{},[668,1057,1058,1060,1062],{},[671,1059,673],{},[671,1061,676],{},[671,1063,679],{},[681,1065,1066,1087,1104],{},[668,1067,1068,1073,1080],{},[686,1069,1070],{},[522,1071,1072],{},"Generate alt text",[686,1074,1075,1076,1079],{},"✨ on an image's ",[522,1077,1078],{},"Alternative text"," field",[686,1081,1082,1083,1086],{},"Describes the image, in that field's language. It ",[522,1084,1085],{},"never names people",": when the person is the point of the image (a speaker, the team), add their name yourself.",[668,1088,1089,1094,1101],{},[686,1090,1091],{},[522,1092,1093],{},"Generate SEO title",[686,1095,1096,1097,1100],{},"✨ on ",[522,1098,1099],{},"Meta Title"," (SEO tab)",[686,1102,1103],{},"Writes it from the page content, in the page's language, at a length that fits search results.",[668,1105,1106,1111,1116],{},[686,1107,1108],{},[522,1109,1110],{},"Generate SEO description",[686,1112,1096,1113,1100],{},[522,1114,1115],{},"Meta Description",[686,1117,1118],{},"Same, for the description.",[519,1120,1121,1122,1125],{},"They ",[522,1123,1124],{},"don't overwrite"," either. Once written, translate them like any other field.",[519,1127,1128],{},[950,1129],{"alt":1130,"src":1131},"Generate alt text on an image's Alternative text field","/img/sanity/ai-generate-alt-text.webp",[519,1133,1134],{},[950,1135],{"alt":1136,"src":1137},"Generate SEO title on the Meta Title field","/img/sanity/ai-generate-seo-title.webp",[519,1139,1140],{},[950,1141],{"alt":1142,"src":1143},"Generate SEO description on the Meta Description field","/img/sanity/ai-generate-seo-description.webp",[870,1145,1147],{"id":1146},"predefined-prompts","Predefined prompts",[519,1149,1150,1151,1154,1155,1158,1159,1162,1163,1166],{},"These prompts are ",[522,1152,1153],{},"predefined in the starter",": they're not instructions, so they can't be edited from the Studio. To change them, edit ",[627,1156,1157],{},"cms/src/ai/generateSeo.ts"," and ",[627,1160,1161],{},"cms/src/ai/generateAltText.ts",". The ",[627,1164,1165],{},"$"," values are filled in by the action.",[519,1168,1169],{},[522,1170,1072],{},[620,1172,1175],{"className":1173,"code":1174,"language":625},[623],"Write alt text for the image in $language: one sentence, at most 125 characters, describing what matters for someone who can't see it. Include text shown in the image only when it's key to understanding it, like a sign or a title. Never name people, even if a name is visible (a badge, a caption). Don't start with \"Image of\" or \"Photo of\".\n",[627,1176,1174],{"__ignoreMap":629},[519,1178,1179,1181,1182,1185],{},[522,1180,1093],{},": the site shows pages as ",[702,1183,1184],{},"Meta Title - Site Title",", so on pages the limit leaves room for the site title, and the homepage, shown alone, includes it.",[620,1187,1190],{"className":1188,"code":1189,"language":625},[623],"Pages:\nWrite the SEO meta title for the web page in $doc, in $language, at most $maxLength characters. Put the page's main topic first. Don't include the site name: it's added after the title. Use only facts from the page, not its SEO fields; don't invent claims. No quotes, all caps, superlatives or clickbait. Reply with the title only.\n\nHomepage:\nWrite the SEO meta title for the home page in $doc, in $language, at most $maxLength characters, including the site name \"$siteTitle\". Use only facts from the page, not its SEO fields; don't invent claims. No quotes, all caps, superlatives or clickbait. Reply with the title only.\n",[627,1191,1189],{"__ignoreMap":629},[519,1193,1194],{},[522,1195,1110],{},[620,1197,1200],{"className":1198,"code":1199,"language":625},[623],"Write the SEO meta description for the web page in $doc, in $language, between 120 and 155 characters. Summarise what visitors will find on the page, with its main topic early, in one or two plain sentences in active voice. Use only facts from the page, not its SEO fields; don't invent claims. No quotes, all caps, superlatives or clickbait. No generic calls to action like \"Click here\". Reply with the description only.\n",[627,1201,1199],{"__ignoreMap":629},[519,1203,1204],{},"The translation actions have no prompt of ours: they use Sanity's own translation.",[572,1206,1208],{"id":1207},"good-to-know","Good to know",[538,1210,1211,1230],{},[541,1212,1213,1214,1217,1218,1225,1226,1229],{},"The Growth plan includes a ",[522,1215,1216],{},"monthly quota of AI credits","; beyond it, usage is billed (see ",[1219,1220,1224],"a",{"href":1221,"rel":1222},"https://www.sanity.io/pricing",[1223],"nofollow","Sanity's pricing","). Every action uses credits, so ",[522,1227,1228],{},"prefer the document actions"," over translating field by field.",[541,1231,1232,1233,1236],{},"If the field to translate from is empty, the action ",[522,1234,1235],{},"warns you"," instead of writing anything.",[572,1238,1240],{"id":1239},"for-developers","For developers",[538,1242,1243,1257,1272],{},[541,1244,1245,1246,1249,1250,1253,1254,594],{},"AI Assist is ",[522,1247,1248],{},"off by default",", as it needs the Growth plan. Turn it on with ",[627,1251,1252],{},"SANITY_STUDIO_AI_ASSIST=true"," in the CMS ",[627,1255,1256],{},".env",[541,1258,1259,1260,1265,1266],{},"The actions use Sanity's ",[1219,1261,1264],{"href":1262,"rel":1263},"https://www.sanity.io/docs/agent-actions/introduction",[1223],"Agent Actions",", which read the schema from Sanity. ",[522,1267,1268,1269,594],{},"After any schema change, run ",[627,1270,1271],{},"sanity schemas deploy",[541,1273,1274,1275,1278,1279,594],{},"The code lives in ",[627,1276,1277],{},"cms/src/ai/"," (one file per action) and ",[627,1280,1281],{},"cms/src/components/ReplaceWithOriginalAction.ts",{"title":629,"searchDepth":1283,"depth":240,"links":1284},1,[1285,1286,1287,1291,1294,1295],{"id":574,"depth":240,"text":575},{"id":652,"depth":240,"text":653},{"id":761,"depth":240,"text":762,"children":1288},[1289,1290],{"id":872,"depth":47,"text":873},{"id":962,"depth":47,"text":963},{"id":1047,"depth":240,"text":1048,"children":1292},[1293],{"id":1146,"depth":47,"text":1147},{"id":1207,"depth":240,"text":1208},{"id":1239,"depth":240,"text":1240},"md",null,{},true,{"title":73,"description":74},"7DD3KIi1C7-lBaupE1ouJz-m7U89UgGCYPW-yLiKppw",1793792685864]