@budibase/frontend-core 3.12.0 → 3.12.1

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 (2) hide show
  1. package/package.json +2 -2
  2. package/src/api/app.ts +0 -24
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@budibase/frontend-core",
3
- "version": "3.12.0",
3
+ "version": "3.12.1",
4
4
  "description": "Budibase frontend core libraries used in builder and client",
5
5
  "author": "Budibase",
6
6
  "license": "MPL-2.0",
@@ -17,5 +17,5 @@
17
17
  "shortid": "2.2.15",
18
18
  "socket.io-client": "^4.7.5"
19
19
  },
20
- "gitHead": "4d3f7719ab1ae02d3d01908b8a14a31a0c81445d"
20
+ "gitHead": "ddbf7f3d2ba1a57923aff162a8bfb737f37eec20"
21
21
  }
package/src/api/app.ts CHANGED
@@ -18,8 +18,6 @@ import {
18
18
  PublishAppResponse,
19
19
  RevertAppClientResponse,
20
20
  RevertAppResponse,
21
- SetRevertableAppVersionRequest,
22
- SetRevertableAppVersionResponse,
23
21
  SyncAppResponse,
24
22
  UnpublishAppResponse,
25
23
  UpdateAppClientResponse,
@@ -56,10 +54,6 @@ export interface AppEndpoints {
56
54
  fetchComponentLibDefinitions: (
57
55
  appId: string
58
56
  ) => Promise<FetchAppDefinitionResponse>
59
- setRevertableVersion: (
60
- appId: string,
61
- revertableVersion: string
62
- ) => Promise<SetRevertableAppVersionResponse>
63
57
  addSampleData: (appId: string) => Promise<AddAppSampleDataResponse>
64
58
 
65
59
  // Missing request or response types
@@ -267,22 +261,4 @@ export const buildAppEndpoints = (API: BaseAPIClient): AppEndpoints => ({
267
261
  url: `/api/applications/${appId}/sample`,
268
262
  })
269
263
  },
270
-
271
- /**
272
- * Sets the revertable version of an app.
273
- * Used when manually reverting to older client versions.
274
- * @param appId the app ID
275
- * @param revertableVersion the version number
276
- */
277
- setRevertableVersion: async (appId, revertableVersion) => {
278
- return await API.post<
279
- SetRevertableAppVersionRequest,
280
- SetRevertableAppVersionResponse
281
- >({
282
- url: `/api/applications/${appId}/setRevertableVersion`,
283
- body: {
284
- revertableVersion,
285
- },
286
- })
287
- },
288
264
  })