@bigfootai/bigfoot-types 2.12.5 → 2.12.6

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/model.ts +37 -15
  2. package/package.json +1 -1
package/model.ts CHANGED
@@ -1271,7 +1271,7 @@ export class Table extends BusinessObject {
1271
1271
 
1272
1272
  // API OBJECTS START
1273
1273
  export const FindArticleInputQL = `
1274
- type FindArticleInput {
1274
+ input FindArticleInput {
1275
1275
  originBlockId: String!
1276
1276
  type: String!
1277
1277
  }`;
@@ -1281,7 +1281,7 @@ export interface FindArticleInput {
1281
1281
  }
1282
1282
 
1283
1283
  export const FindArticlesInputQL = `
1284
- type FindArticlesInput {
1284
+ input FindArticlesInput {
1285
1285
  originBlockId: String!
1286
1286
  type: String!
1287
1287
  }`;
@@ -1291,7 +1291,7 @@ export interface FindArticlesInput {
1291
1291
  }
1292
1292
 
1293
1293
  export const FindCalendarInputQL = `
1294
- type FindCalendarInput {
1294
+ input FindCalendarInput {
1295
1295
  _id: String!
1296
1296
  }`;
1297
1297
  export interface FindCalendarInput {
@@ -1299,7 +1299,7 @@ export interface FindCalendarInput {
1299
1299
  }
1300
1300
 
1301
1301
  export const FindEventInputQL = `
1302
- type FindEventInput {
1302
+ input FindEventInput {
1303
1303
  _id: String!
1304
1304
  }`;
1305
1305
  export interface FindEventInput {
@@ -1307,7 +1307,7 @@ export interface FindEventInput {
1307
1307
  }
1308
1308
 
1309
1309
  export const InsertNoteInputQL = `
1310
- type InsertNoteInput {
1310
+ input InsertNoteInput {
1311
1311
  document: String!
1312
1312
  editor: Editor!
1313
1313
  changes: Changes!
@@ -1319,7 +1319,7 @@ export interface InsertNoteInput {
1319
1319
  }
1320
1320
 
1321
1321
  export const UpsertNoteInputQL = `
1322
- type UpsertNoteInput {
1322
+ input UpsertNoteInput {
1323
1323
  _id: String!
1324
1324
  document: String!
1325
1325
  editor: Editor!
@@ -1333,7 +1333,7 @@ export interface UpsertNoteInput {
1333
1333
  }
1334
1334
 
1335
1335
  export const FindNoteInputQL = `
1336
- type FindNoteInput {
1336
+ input FindNoteInput {
1337
1337
  _id: String!
1338
1338
  archived: Boolean
1339
1339
  }`;
@@ -1343,7 +1343,7 @@ export interface FindNoteInput {
1343
1343
  }
1344
1344
 
1345
1345
  export const FindNotesInputQL = `
1346
- type FindNotesInput {
1346
+ input FindNotesInput {
1347
1347
  tagIds: [String]
1348
1348
  archived: Boolean
1349
1349
  }`;
@@ -1353,7 +1353,7 @@ export interface FindNotesInput {
1353
1353
  }
1354
1354
 
1355
1355
  export const ArchiveNoteInputQL = `
1356
- type ArchiveNoteInput {
1356
+ input ArchiveNoteInput {
1357
1357
  _id: String!
1358
1358
  archived: Boolean
1359
1359
  }`;
@@ -1362,8 +1362,18 @@ export interface ArchiveNoteInput {
1362
1362
  archive?: boolean;
1363
1363
  }
1364
1364
 
1365
+ export const ArchiveNoteOutputQL = `
1366
+ type ArchiveNoteOutput {
1367
+ _id: String!
1368
+ archived: Boolean
1369
+ }`;
1370
+ export interface ArchiveNoteOutput {
1371
+ _id: string;
1372
+ archive?: boolean;
1373
+ }
1374
+
1365
1375
  export const FindProviderInputQL = `
1366
- type FindProviderInput {
1376
+ input FindProviderInput {
1367
1377
  provider: String!
1368
1378
  }`;
1369
1379
  export interface FindProviderInput {
@@ -1371,7 +1381,7 @@ export interface FindProviderInput {
1371
1381
  }
1372
1382
 
1373
1383
  export const FindSyncInputQL = `
1374
- type FindSyncInput {
1384
+ input FindSyncInput {
1375
1385
  _id: String!
1376
1386
  }`;
1377
1387
  export interface FindSyncInput {
@@ -1379,7 +1389,7 @@ export interface FindSyncInput {
1379
1389
  }
1380
1390
 
1381
1391
  export const FindTaskInputQL = `
1382
- type FindTaskInput {
1392
+ input FindTaskInput {
1383
1393
  _id: String!
1384
1394
  archived: Boolean
1385
1395
  }`;
@@ -1389,7 +1399,7 @@ export interface FindTaskInput {
1389
1399
  }
1390
1400
 
1391
1401
  export const FindTasksInputQL = `
1392
- type FindTasksInput {
1402
+ input FindTasksInput {
1393
1403
  originNoteId: String
1394
1404
  tagIds: [String]
1395
1405
  archived: Boolean
@@ -1401,7 +1411,7 @@ export interface FindTasksInput {
1401
1411
  }
1402
1412
 
1403
1413
  export const ArchiveTaskInputQL = `
1404
- type ArchiveTaskInput {
1414
+ input ArchiveTaskInput {
1405
1415
  _id: String!
1406
1416
  archived: Boolean
1407
1417
  }`;
@@ -1410,6 +1420,16 @@ export interface ArchiveTaskInput {
1410
1420
  archive?: boolean;
1411
1421
  }
1412
1422
 
1423
+ export const ArchiveTaskOutputQL = `
1424
+ type ArchiveTaskOutput {
1425
+ _id: String!
1426
+ archived: Boolean
1427
+ }`;
1428
+ export interface ArchiveTaskOutput {
1429
+ _id: string;
1430
+ archive?: boolean;
1431
+ }
1432
+
1413
1433
  // THE GRAPH QL DEFINITIONS
1414
1434
  export const GraphQLTypes = `
1415
1435
  ${HighlightQL}
@@ -1452,8 +1472,10 @@ ${UpsertNoteInputQL}
1452
1472
  ${FindNoteInputQL}
1453
1473
  ${FindNotesInputQL}
1454
1474
  ${ArchiveNoteInputQL}
1475
+ ${ArchiveNoteOutputQL}
1455
1476
  ${FindProviderInputQL}
1456
1477
  ${FindSyncInputQL}
1457
1478
  ${FindTaskInputQL}
1458
1479
  ${FindTasksInputQL}
1459
- ${ArchiveTaskInputQL}`;
1480
+ ${ArchiveTaskInputQL}
1481
+ ${ArchiveTaskOutputQL}`;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "2.12.5",
4
+ "version": "2.12.6",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",