@budibase/types 3.2.11 → 3.2.16
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/api/web/app/view.d.ts +3 -0
- package/dist/documents/app/view.d.ts +3 -0
- package/dist/documents/global/quotas.d.ts +0 -1
- package/dist/documents/global/user.d.ts +0 -1
- package/dist/documents/pouch.d.ts +1 -1
- package/dist/index.js +0 -2
- package/dist/index.js.map +2 -2
- package/dist/index.js.meta.json +1 -1
- package/dist/sdk/datasources.d.ts +2 -2
- package/dist/sdk/db.d.ts +2 -2
- package/dist/sdk/licensing/plan.d.ts +1 -3
- package/dist/sdk/licensing/quota.d.ts +0 -2
- package/dist/sdk/search.d.ts +12 -7
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -6,6 +6,9 @@ export interface ViewResponse {
|
|
|
6
6
|
export interface ViewResponseEnriched {
|
|
7
7
|
data: ViewV2Enriched;
|
|
8
8
|
}
|
|
9
|
+
export interface ViewFetchResponseEnriched {
|
|
10
|
+
data: ViewV2Enriched[];
|
|
11
|
+
}
|
|
9
12
|
export interface CreateViewRequest extends Omit<ViewV2, "version" | "id"> {
|
|
10
13
|
}
|
|
11
14
|
export interface UpdateViewRequest extends ViewV2 {
|
|
@@ -75,6 +75,9 @@ export interface ViewV2 {
|
|
|
75
75
|
};
|
|
76
76
|
schema?: ViewV2Schema;
|
|
77
77
|
}
|
|
78
|
+
export interface PublicAPIView extends Omit<ViewV2, "query" | "queryUI"> {
|
|
79
|
+
query?: UISearchFilter;
|
|
80
|
+
}
|
|
78
81
|
export type ViewV2Schema = Record<string, ViewFieldMetadata>;
|
|
79
82
|
export type ViewSchema = ViewCountOrSumSchema | ViewStatisticsSchema;
|
|
80
83
|
export interface ViewCountOrSumSchema {
|
|
@@ -30,7 +30,6 @@ export interface StaticUsage {
|
|
|
30
30
|
export interface MonthlyUsage {
|
|
31
31
|
[MonthlyQuotaName.QUERIES]: number;
|
|
32
32
|
[MonthlyQuotaName.AUTOMATIONS]: number;
|
|
33
|
-
[MonthlyQuotaName.DAY_PASSES]: number;
|
|
34
33
|
[MonthlyQuotaName.BUDIBASE_AI_CREDITS]: number;
|
|
35
34
|
triggers: {
|
|
36
35
|
[key in MonthlyQuotaName]?: QuotaTriggers;
|
package/dist/index.js
CHANGED
|
@@ -537,7 +537,6 @@ var PriceDuration = /* @__PURE__ */ ((PriceDuration2) => {
|
|
|
537
537
|
var PlanModel = /* @__PURE__ */ ((PlanModel2) => {
|
|
538
538
|
PlanModel2["PER_USER"] = "perUser";
|
|
539
539
|
PlanModel2["PER_CREATOR_PER_USER"] = "per_creator_per_user";
|
|
540
|
-
PlanModel2["DAY_PASS"] = "dayPass";
|
|
541
540
|
return PlanModel2;
|
|
542
541
|
})(PlanModel || {});
|
|
543
542
|
|
|
@@ -565,7 +564,6 @@ var StaticQuotaName = /* @__PURE__ */ ((StaticQuotaName2) => {
|
|
|
565
564
|
var MonthlyQuotaName = /* @__PURE__ */ ((MonthlyQuotaName2) => {
|
|
566
565
|
MonthlyQuotaName2["QUERIES"] = "queries";
|
|
567
566
|
MonthlyQuotaName2["AUTOMATIONS"] = "automations";
|
|
568
|
-
MonthlyQuotaName2["DAY_PASSES"] = "dayPasses";
|
|
569
567
|
MonthlyQuotaName2["BUDIBASE_AI_CREDITS"] = "budibaseAICredits";
|
|
570
568
|
return MonthlyQuotaName2;
|
|
571
569
|
})(MonthlyQuotaName || {});
|