windmill-client 1.172.1 → 1.174.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.
package/dist/core/OpenAPI.js
CHANGED
|
@@ -124,6 +124,15 @@ export declare class AppService {
|
|
|
124
124
|
workspace: string;
|
|
125
125
|
path: string;
|
|
126
126
|
}): CancelablePromise<AppWithLastVersion>;
|
|
127
|
+
/**
|
|
128
|
+
* get public resource
|
|
129
|
+
* @returns any resource value
|
|
130
|
+
* @throws ApiError
|
|
131
|
+
*/
|
|
132
|
+
static getPublicResource({ workspace, path, }: {
|
|
133
|
+
workspace: string;
|
|
134
|
+
path: string;
|
|
135
|
+
}): CancelablePromise<any>;
|
|
127
136
|
/**
|
|
128
137
|
* get public secret of app
|
|
129
138
|
* @returns string app secret
|
|
@@ -128,6 +128,21 @@ class AppService {
|
|
|
128
128
|
},
|
|
129
129
|
});
|
|
130
130
|
}
|
|
131
|
+
/**
|
|
132
|
+
* get public resource
|
|
133
|
+
* @returns any resource value
|
|
134
|
+
* @throws ApiError
|
|
135
|
+
*/
|
|
136
|
+
static getPublicResource({ workspace, path, }) {
|
|
137
|
+
return (0, request_1.request)(OpenAPI_1.OpenAPI, {
|
|
138
|
+
method: 'GET',
|
|
139
|
+
url: '/w/{workspace}/apps_u/public_resource/{path}',
|
|
140
|
+
path: {
|
|
141
|
+
'workspace': workspace,
|
|
142
|
+
'path': path,
|
|
143
|
+
},
|
|
144
|
+
});
|
|
145
|
+
}
|
|
131
146
|
/**
|
|
132
147
|
* get public secret of app
|
|
133
148
|
* @returns string app secret
|