@postonus/cli 0.1.19 → 0.1.20
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.js +9 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8915,7 +8915,6 @@ var ScheduleListCursorOutputSchema = object({ scheduledAt: Timestamp, id: string
|
|
|
8915
8915
|
var ListSchedulesInputSchema = object({
|
|
8916
8916
|
startDate: string2().optional(),
|
|
8917
8917
|
endDate: string2().optional(),
|
|
8918
|
-
view: _enum(["month", "week", "agenda"]).default("agenda"),
|
|
8919
8918
|
limit: coerce_exports.number().int().min(10).max(100).default(20),
|
|
8920
8919
|
cursor: ScheduleListCursorInputSchema.optional(),
|
|
8921
8920
|
direction: _enum(["forward", "backward"]).default("forward"),
|
|
@@ -8925,13 +8924,19 @@ var ListSchedulesInputSchema = object({
|
|
|
8925
8924
|
// existed. `posts.ts` already types the equivalent filters this way.
|
|
8926
8925
|
platforms: array(PlatformSchema).optional(),
|
|
8927
8926
|
statuses: array(_enum(SCHEDULE_STATUS_VALUES)).optional(),
|
|
8928
|
-
integrationIds: array(string2()).optional()
|
|
8927
|
+
integrationIds: array(string2()).optional(),
|
|
8928
|
+
search: string2().trim().min(1).max(200).optional(),
|
|
8929
|
+
tagIds: array(Uuid).optional(),
|
|
8930
|
+
approvalStatuses: array(_enum(APPROVAL_STATUS_VALUES2)).optional()
|
|
8929
8931
|
});
|
|
8930
8932
|
var CountSchedulesInputSchema = object({
|
|
8931
8933
|
startDate: string2().optional(),
|
|
8932
8934
|
endDate: string2().optional(),
|
|
8933
8935
|
platforms: array(PlatformSchema).optional(),
|
|
8934
|
-
integrationIds: array(string2()).optional()
|
|
8936
|
+
integrationIds: array(string2()).optional(),
|
|
8937
|
+
search: string2().trim().min(1).max(200).optional(),
|
|
8938
|
+
tagIds: array(Uuid).optional(),
|
|
8939
|
+
approvalStatuses: array(_enum(APPROVAL_STATUS_VALUES2)).optional()
|
|
8935
8940
|
});
|
|
8936
8941
|
var GetScheduleByIdInputSchema = object({ id: Uuid, postId: Uuid });
|
|
8937
8942
|
var DeleteScheduleInputSchema = object({
|
|
@@ -12099,7 +12104,7 @@ function formatTable(headers, rows) {
|
|
|
12099
12104
|
}
|
|
12100
12105
|
|
|
12101
12106
|
// src/version.ts
|
|
12102
|
-
var CLI_VERSION = "0.1.
|
|
12107
|
+
var CLI_VERSION = "0.1.20";
|
|
12103
12108
|
|
|
12104
12109
|
// src/client.ts
|
|
12105
12110
|
var DEVICE_CODE_GRANT_TYPE = "urn:ietf:params:oauth:grant-type:device_code";
|
|
@@ -13073,7 +13078,6 @@ async function listQueue(options) {
|
|
|
13073
13078
|
try {
|
|
13074
13079
|
const result = await api.schedules.list({
|
|
13075
13080
|
limit,
|
|
13076
|
-
view: "agenda",
|
|
13077
13081
|
direction: "forward",
|
|
13078
13082
|
platforms: platforms.length > 0 ? platforms : void 0,
|
|
13079
13083
|
// Default to what "queue" means to a user: not-yet-published work.
|