skapi-js 1.5.0-beta.8 → 1.5.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/skapi.browser.mjs +290 -0
- package/dist/skapi.browser.mjs.map +1 -0
- package/dist/skapi.cjs +6 -6
- package/dist/skapi.cjs.map +1 -1
- package/dist/skapi.d.mts +4 -3
- package/dist/skapi.d.ts +4 -3
- package/dist/skapi.js +6 -6
- package/dist/skapi.js.map +1 -1
- package/dist/skapi.mjs +6 -6
- package/dist/skapi.mjs.map +1 -1
- package/package.json +3 -3
package/dist/skapi.d.mts
CHANGED
|
@@ -72,7 +72,7 @@ type GetRecordQuery = {
|
|
|
72
72
|
};
|
|
73
73
|
type PostRecordConfig = {
|
|
74
74
|
record_id?: string;
|
|
75
|
-
unique_id?: string;
|
|
75
|
+
unique_id?: string | null;
|
|
76
76
|
readonly?: boolean;
|
|
77
77
|
/** Table name not required when "record_id" is given.*/
|
|
78
78
|
table?: {
|
|
@@ -87,7 +87,7 @@ type PostRecordConfig = {
|
|
|
87
87
|
notify_subscribers?: boolean;
|
|
88
88
|
feed_referencing_records?: boolean;
|
|
89
89
|
notify_referencing_records?: boolean;
|
|
90
|
-
};
|
|
90
|
+
} | null;
|
|
91
91
|
};
|
|
92
92
|
source?: {
|
|
93
93
|
referencing_limit?: number;
|
|
@@ -106,7 +106,7 @@ type PostRecordConfig = {
|
|
|
106
106
|
allow_granted_to_grant_others?: boolean;
|
|
107
107
|
};
|
|
108
108
|
/** Can be record ID or unique ID */
|
|
109
|
-
reference?: string;
|
|
109
|
+
reference?: string | null;
|
|
110
110
|
/** null removes index */
|
|
111
111
|
index?: {
|
|
112
112
|
/** Max 128 chars, cannot start with "$", blocks / ! * #, control chars, and sentinel . */
|
|
@@ -1502,6 +1502,7 @@ declare class Skapi {
|
|
|
1502
1502
|
group: number | 'public' | 'authorized' | 'admin';
|
|
1503
1503
|
redirect?: string;
|
|
1504
1504
|
}>): Promise<string>;
|
|
1505
|
+
bulkPostRecords(config: PostRecordConfig): Promise<RecordData[]>;
|
|
1505
1506
|
}
|
|
1506
1507
|
|
|
1507
1508
|
declare class SkapiError extends Error {
|
package/dist/skapi.d.ts
CHANGED
|
@@ -72,7 +72,7 @@ type GetRecordQuery = {
|
|
|
72
72
|
};
|
|
73
73
|
type PostRecordConfig = {
|
|
74
74
|
record_id?: string;
|
|
75
|
-
unique_id?: string;
|
|
75
|
+
unique_id?: string | null;
|
|
76
76
|
readonly?: boolean;
|
|
77
77
|
/** Table name not required when "record_id" is given.*/
|
|
78
78
|
table?: {
|
|
@@ -87,7 +87,7 @@ type PostRecordConfig = {
|
|
|
87
87
|
notify_subscribers?: boolean;
|
|
88
88
|
feed_referencing_records?: boolean;
|
|
89
89
|
notify_referencing_records?: boolean;
|
|
90
|
-
};
|
|
90
|
+
} | null;
|
|
91
91
|
};
|
|
92
92
|
source?: {
|
|
93
93
|
referencing_limit?: number;
|
|
@@ -106,7 +106,7 @@ type PostRecordConfig = {
|
|
|
106
106
|
allow_granted_to_grant_others?: boolean;
|
|
107
107
|
};
|
|
108
108
|
/** Can be record ID or unique ID */
|
|
109
|
-
reference?: string;
|
|
109
|
+
reference?: string | null;
|
|
110
110
|
/** null removes index */
|
|
111
111
|
index?: {
|
|
112
112
|
/** Max 128 chars, cannot start with "$", blocks / ! * #, control chars, and sentinel . */
|
|
@@ -1502,6 +1502,7 @@ declare class Skapi {
|
|
|
1502
1502
|
group: number | 'public' | 'authorized' | 'admin';
|
|
1503
1503
|
redirect?: string;
|
|
1504
1504
|
}>): Promise<string>;
|
|
1505
|
+
bulkPostRecords(config: PostRecordConfig): Promise<RecordData[]>;
|
|
1505
1506
|
}
|
|
1506
1507
|
|
|
1507
1508
|
declare class SkapiError extends Error {
|