@fugood/bricks-project 2.21.0-beta.35 → 2.21.0-beta.36

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fugood/bricks-project",
3
- "version": "2.21.0-beta.35",
3
+ "version": "2.21.0-beta.36",
4
4
  "main": "index.ts",
5
5
  "scripts": {
6
6
  "build": "node scripts/build.js"
@@ -13,5 +13,5 @@
13
13
  "lodash": "^4.17.4",
14
14
  "uuid": "^8.3.1"
15
15
  },
16
- "gitHead": "d9e158d3bd0c035e376c2e20e8b07e2da459f4cf"
16
+ "gitHead": "4bc1b9a249bce22b5c2b6662c8bed6f9a4716ed5"
17
17
  }
@@ -3610,8 +3610,8 @@ Default property:
3610
3610
  {
3611
3611
  "init": false,
3612
3612
  "httpMethod": "GET",
3613
- "attributePath": "textContent",
3614
- "timeout": 10000
3613
+ "timeout": 10000,
3614
+ "attributePath": "textContent"
3615
3615
  }
3616
3616
  */
3617
3617
  property?: {
@@ -3631,12 +3631,22 @@ Default property:
3631
3631
  userAgent?: string | DataLink
3632
3632
  /* Headers of crawler request */
3633
3633
  headers?: {} | DataLink
3634
+ /* Timeout of crawler request */
3635
+ timeout?: number | DataLink
3634
3636
  /* CSS Query Selector of selected element */
3635
3637
  selector?: string | DataLink
3636
3638
  /* Attribute path of HTMLElement */
3637
3639
  attributePath?: string | DataLink
3638
- /* Timeout of crawler request */
3639
- timeout?: number | DataLink
3640
+ /* Multiple selectors and attribute paths. */
3641
+ selectorList?:
3642
+ | Array<
3643
+ | DataLink
3644
+ | {
3645
+ selector?: string | DataLink
3646
+ attributePath?: string | DataLink
3647
+ }
3648
+ >
3649
+ | DataLink
3640
3650
  }
3641
3651
  events?: {
3642
3652
  /* Event of crawling start */
@@ -3645,8 +3655,10 @@ Default property:
3645
3655
  onEnd?: Array<EventAction>
3646
3656
  }
3647
3657
  outlets?: {
3648
- /* Response for CRAWLER request */
3658
+ /* Response for CRAWLER request (selector) */
3649
3659
  response?: () => Data
3660
+ /* Responses for CRAWLER request (selectorList) */
3661
+ responseList?: () => Data
3650
3662
  /* The error response of CRAWLER request, it will save to property bank */
3651
3663
  error?: () => Data
3652
3664
  }
@@ -3666,7 +3678,7 @@ export type GeneratorWebCrawler = Generator &
3666
3678
  | SwitchCondData
3667
3679
  | {
3668
3680
  __typename: 'SwitchCondInnerStateOutlet'
3669
- outlet: 'response' | 'error'
3681
+ outlet: 'response' | 'responseList' | 'error'
3670
3682
  value: any
3671
3683
  }
3672
3684
  }>
@@ -4697,6 +4709,11 @@ export type GeneratorThermalPrinterActionPrint = ActionWithParams & {
4697
4709
  >
4698
4710
  }
4699
4711
 
4712
+ /* Check thermal printer status */
4713
+ export type GeneratorThermalPrinterActionCheckStatus = Action & {
4714
+ __actionName: 'GENERATOR_THERMAL_PRINTER_CHECK_STATUS'
4715
+ }
4716
+
4700
4717
  interface GeneratorThermalPrinterDef {
4701
4718
  /*
4702
4719
  Default property:
@@ -4719,7 +4736,7 @@ Default property:
4719
4736
  lang?: 'ANK' | 'CHINESE' | 'TAIWAN' | 'KOREAN' | 'THAI' | 'SOUTHASIA' | DataLink
4720
4737
  /* The timeout of scanning */
4721
4738
  scanTimeout?: number | DataLink
4722
- /* State update interval */
4739
+ /* State update interval, 0 means no update automatically */
4723
4740
  stateUpdateInterval?: number | DataLink
4724
4741
  /* Enable page mode on printing */
4725
4742
  pageMode?: boolean | DataLink
@@ -6539,6 +6556,8 @@ Default property:
6539
6556
  completionDryPenaltyLastN?: number | DataLink
6540
6557
  /* Specify an array of sequence breakers for DRY sampling. Only a JSON array of strings is accepted. Default: `['\n', ':', '"', '*']` */
6541
6558
  completionDrySequenceBreakers?: Array<string | DataLink> | DataLink
6559
+ /* Top n sigma sampling as described in academic paper "Top-nσ: Not All Logits Are You Need" https://arxiv.org/pdf/2411.07641. Default: `-1.0` (Disabled) */
6560
+ completionTopNSigma?: number | DataLink
6542
6561
  /* Use Mirostat sampling. Top K, Nucleus, Tail Free and Locally Typical samplers are ignored if used. */
6543
6562
  completionMirostat?: number | DataLink
6544
6563
  /* Mirostat target entropy, parameter tau */