nestlens 0.3.4 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/__tests__/watchers/job.watcher.spec.js +330 -0
  2. package/dist/__tests__/watchers/job.watcher.spec.js.map +1 -1
  3. package/dist/dashboard/public/assets/{BatchesPage-CBuvtLok.js → BatchesPage-DmqbLFCs.js} +1 -1
  4. package/dist/dashboard/public/assets/{CachePage-CVI2MWOP.js → CachePage-CfA-UrdM.js} +1 -1
  5. package/dist/dashboard/public/assets/{ClickableBadge-BFhMLE2u.js → ClickableBadge-CW4jdcpl.js} +1 -1
  6. package/dist/dashboard/public/assets/{CommandsPage-CpXlDpH2.js → CommandsPage-DJ1ZxHj8.js} +1 -1
  7. package/dist/dashboard/public/assets/{DashboardPage-DBq9olrb.js → DashboardPage-BnnZ3TMF.js} +1 -1
  8. package/dist/dashboard/public/assets/{DumpsPage-CvCmvONu.js → DumpsPage-fshG-ETf.js} +1 -1
  9. package/dist/dashboard/public/assets/EntryDetailPage-Cf7K34er.js +130 -0
  10. package/dist/dashboard/public/assets/{EventsPage-B__c8fMG.js → EventsPage-DiPB0Sfy.js} +1 -1
  11. package/dist/dashboard/public/assets/{ExceptionsPage-gYd6g1uV.js → ExceptionsPage-BoauuDFu.js} +1 -1
  12. package/dist/dashboard/public/assets/{GatesPage-CY-lCHBF.js → GatesPage-CB0kqyp_.js} +1 -1
  13. package/dist/dashboard/public/assets/{GraphQLPage-45EotnyF.js → GraphQLPage-_inMfKh4.js} +1 -1
  14. package/dist/dashboard/public/assets/{HttpClientPage-B504GqrK.js → HttpClientPage-5vVzz7TU.js} +1 -1
  15. package/dist/dashboard/public/assets/{JobsPage-BCaWNqRu.js → JobsPage-CHYjmhlh.js} +1 -1
  16. package/dist/dashboard/public/assets/{LogsPage-4QbIACro.js → LogsPage-z4yYJ1qQ.js} +1 -1
  17. package/dist/dashboard/public/assets/{MailPage-rwNbPrlt.js → MailPage-DQ2PuRS9.js} +1 -1
  18. package/dist/dashboard/public/assets/ModelsPage-PBBI9K5M.js +1 -0
  19. package/dist/dashboard/public/assets/{NotificationsPage-CHkJmY88.js → NotificationsPage-CjleWNhr.js} +1 -1
  20. package/dist/dashboard/public/assets/{PageHeader-FW-7_zU_.js → PageHeader-QBzFo308.js} +1 -1
  21. package/dist/dashboard/public/assets/{QueriesPage-Cq_dTmNR.js → QueriesPage-Cpi1b2Mz.js} +1 -1
  22. package/dist/dashboard/public/assets/{RedisPage-WyIqRY51.js → RedisPage-C7vFV3r4.js} +1 -1
  23. package/dist/dashboard/public/assets/{RequestsPage-Ddf6EpBe.js → RequestsPage-B9-Qq2vH.js} +1 -1
  24. package/dist/dashboard/public/assets/{SchedulePage-Bnj6BP7j.js → SchedulePage-BXPldddV.js} +1 -1
  25. package/dist/dashboard/public/assets/{ViewsPage-DgdMD9iC.js → ViewsPage-COo7BNBc.js} +1 -1
  26. package/dist/dashboard/public/assets/{calendar-C6HprwOI.js → calendar-WMtbNas7.js} +1 -1
  27. package/dist/dashboard/public/assets/{circle-check-big-cy9U-hu6.js → circle-check-big-U-4nHjTQ.js} +1 -1
  28. package/dist/dashboard/public/assets/{eye-D01Pihl7.js → eye-Bc29awES.js} +1 -1
  29. package/dist/dashboard/public/assets/{index-yKzNgrAF.js → index-C8he4ZUV.js} +2 -2
  30. package/dist/dashboard/public/assets/{types-CvWsUZ4q.js → types-BYamMo0R.js} +1 -1
  31. package/dist/dashboard/public/assets/{zap-DOqgN4r4.js → zap-BxD9CCmf.js} +1 -1
  32. package/dist/dashboard/public/index.html +1 -1
  33. package/dist/watchers/graphql/adapters/base.adapter.d.ts.map +1 -1
  34. package/dist/watchers/graphql/adapters/base.adapter.js +5 -1
  35. package/dist/watchers/graphql/adapters/base.adapter.js.map +1 -1
  36. package/dist/watchers/job.watcher.d.ts +24 -0
  37. package/dist/watchers/job.watcher.d.ts.map +1 -1
  38. package/dist/watchers/job.watcher.js +123 -0
  39. package/dist/watchers/job.watcher.js.map +1 -1
  40. package/package.json +1 -1
  41. package/dist/dashboard/public/assets/EntryDetailPage-DYSZpdsH.js +0 -125
  42. package/dist/dashboard/public/assets/ModelsPage-Jc7WSrV2.js +0 -1
@@ -1 +0,0 @@
1
- import{j as a,b as d}from"./index-yKzNgrAF.js";import{e as v,b as M}from"./vendor-B2nVRih0.js";import{u as P,C as l,f as A,p as D}from"./ClickableBadge-BFhMLE2u.js";import{u as F,P as R,N as T,L as B}from"./PageHeader-FW-7_zU_.js";import{n as L,T as o,D as H,b as S}from"./types-CvWsUZ4q.js";function G(){const c=v(),{addFilter:r,clearAll:p,serverFilters:u,headerFilters:h,hasFilters:x}=P("models"),{entries:m,loading:g,refreshing:s,newEntriesCount:y,hasMore:f,loadMore:j,loadNew:C,autoRefreshEnabled:k,setAutoRefresh:w,meta:i,isHighlighted:N}=F({type:"model",limit:50,filters:u}),n=m.filter(e=>L(e)),b=M.useMemo(()=>[{key:"action",header:"Action",width:"120px",render:e=>a.jsx(l,{onClick:t=>{t.stopPropagation(),r("actions",e.payload.action)},children:e.payload.action.toUpperCase()})},{key:"entity",header:"Entity",width:"150px",render:e=>a.jsx(l,{onClick:t=>{t.stopPropagation(),r("entities",e.payload.entity)},className:"font-mono",children:e.payload.entity})},{key:"source",header:"Source",width:"150px",render:e=>e.payload.source?a.jsx(l,{onClick:t=>{t.stopPropagation(),r("sources",e.payload.source)},className:"font-mono text-xs",children:e.payload.source}):a.jsx(o,{secondary:!0,children:"-"})},{key:"duration",header:"Duration",width:"100px",align:"right",render:e=>a.jsx(H,{ms:e.payload.duration||0})},{key:"records",header:"Records",width:"80px",align:"center",render:e=>e.payload.records!==void 0?a.jsx(o,{children:e.payload.records}):a.jsx(o,{secondary:!0,children:"-"})},{key:"time",header:"Time",width:"170px",align:"right",render:e=>a.jsx(o,{secondary:!0,className:"text-xs",children:A(D(e.createdAt),{addSuffix:!0})})}],[r]);if(g&&n.length===0)return a.jsx("div",{className:"flex items-center justify-center h-64",role:"status","aria-label":"Loading...",children:a.jsx("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-primary-600"})});const E=x?"pt-28":"pt-16";return a.jsxs("div",{children:[a.jsx(R,{title:"Models",icon:d,iconColor:"text-purple-600 dark:text-purple-400",count:n.length,totalCount:i==null?void 0:i.total,refreshing:s,autoRefreshEnabled:k,onAutoRefreshToggle:w,filters:h,onClearAllFilters:p}),a.jsxs("div",{className:`${E} space-y-4 transition-all duration-200`,children:[a.jsx(T,{count:y,onClick:C,loading:s}),a.jsx(S,{columns:b,data:n,keyExtractor:e=>e.id,onRowClick:e=>c(`/models/${e.id}`),rowClassName:e=>N(e.id)?"highlight-new":"",emptyMessage:"No model events recorded yet",emptyIcon:a.jsx(d,{className:"h-8 w-8 text-gray-400 dark:text-gray-500"})}),a.jsx(B,{hasMore:f,onClick:j,loading:s})]})]})}export{G as default};