@konomi-app/kintone-utilities 6.1.0 → 6.2.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/index.cjs +13 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +744 -17
- package/dist/index.d.ts +744 -17
- package/dist/index.js +13 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1275,6 +1275,7 @@ var API_ENDPOINT_VIEWS = "app/views";
|
|
|
1275
1275
|
var API_ENDPOINT_FORM_FIELDS = "app/form/fields";
|
|
1276
1276
|
var API_ENDPOINT_FORM_LAYOUT = "app/form/layout";
|
|
1277
1277
|
var API_ENDPOINT_APP_SETTINGS = "app/settings";
|
|
1278
|
+
var API_ENDPOINT_STATUS = "app/status";
|
|
1278
1279
|
var getApp = async (params) => {
|
|
1279
1280
|
const { debug, guestSpaceId, ...requestParams } = params;
|
|
1280
1281
|
return api2({
|
|
@@ -1356,6 +1357,17 @@ var getAppSettings = async (params) => {
|
|
|
1356
1357
|
guestSpaceId
|
|
1357
1358
|
});
|
|
1358
1359
|
};
|
|
1360
|
+
var getAppStatus = async (params) => {
|
|
1361
|
+
const { app, lang = "default", preview = false, debug, guestSpaceId } = params;
|
|
1362
|
+
return api2({
|
|
1363
|
+
endpointName: API_ENDPOINT_STATUS,
|
|
1364
|
+
method: "GET",
|
|
1365
|
+
body: { app, lang },
|
|
1366
|
+
preview,
|
|
1367
|
+
debug,
|
|
1368
|
+
guestSpaceId
|
|
1369
|
+
});
|
|
1370
|
+
};
|
|
1359
1371
|
|
|
1360
1372
|
// src/rest-api/record.ts
|
|
1361
1373
|
var API_ENDPOINT_RECORD = `record`;
|
|
@@ -1957,11 +1969,7 @@ var useQuery = (conditions, options) => {
|
|
|
1957
1969
|
}
|
|
1958
1970
|
return mergedCondition;
|
|
1959
1971
|
};
|
|
1960
|
-
var chunk = (arr, size) => Array.from(
|
|
1961
|
-
{ length: Math.ceil(arr.length / size) },
|
|
1962
|
-
(_, i) => arr.slice(i * size, i * size + size)
|
|
1963
|
-
);
|
|
1964
1972
|
|
|
1965
|
-
export { API_LIMIT_POST, KintoneEventListener, KintoneEventManager, PluginLocalStorage, addAllRecords, addRecord, addRecordComment, addRecords, backdoor, backdoorGetRecord, bulkRequest,
|
|
1973
|
+
export { API_LIMIT_POST, KintoneEventListener, KintoneEventManager, PluginLocalStorage, addAllRecords, addRecord, addRecordComment, addRecords, backdoor, backdoorGetRecord, bulkRequest, compareField, convertFullwidthAlphanumericToHalfwidth, convertHalfwidthKatakanaToFullwidth, convertKatakanaToHiragana, createSpace, deleteAllRecords, deleteAllRecordsByQuery, deleteRecordComment, deleteSpace, detectGuestSpaceId, downloadFile, filterFieldProperties, getAllApps, getAllRecords, getAllRecordsWithCursor, getAllRecordsWithId, getApp, getAppCharts, getAppId, getAppObject, getAppSettings, getAppStatus, getCalcFieldValueAsString, getCurrentRecord, getCybozuGroupUsers, getCybozuGroups, getCybozuOrganizationUsers, getCybozuOrganizations, getCybozuUserGroups, getCybozuUserOrganizations, getCybozuUsers, getDefaultValue, getEmptyValue, getFieldElement, getFieldElements, getFieldValueAsString, getFormFields, getFormLayout, getHeaderSpace, getMetaFieldId_UNSTABLE, getMetaFields_UNSTABLE, getMetaSubtableFields_UNSTABLE, getMetaSubtable_UNSTABLE, getMetaTable_UNSTABLE, getNumberFieldValueAsString, getQuery, getQueryCondition, getQueryString_UNSTABLE, getRecord, getRecordACLEvaluate, getRecordComments, getRecordId, getRecords, getSortFromQuery, getSpace, getSpaceElement, getViews, getWareki, getYuruChara, isGuestSpace, isMobile, onFileLoad, restorePluginConfig, setCurrentRecord, setFieldShown, setPluginProxyConfig, sortField, storePluginConfig, storeStorage, updateAllRecordStatuses, updateAllRecords, updateRecord, updateRecordAssignees, updateRecordStatus, updateThread, updateViews, uploadFile, upsertRecord, useApi, useQuery, useSorting, withLogging, withMobileEvents, withSpaceIdFallback, xapp };
|
|
1966
1974
|
//# sourceMappingURL=index.js.map
|
|
1967
1975
|
//# sourceMappingURL=index.js.map
|