@perses-dev/splunk-plugin 0.1.0-beta.0 → 0.1.0-beta.2
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.
- package/__mf/js/Splunk.b0a1a443.js +7 -0
- package/__mf/js/async/121.0ceb8113.js +2 -0
- package/__mf/js/async/177.cb8089b8.js +1 -0
- package/__mf/js/async/181.4d01713c.js +2 -0
- package/__mf/js/async/386.da241588.js +2 -0
- package/__mf/js/async/470.e7f915b7.js +2 -0
- package/__mf/js/async/527.bf2bfc37.js +24 -0
- package/__mf/js/async/537.880623e7.js +1 -0
- package/__mf/js/async/66.27401ebb.js +7 -0
- package/__mf/js/async/842.3deffd96.js +1 -0
- package/__mf/js/async/905.1e0fbd81.js +139 -0
- package/__mf/js/async/941.693e183d.js +2 -0
- package/__mf/js/async/963.0f837958.js +1 -0
- package/__mf/js/async/982.e5647ac8.js +10 -0
- package/__mf/js/async/__federation_expose_SplunkDatasource.d65260ca.js +2 -0
- package/__mf/js/async/__federation_expose_SplunkLogQuery.bc89a361.js +2 -0
- package/__mf/js/async/__federation_expose_SplunkTimeSeriesQuery.073d1add.js +2 -0
- package/__mf/js/async/lib-router.31611676.js +2 -0
- package/__mf/js/async/{lib-router.1acd2c34.js.LICENSE.txt → lib-router.31611676.js.LICENSE.txt} +3 -3
- package/__mf/js/main.6b3c4bd1.js +7 -0
- package/mf-manifest.json +43 -43
- package/mf-stats.json +43 -43
- package/package.json +5 -4
- package/__mf/js/Splunk.d622dd09.js +0 -7
- package/__mf/js/async/121.444e1abe.js +0 -2
- package/__mf/js/async/177.cfdf2ea5.js +0 -1
- package/__mf/js/async/181.fee3676d.js +0 -2
- package/__mf/js/async/278.171d6548.js +0 -24
- package/__mf/js/async/386.9514a8a7.js +0 -2
- package/__mf/js/async/413.0cd939f5.js +0 -1
- package/__mf/js/async/470.3f481d24.js +0 -2
- package/__mf/js/async/667.bb282078.js +0 -1
- package/__mf/js/async/7.ed3f1592.js +0 -7
- package/__mf/js/async/732.69245394.js +0 -139
- package/__mf/js/async/941.8fe72889.js +0 -2
- package/__mf/js/async/963.f1d8b579.js +0 -1
- package/__mf/js/async/982.8a88a864.js +0 -10
- package/__mf/js/async/__federation_expose_SplunkDatasource.f30e66ce.js +0 -2
- package/__mf/js/async/__federation_expose_SplunkLogQuery.df0414d6.js +0 -2
- package/__mf/js/async/__federation_expose_SplunkTimeSeriesQuery.fa50234a.js +0 -2
- package/__mf/js/async/lib-router.1acd2c34.js +0 -2
- package/__mf/js/main.39e2a771.js +0 -7
- /package/__mf/css/async/{7.85c2cbf6.css → 66.85c2cbf6.css} +0 -0
- /package/__mf/js/async/{121.444e1abe.js.LICENSE.txt → 121.0ceb8113.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{181.fee3676d.js.LICENSE.txt → 181.4d01713c.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{386.9514a8a7.js.LICENSE.txt → 386.da241588.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{470.3f481d24.js.LICENSE.txt → 470.e7f915b7.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{278.171d6548.js.LICENSE.txt → 527.bf2bfc37.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{7.ed3f1592.js.LICENSE.txt → 66.27401ebb.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{732.69245394.js.LICENSE.txt → 905.1e0fbd81.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{941.8fe72889.js.LICENSE.txt → 941.693e183d.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{982.8a88a864.js.LICENSE.txt → 982.e5647ac8.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{__federation_expose_SplunkDatasource.f30e66ce.js.LICENSE.txt → __federation_expose_SplunkDatasource.d65260ca.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{__federation_expose_SplunkLogQuery.df0414d6.js.LICENSE.txt → __federation_expose_SplunkLogQuery.bc89a361.js.LICENSE.txt} +0 -0
- /package/__mf/js/async/{__federation_expose_SplunkTimeSeriesQuery.fa50234a.js.LICENSE.txt → __federation_expose_SplunkTimeSeriesQuery.073d1add.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.chunk_Splunk=self.chunk_Splunk||[]).push([["537"],{42648(e,t,a){async function o(...e){let t=await globalThis.fetch(...e);if(!1===t.ok){let e=t.headers.get("content-type");if(e?.includes("application/json")){let e=await t.clone().json();if(e.error)throw new l(e.error,t.status);if(e.message)throw new l(e.message,t.status)}let a=await t.clone().text();if(a)throw new l(a,t.status);throw new n(t)}return t}async function s(...e){let t=await o(...e);if(!t.ok)throw new n(t);return await t.json()}a.r(t),a.d(t,{KINDS:()=>i,oauthProvidersSchema:()=>F,globalDatasourceSchema:()=>j,nativeProviderSchema:()=>O,datasourceDefinitionSchema:()=>y,UserFriendlyError:()=>l,getVariableProject:()=>p,fetch:()=>o,fetchJson:()=>s,secretSpecSchema:()=>G,GLOBAL_SCOPES:()=>m,secretSchema:()=>q,userSpecSchema:()=>R,DEFAULT_ALL_VALUE:()=>"$__all",globalRoleSchema:()=>_,roleBindingsEditorSchema:()=>C,rolesEditorSchema:()=>A,roleBindingSchema:()=>x,getMetadataProject:()=>r,roleBindingSpecSchema:()=>V,nameSchema:()=>S,projectMetadataSchema:()=>g,roleSchema:()=>v,datasourceSchema:()=>k,datasourcesSchema:()=>I,PROJECT_SCOPES:()=>u,userSchema:()=>w,FetchError:()=>n,metadataSchema:()=>b,buildDatasourceDefinitionSchema:()=>Y,globalRoleBindingSchema:()=>L,roleSpecSchema:()=>M,secretsEditorSchema:()=>E,ACTIONS:()=>d,isProjectMetadata:()=>c,globalSecretSchema:()=>P,subjectSchema:()=>U,permissionSchema:()=>B});class n extends Error{status;constructor(e){super(`${e.status} ${e.statusText}`),this.status=e.status,Object.setPrototypeOf(this,n.prototype)}}class l extends Error{status;constructor(e,t){super(e),this.status=t,Object.setPrototypeOf(this,l.prototype)}}let i=["Dashboard","Datasource","EphemeralDashboard","Folder","GlobalDatasource","GlobalRole","GlobalRoleBinding","GlobalSecret","GlobalVariable","Project","Role","RoleBinding","Secret","User","Variable"];function c(e){return"project"in e}function r(e){return"project"in e?e.project:void 0}let d=["*","create","read","update","delete"],u=["*","Dashboard","Datasource","EphemeralDashboard","Folder","Project","Role","RoleBinding","Secret","Variable"],m=["GlobalDatasource","GlobalRole","GlobalRoleBinding","GlobalSecret","GlobalVariable","User"];function p(e){return"project"in e.metadata?e.metadata.project:void 0}var h=a(40625),f=a(59140);let S=f.Yj().min(1,"Required").max(75,"Must be 75 or fewer characters long").regex(/^[a-zA-Z0-9_.-]+$/,"Must only contains alphanumerical characters and special characters _ . -"),b=f.Ik({name:S}),g=b.extend({project:S}),k=f.Ik({kind:f.eu("Datasource"),metadata:g,spec:h.datasourceSpecSchema}),j=f.Ik({kind:f.eu("GlobalDatasource"),metadata:b,spec:h.datasourceSpecSchema}),I=f.gM("kind",[k,j]),y=f.Ik({name:f.Yj().min(1),spec:h.datasourceSpecSchema});function Y(e){return f.Ik({name:f.Yj().min(1),spec:(0,h.buildDatasourceSpecSchema)(e)})}let O=f.Ik({password:f.Yj().optional()}),F=f.Ik({issuer:f.Yj().optional(),email:f.Yj().optional(),subject:f.Yj().optional()}),R=f.Ik({firstName:f.Yj().optional(),lastName:f.Yj().optional(),nativeProvider:O.optional(),oauthProviders:f.YO(F).optional()}),w=f.Ik({kind:f.eu("User"),metadata:b,spec:R});var D=a(37830);let G=f.Ik({basicAuth:f.Ik({username:f.Yj().min(1),password:f.Yj().optional(),passwordFile:f.Yj().optional()}).superRefine((e,t)=>{e.password&&e.password.length>0&&e.passwordFile&&e.passwordFile.length>0&&(t.addIssue({code:D.eq.custom,message:"Only one of the fields must be defined",path:["password"]}),t.addIssue({code:D.eq.custom,message:"Only one of the fields must be defined",path:["passwordFile"]}))}).optional(),authorization:f.Ik({type:f.Yj().optional(),credentials:f.Yj().optional(),credentialsFile:f.Yj().optional()}).superRefine((e,t)=>{e.credentials&&e.credentials.length>0&&e.credentialsFile&&e.credentialsFile.length>0&&(t.addIssue({code:D.eq.custom,message:"Only one of the fields must be defined",path:["credentials"]}),t.addIssue({code:D.eq.custom,message:"Only one of the fields must be defined",path:["credentialsFile"]}))}).optional(),oauth:f.Ik({clientID:f.Yj().min(1),clientSecret:f.Yj().optional(),clientSecretFile:f.Yj().optional(),tokenURL:f.Yj().min(1),scopes:f.YO(f.Yj().nonempty()).default([]),endpointParams:f.g1(f.Yj().nonempty(),f.YO(f.Yj())).default({}).optional(),authStyle:f.KC([f.eu(0),f.eu(1),f.eu(2)]).optional()}).superRefine((e,t)=>{e.clientSecret&&e.clientSecret.length>0&&e.clientSecretFile&&e.clientSecretFile.length>0&&(t.addIssue({code:D.eq.custom,message:"Only one of the fields must be defined",path:["clientSecret"]}),t.addIssue({code:D.eq.custom,message:"Only one of the fields must be defined",path:["clientSecretFile"]}))}).optional(),tlsConfig:f.Ik({ca:f.Yj().optional(),cert:f.Yj().optional(),key:f.Yj().optional(),caFile:f.Yj().optional(),certFile:f.Yj().optional(),keyFile:f.Yj().optional(),serverName:f.Yj().optional(),insecureSkipVerify:f.zM().optional()}).superRefine((e,t)=>{e.ca&&e.ca.length>0&&e.caFile&&e.caFile.length>0&&(t.addIssue({code:D.eq.custom,message:"Only one of the fields must be defined",path:["ca"]}),t.addIssue({code:D.eq.custom,message:"Only one of the fields must be defined",path:["caFile"]})),e.cert&&e.cert.length>0&&e.certFile&&e.certFile.length>0&&(t.addIssue({code:D.eq.custom,message:"Only one of the fields must be defined",path:["cert"]}),t.addIssue({code:D.eq.custom,message:"Only one of the fields must be defined",path:["certFile"]})),e.key&&e.key.length>0&&e.keyFile&&e.keyFile.length>0&&(t.addIssue({code:D.eq.custom,message:"Only one of the fields must be defined",path:["key"]}),t.addIssue({code:D.eq.custom,message:"Only one of the fields must be defined",path:["keyFile"]}))}).optional()}).superRefine((e,t)=>{e.basicAuth&&e.authorization&&e.oauth&&(t.addIssue({code:D.eq.custom,message:"Only one of the fields must be defined",path:["basicAuth"]}),t.addIssue({code:D.eq.custom,message:"Only one of the fields must be defined",path:["authorization"]}),t.addIssue({code:D.eq.custom,message:"Only one of the fields must be defined",path:["oauth"]}))}),q=f.Ik({kind:f.eu("Secret"),metadata:g,spec:G}),P=f.Ik({kind:f.eu("GlobalSecret"),metadata:b,spec:G}),E=f.gM("kind",[q,P]),B=f.Ik({actions:f.YO(f.k5(["*","create","read","update","delete"])).nonempty("Must contains at least 1 action"),scopes:f.YO(f.k5(["*","Dashboard","Datasource","EphemeralDashboard","Folder","GlobalDatasource","GlobalRole","GlobalRoleBinding","GlobalSecret","GlobalVariable","Project","Role","RoleBinding","Secret","User","Variable"])).nonempty("Must contains at least 1 scope")}),M=f.Ik({permissions:f.YO(B)}),v=f.Ik({kind:f.eu("Role"),metadata:g,spec:M}),_=f.Ik({kind:f.eu("GlobalRole"),metadata:b,spec:M}),A=f.gM("kind",[v,_]),U=f.Ik({kind:f.k5(["User"]),name:S}),V=f.Ik({role:S,subjects:f.YO(U).nonempty()}),x=f.Ik({kind:f.eu("RoleBinding"),metadata:g,spec:V}),L=f.Ik({kind:f.eu("GlobalRoleBinding"),metadata:b,spec:V}),C=f.gM("kind",[x,L])}}]);
|