Skip to content

Instantly share code, notes, and snippets.

@itsbalvant
itsbalvant / bundle.js
Created October 5, 2025 07:30
cacheract poc
This file has been truncated, but you can view the full file.
/*! For license information please see bundle.js.LICENSE.txt */
(()=>{var e,t,r={9859:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CacheService=t.GetCacheEntryDownloadURLResponse=t.GetCacheEntryDownloadURLRequest=t.FinalizeCacheEntryUploadResponse=t.FinalizeCacheEntryUploadRequest=t.CreateCacheEntryResponse=t.CreateCacheEntryRequest=void 0;const s=r(8003),n=r(7764),i=r(7764),o=r(7764),a=r(7764),c=r(7764),A=r(3673);class l extends c.MessageType{constructor(){super("github.actions.results.api.v1.CreateCacheEntryRequest",[{no:1,name:"metadata",kind:"message",T:()=>A.CacheMetadata},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"version",kind:"scalar",T:9}])}create(e){const t={key:"",version:""};return globalThis.Object.defineProperty(t,a.MESSAGE_TYPE,{enumerable:!1,value:this}),void 0!==e&&(0,o.reflectionMergePartial)(this,t,e),t}internalBinaryRead(e,t,r,s){let n=null!=s?s:this.create(),o=e.pos+t;for(;e.pos<o;){let[t,s]=e.tag();switch(t){case 1:n.metadata=A.CacheMetadata.internalBina