@furo/open-models 1.18.0 → 1.20.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.
@@ -2448,6 +2448,14 @@
2448
2448
  "module": "./well_known/Struct"
2449
2449
  }
2450
2450
  },
2451
+ {
2452
+ "kind": "js",
2453
+ "name": "ListValue",
2454
+ "declaration": {
2455
+ "name": "ListValue",
2456
+ "module": "./well_known/ListValue"
2457
+ }
2458
+ },
2451
2459
  {
2452
2460
  "kind": "js",
2453
2461
  "name": "JSONValue",
@@ -7298,290 +7306,6 @@
7298
7306
  }
7299
7307
  ]
7300
7308
  },
7301
- {
7302
- "kind": "javascript-module",
7303
- "path": "dist/decorators/DefaultServiceEventHandlers.js",
7304
- "declarations": [
7305
- {
7306
- "kind": "function",
7307
- "name": "DefaultServiceEventHandlers",
7308
- "parameters": [
7309
- {
7310
- "name": "dispatch",
7311
- "type": {
7312
- "text": "DispatchFn"
7313
- },
7314
- "description": "Function to dispatch events (typically bound to the service's dispatchEvent)"
7315
- },
7316
- {
7317
- "name": "options",
7318
- "default": "{}",
7319
- "type": {
7320
- "text": "DefaultServiceEventHandlersOptions"
7321
- },
7322
- "description": "Optional configuration"
7323
- }
7324
- ],
7325
- "description": "### DefaultServiceEventHandlers\n\nCreates default service handlers that dispatch standard events.\nUse this to reduce boilerplate when setting up service handlers.\n\nThe `onResponse` handler is intentionally NOT included - you must provide your own\nimplementation since response handling is typically service-specific.\n\nUsage:\n```typescript\nclass MyEntityService extends EventTarget {\n private dispatch = createDispatch(this);\n\n setupHandlers() {\n this.service.Get.setHandlers({\n ...DefaultServiceEventHandlers(this.dispatch),\n onResponse: (response, serverResponse) => {\n // Your custom response handling\n this.entity.fromLiteral(response.entity);\n this.dispatch(\"response-received\", { response, serverResponse });\n },\n });\n }\n}\n```\n\nWith loading check:\n```typescript\nthis.service.Get.setHandlers({\n ...DefaultServiceEventHandlers(this.dispatch, {\n isLoading: () => this.service.Get.isLoading || this.service.Update.isLoading,\n }),\n onResponse: (response, serverResponse) => { ... },\n});\n```",
7326
- "return": {
7327
- "type": {
7328
- "text": ""
7329
- }
7330
- }
7331
- },
7332
- {
7333
- "kind": "function",
7334
- "name": "CreateDispatch",
7335
- "return": {
7336
- "type": {
7337
- "text": ""
7338
- }
7339
- },
7340
- "parameters": [
7341
- {
7342
- "name": "target",
7343
- "type": {
7344
- "text": "EventTarget"
7345
- },
7346
- "description": "The EventTarget to dispatch events on"
7347
- }
7348
- ],
7349
- "description": "### createDispatch\n\nHelper to create a typed dispatch function for an EventTarget.\n\nUsage:\n```typescript\nclass MyService extends EventTarget {\n private dispatch = createDispatch(this);\n\n doSomething() {\n this.dispatch(\"busy-changed\", { busy: true });\n }\n}\n```"
7350
- }
7351
- ],
7352
- "exports": [
7353
- {
7354
- "kind": "js",
7355
- "name": "DefaultServiceEventHandlers",
7356
- "declaration": {
7357
- "name": "DefaultServiceEventHandlers",
7358
- "module": "src/decorators/DefaultServiceEventHandlers.ts"
7359
- }
7360
- },
7361
- {
7362
- "kind": "js",
7363
- "name": "CreateDispatch",
7364
- "declaration": {
7365
- "name": "CreateDispatch",
7366
- "module": "src/decorators/DefaultServiceEventHandlers.ts"
7367
- }
7368
- }
7369
- ]
7370
- },
7371
- {
7372
- "kind": "javascript-module",
7373
- "path": "dist/decorators/EntityServiceTypes.js",
7374
- "declarations": [],
7375
- "exports": []
7376
- },
7377
- {
7378
- "kind": "javascript-module",
7379
- "path": "dist/decorators/FieldBindings.js",
7380
- "declarations": [
7381
- {
7382
- "kind": "variable",
7383
- "name": "fieldBindings",
7384
- "type": {
7385
- "text": "object"
7386
- },
7387
- "default": "{ /** * Decorator for the `model` property. * * Handles: * - Binding/unbinding when model changes * - Resolving reader/writer functions based on model type * - Calling reader on model value changes * - Providing `writeToModel()` method */ model() { return function modelDecorator(target: object, propertyKey: string) { const ctor = target.constructor as typeof ReactiveElement; // Patch lifecycle patchLifecycle(ctor); // Add writeToModel helper method if (!Object.prototype.hasOwnProperty.call(target, \"writeToModel\")) { Object.defineProperty(target, \"writeToModel\", { value: function writeToModel(this: LitElement & Record<symbol, (() => void) | undefined>) { const writeFn = this[MODEL_WRITE_FN]; if (writeFn) { try { writeFn(); } catch (e) { console.error(\"Failed to write to model:\", e); } } }, writable: false, enumerable: false, configurable: true, }); } // Create getter/setter for the model property Object.defineProperty(target, propertyKey, { get(this: LitElement & Record<symbol, FieldNodeLike | undefined>): FieldNodeLike | undefined { return this[CURRENT_MODEL]; }, set(this: LitElement & BindableComponent & Record<symbol, FieldNodeLike | (() => void) | undefined>, value: FieldNodeLike | undefined) { const oldModel = this[CURRENT_MODEL] as FieldNodeLike | undefined; if (value === oldModel) return; // Unbind from old model if (oldModel) { unbindFromModel(this, oldModel); } // Store new model this[CURRENT_MODEL] = value; // Resolve reader/writer functions based on type if (value) { const typeName = value.__meta?.typeName ?? \"primitives.STRING\"; // Resolve reader // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- runtime data may not match types (REST API input) const reader = this.modelReaders?.get(typeName); if (reader) { this[MODEL_READ_FN] = reader.bind(this); } else { // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- runtime data may not match types (REST API input) console.warn(`No modelReader for type \"${typeName}\". Available: ${[...(this.modelReaders?.keys() ?? [])].join(\", \")}`); this[MODEL_READ_FN] = undefined; } // Resolve writer // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- runtime data may not match types (REST API input) const writer = this.modelWriters?.get(typeName); if (writer) { this[MODEL_WRITE_FN] = writer.bind(this); } else { // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- runtime data may not match types (REST API input) console.warn(`No modelWriter for type \"${typeName}\". Available: ${[...(this.modelWriters?.keys() ?? [])].join(\", \")}`); this[MODEL_WRITE_FN] = undefined; } } else { this[MODEL_READ_FN] = undefined; this[MODEL_WRITE_FN] = undefined; } // Bind to new model (if connected) if (value && this.isConnected) { bindToModel(this, value); } // Trigger Lit update this.requestUpdate(); }, enumerable: true, configurable: true, }); }; }, /** * Binds a method to an event on the model. * When the event fires, the method is called with the event detail. * * @param eventType - The event type to listen for */ onEvent(eventType: ModelEventType) { return function onEventDecorator(target: object, propertyKey: string, descriptor: PropertyDescriptor) { // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment const originalMethod = descriptor.value; const ctor = target.constructor as typeof ReactiveElement; let events = (ctor as unknown as Record<symbol, FieldEventMeta[]>)[FIELD_EVENTS]; // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- runtime data may not match types (REST API input) if (!events) { events = []; (ctor as unknown as Record<symbol, FieldEventMeta[]>)[FIELD_EVENTS] = events; } // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment events.push({ propertyKey, eventType, method: originalMethod }); patchLifecycle(ctor); }; }, /** * Decorator that marks a method to be called once after a new model is assigned and bound. * * Useful for one-time setup like setting a11y attributes, placeholders, or constraints * based on the model's type. * * @example * ```typescript * @fieldBindings.onInit() * protected init() { * this.accessibleName = this.model?.__label ?? \"Toggle\"; * } * ``` */ onInit() { return function onInitDecorator(target: object, propertyKey: string, descriptor: PropertyDescriptor) { // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment const originalMethod = descriptor.value; const ctor = target.constructor as typeof ReactiveElement; // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type let inits = (ctor as unknown as Record<symbol, { propertyKey: string; method: Function }[]>)[FIELD_INIT_METHODS]; // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- runtime data may not match types (REST API input) if (!inits) { inits = []; // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type (ctor as unknown as Record<symbol, { propertyKey: string; method: Function }[]>)[FIELD_INIT_METHODS] = inits; } // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment inits.push({ propertyKey, method: originalMethod }); patchLifecycle(ctor); }; }, }",
7388
- "description": "### fieldBindings\n\nDecorators for creating reusable components that bind to FieldNode models.\n\nThe component provides `modelReaders` and `modelWriters` maps keyed by\n`__meta.typeName`. The decorator handles:\n- Binding/unbinding on model change\n- Calling the correct reader when model value changes\n- Providing `writeToModel()` method that calls the correct writer"
7389
- }
7390
- ],
7391
- "exports": [
7392
- {
7393
- "kind": "js",
7394
- "name": "fieldBindings",
7395
- "declaration": {
7396
- "name": "fieldBindings",
7397
- "module": "src/decorators/FieldBindings.ts"
7398
- }
7399
- }
7400
- ]
7401
- },
7402
- {
7403
- "kind": "javascript-module",
7404
- "path": "dist/decorators/ModelDecorators.js",
7405
- "declarations": [
7406
- {
7407
- "kind": "function",
7408
- "name": "ModelBindings",
7409
- "parameters": [
7410
- {
7411
- "name": "model",
7412
- "type": {
7413
- "text": "FieldNodeLike"
7414
- },
7415
- "description": "The FieldNode model to bind to"
7416
- }
7417
- ],
7418
- "description": "### ModelBindings Factory\n\nCreates type-safe decorators bound to a specific FieldNode model.\nUse this to bind component properties and methods to model events.\n\nUsage:\n```typescript\nimport { ModelBindings } from \"@x/furo/open-models/ModelDecorators\";\nimport { CubeEntityModel } from \"./CubeEntityModel\";\n\nconst cubeModel = ModelBindings(CubeEntityModel.model);\n\nclass MyComponent extends LitElement {\n // Triggers re-render on any model update",
7419
- "return": {
7420
- "type": {
7421
- "text": ""
7422
- }
7423
- }
7424
- }
7425
- ],
7426
- "exports": [
7427
- {
7428
- "kind": "js",
7429
- "name": "ModelBindings",
7430
- "declaration": {
7431
- "name": "ModelBindings",
7432
- "module": "src/decorators/ModelDecorators.ts"
7433
- }
7434
- }
7435
- ]
7436
- },
7437
- {
7438
- "kind": "javascript-module",
7439
- "path": "dist/decorators/SchemaBuilder.js",
7440
- "declarations": [
7441
- {
7442
- "kind": "class",
7443
- "description": "",
7444
- "name": "SchemaBuilder",
7445
- "members": [
7446
- {
7447
- "kind": "method",
7448
- "name": "generate",
7449
- "privacy": "public",
7450
- "static": true,
7451
- "return": {
7452
- "type": {
7453
- "text": "JSONSchema7"
7454
- }
7455
- },
7456
- "parameters": [
7457
- {
7458
- "name": "model",
7459
- "type": {
7460
- "text": "FieldNode"
7461
- }
7462
- }
7463
- ]
7464
- },
7465
- {
7466
- "kind": "method",
7467
- "name": "getProps",
7468
- "privacy": "private",
7469
- "static": true,
7470
- "return": {
7471
- "type": {
7472
- "text": "Record<string, JSONSchema7Definition>"
7473
- }
7474
- },
7475
- "parameters": [
7476
- {
7477
- "name": "model",
7478
- "type": {
7479
- "text": "FieldNode"
7480
- }
7481
- }
7482
- ]
7483
- },
7484
- {
7485
- "kind": "method",
7486
- "name": "getRequiredFields",
7487
- "privacy": "private",
7488
- "static": true,
7489
- "return": {
7490
- "type": {
7491
- "text": "string[]"
7492
- }
7493
- },
7494
- "parameters": [
7495
- {
7496
- "name": "descriptors",
7497
- "type": {
7498
- "text": "FieldDescriptor[]"
7499
- }
7500
- }
7501
- ]
7502
- },
7503
- {
7504
- "kind": "method",
7505
- "name": "getConstraints",
7506
- "privacy": "private",
7507
- "static": true,
7508
- "parameters": [
7509
- {
7510
- "name": "constraints",
7511
- "type": {
7512
- "text": "FieldConstraints | undefined"
7513
- }
7514
- }
7515
- ]
7516
- },
7517
- {
7518
- "kind": "method",
7519
- "name": "createFieldNodeFromSchema",
7520
- "privacy": "public",
7521
- "static": true,
7522
- "return": {
7523
- "type": {
7524
- "text": "FieldNode"
7525
- }
7526
- },
7527
- "parameters": [
7528
- {
7529
- "name": "schema",
7530
- "type": {
7531
- "text": "FieldNodeSchema"
7532
- }
7533
- }
7534
- ]
7535
- }
7536
- ]
7537
- }
7538
- ],
7539
- "exports": [
7540
- {
7541
- "kind": "js",
7542
- "name": "SchemaBuilder",
7543
- "declaration": {
7544
- "name": "SchemaBuilder",
7545
- "module": "src/decorators/SchemaBuilder.ts"
7546
- }
7547
- }
7548
- ]
7549
- },
7550
- {
7551
- "kind": "javascript-module",
7552
- "path": "dist/decorators/ServiceDecorators.js",
7553
- "declarations": [
7554
- {
7555
- "kind": "function",
7556
- "name": "ServiceBindings",
7557
- "parameters": [
7558
- {
7559
- "name": "service",
7560
- "type": {
7561
- "text": "EventTarget"
7562
- },
7563
- "description": "The EventTarget service to bind to"
7564
- }
7565
- ],
7566
- "description": "### ServiceBindings Factory\n\nCreates type-safe decorators bound to a specific service instance.\nUse this to bind component properties and methods to service events.\n\nThe factory is generic and works with any `EventTarget`.\nEvent types and their detail payloads are type-checked at compile time\nvia the `TEventMap` type parameter.\n\nUsage:\n```typescript\nimport { cubeEntityService } from \"./CubeEntityService\";\nimport { ServiceBindings } from \"./ServiceDecorators\";\n\nconst cube = ServiceBindings(cubeEntityService);\n\nclass MyComponent extends LitElement {\n // Property binding - type-safe event name, auto-extracts from detail",
7567
- "return": {
7568
- "type": {
7569
- "text": ""
7570
- }
7571
- }
7572
- }
7573
- ],
7574
- "exports": [
7575
- {
7576
- "kind": "js",
7577
- "name": "ServiceBindings",
7578
- "declaration": {
7579
- "name": "ServiceBindings",
7580
- "module": "src/decorators/ServiceDecorators.ts"
7581
- }
7582
- }
7583
- ]
7584
- },
7585
7309
  {
7586
7310
  "kind": "javascript-module",
7587
7311
  "path": "dist/primitives/BOOLEAN.js",
@@ -22774,6 +22498,290 @@
22774
22498
  }
22775
22499
  ]
22776
22500
  },
22501
+ {
22502
+ "kind": "javascript-module",
22503
+ "path": "dist/decorators/DefaultServiceEventHandlers.js",
22504
+ "declarations": [
22505
+ {
22506
+ "kind": "function",
22507
+ "name": "DefaultServiceEventHandlers",
22508
+ "parameters": [
22509
+ {
22510
+ "name": "dispatch",
22511
+ "type": {
22512
+ "text": "DispatchFn"
22513
+ },
22514
+ "description": "Function to dispatch events (typically bound to the service's dispatchEvent)"
22515
+ },
22516
+ {
22517
+ "name": "options",
22518
+ "default": "{}",
22519
+ "type": {
22520
+ "text": "DefaultServiceEventHandlersOptions"
22521
+ },
22522
+ "description": "Optional configuration"
22523
+ }
22524
+ ],
22525
+ "description": "### DefaultServiceEventHandlers\n\nCreates default service handlers that dispatch standard events.\nUse this to reduce boilerplate when setting up service handlers.\n\nThe `onResponse` handler is intentionally NOT included - you must provide your own\nimplementation since response handling is typically service-specific.\n\nUsage:\n```typescript\nclass MyEntityService extends EventTarget {\n private dispatch = createDispatch(this);\n\n setupHandlers() {\n this.service.Get.setHandlers({\n ...DefaultServiceEventHandlers(this.dispatch),\n onResponse: (response, serverResponse) => {\n // Your custom response handling\n this.entity.fromLiteral(response.entity);\n this.dispatch(\"response-received\", { response, serverResponse });\n },\n });\n }\n}\n```\n\nWith loading check:\n```typescript\nthis.service.Get.setHandlers({\n ...DefaultServiceEventHandlers(this.dispatch, {\n isLoading: () => this.service.Get.isLoading || this.service.Update.isLoading,\n }),\n onResponse: (response, serverResponse) => { ... },\n});\n```",
22526
+ "return": {
22527
+ "type": {
22528
+ "text": ""
22529
+ }
22530
+ }
22531
+ },
22532
+ {
22533
+ "kind": "function",
22534
+ "name": "CreateDispatch",
22535
+ "return": {
22536
+ "type": {
22537
+ "text": ""
22538
+ }
22539
+ },
22540
+ "parameters": [
22541
+ {
22542
+ "name": "target",
22543
+ "type": {
22544
+ "text": "EventTarget"
22545
+ },
22546
+ "description": "The EventTarget to dispatch events on"
22547
+ }
22548
+ ],
22549
+ "description": "### createDispatch\n\nHelper to create a typed dispatch function for an EventTarget.\n\nUsage:\n```typescript\nclass MyService extends EventTarget {\n private dispatch = createDispatch(this);\n\n doSomething() {\n this.dispatch(\"busy-changed\", { busy: true });\n }\n}\n```"
22550
+ }
22551
+ ],
22552
+ "exports": [
22553
+ {
22554
+ "kind": "js",
22555
+ "name": "DefaultServiceEventHandlers",
22556
+ "declaration": {
22557
+ "name": "DefaultServiceEventHandlers",
22558
+ "module": "src/decorators/DefaultServiceEventHandlers.ts"
22559
+ }
22560
+ },
22561
+ {
22562
+ "kind": "js",
22563
+ "name": "CreateDispatch",
22564
+ "declaration": {
22565
+ "name": "CreateDispatch",
22566
+ "module": "src/decorators/DefaultServiceEventHandlers.ts"
22567
+ }
22568
+ }
22569
+ ]
22570
+ },
22571
+ {
22572
+ "kind": "javascript-module",
22573
+ "path": "dist/decorators/EntityServiceTypes.js",
22574
+ "declarations": [],
22575
+ "exports": []
22576
+ },
22577
+ {
22578
+ "kind": "javascript-module",
22579
+ "path": "dist/decorators/FieldBindings.js",
22580
+ "declarations": [
22581
+ {
22582
+ "kind": "variable",
22583
+ "name": "fieldBindings",
22584
+ "type": {
22585
+ "text": "object"
22586
+ },
22587
+ "default": "{ /** * Decorator for the `model` property. * * Handles: * - Binding/unbinding when model changes * - Resolving reader/writer functions based on model type * - Calling reader on model value changes * - Providing `writeToModel()` method */ model() { return function modelDecorator(target: object, propertyKey: string) { const ctor = target.constructor as typeof ReactiveElement; // Patch lifecycle patchLifecycle(ctor); // Add writeToModel helper method if (!Object.prototype.hasOwnProperty.call(target, \"writeToModel\")) { Object.defineProperty(target, \"writeToModel\", { value: function writeToModel(this: LitElement & Record<symbol, (() => void) | undefined>) { const writeFn = this[MODEL_WRITE_FN]; if (writeFn) { try { writeFn(); } catch (e) { console.error(\"Failed to write to model:\", e); } } }, writable: false, enumerable: false, configurable: true, }); } // Create getter/setter for the model property Object.defineProperty(target, propertyKey, { get(this: LitElement & Record<symbol, FieldNodeLike | undefined>): FieldNodeLike | undefined { return this[CURRENT_MODEL]; }, set(this: LitElement & BindableComponent & Record<symbol, FieldNodeLike | (() => void) | undefined>, value: FieldNodeLike | undefined) { const oldModel = this[CURRENT_MODEL] as FieldNodeLike | undefined; if (value === oldModel) return; // Unbind from old model if (oldModel) { unbindFromModel(this, oldModel); } // Store new model this[CURRENT_MODEL] = value; // Resolve reader/writer functions based on type if (value) { const typeName = value.__meta?.typeName ?? \"primitives.STRING\"; // Resolve reader // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- runtime data may not match types (REST API input) const reader = this.modelReaders?.get(typeName); if (reader) { this[MODEL_READ_FN] = reader.bind(this); } else { // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- runtime data may not match types (REST API input) console.warn(`No modelReader for type \"${typeName}\". Available: ${[...(this.modelReaders?.keys() ?? [])].join(\", \")}`); this[MODEL_READ_FN] = undefined; } // Resolve writer // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- runtime data may not match types (REST API input) const writer = this.modelWriters?.get(typeName); if (writer) { this[MODEL_WRITE_FN] = writer.bind(this); } else { // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- runtime data may not match types (REST API input) console.warn(`No modelWriter for type \"${typeName}\". Available: ${[...(this.modelWriters?.keys() ?? [])].join(\", \")}`); this[MODEL_WRITE_FN] = undefined; } } else { this[MODEL_READ_FN] = undefined; this[MODEL_WRITE_FN] = undefined; } // Bind to new model (if connected) if (value && this.isConnected) { bindToModel(this, value); } // Trigger Lit update this.requestUpdate(); }, enumerable: true, configurable: true, }); }; }, /** * Binds a method to an event on the model. * When the event fires, the method is called with the event detail. * * @param eventType - The event type to listen for */ onEvent(eventType: ModelEventType) { return function onEventDecorator(target: object, propertyKey: string, descriptor: PropertyDescriptor) { // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment const originalMethod = descriptor.value; const ctor = target.constructor as typeof ReactiveElement; let events = (ctor as unknown as Record<symbol, FieldEventMeta[]>)[FIELD_EVENTS]; // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- runtime data may not match types (REST API input) if (!events) { events = []; (ctor as unknown as Record<symbol, FieldEventMeta[]>)[FIELD_EVENTS] = events; } // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment events.push({ propertyKey, eventType, method: originalMethod }); patchLifecycle(ctor); }; }, /** * Decorator that marks a method to be called once after a new model is assigned and bound. * * Useful for one-time setup like setting a11y attributes, placeholders, or constraints * based on the model's type. * * @example * ```typescript * @fieldBindings.onInit() * protected init() { * this.accessibleName = this.model?.__label ?? \"Toggle\"; * } * ``` */ onInit() { return function onInitDecorator(target: object, propertyKey: string, descriptor: PropertyDescriptor) { // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment const originalMethod = descriptor.value; const ctor = target.constructor as typeof ReactiveElement; // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type let inits = (ctor as unknown as Record<symbol, { propertyKey: string; method: Function }[]>)[FIELD_INIT_METHODS]; // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- runtime data may not match types (REST API input) if (!inits) { inits = []; // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type (ctor as unknown as Record<symbol, { propertyKey: string; method: Function }[]>)[FIELD_INIT_METHODS] = inits; } // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment inits.push({ propertyKey, method: originalMethod }); patchLifecycle(ctor); }; }, }",
22588
+ "description": "### fieldBindings\n\nDecorators for creating reusable components that bind to FieldNode models.\n\nThe component provides `modelReaders` and `modelWriters` maps keyed by\n`__meta.typeName`. The decorator handles:\n- Binding/unbinding on model change\n- Calling the correct reader when model value changes\n- Providing `writeToModel()` method that calls the correct writer"
22589
+ }
22590
+ ],
22591
+ "exports": [
22592
+ {
22593
+ "kind": "js",
22594
+ "name": "fieldBindings",
22595
+ "declaration": {
22596
+ "name": "fieldBindings",
22597
+ "module": "src/decorators/FieldBindings.ts"
22598
+ }
22599
+ }
22600
+ ]
22601
+ },
22602
+ {
22603
+ "kind": "javascript-module",
22604
+ "path": "dist/decorators/ModelDecorators.js",
22605
+ "declarations": [
22606
+ {
22607
+ "kind": "function",
22608
+ "name": "ModelBindings",
22609
+ "parameters": [
22610
+ {
22611
+ "name": "model",
22612
+ "type": {
22613
+ "text": "FieldNodeLike"
22614
+ },
22615
+ "description": "The FieldNode model to bind to"
22616
+ }
22617
+ ],
22618
+ "description": "### ModelBindings Factory\n\nCreates type-safe decorators bound to a specific FieldNode model.\nUse this to bind component properties and methods to model events.\n\nUsage:\n```typescript\nimport { ModelBindings } from \"@x/furo/open-models/ModelDecorators\";\nimport { CubeEntityModel } from \"./CubeEntityModel\";\n\nconst cubeModel = ModelBindings(CubeEntityModel.model);\n\nclass MyComponent extends LitElement {\n // Triggers re-render on any model update",
22619
+ "return": {
22620
+ "type": {
22621
+ "text": ""
22622
+ }
22623
+ }
22624
+ }
22625
+ ],
22626
+ "exports": [
22627
+ {
22628
+ "kind": "js",
22629
+ "name": "ModelBindings",
22630
+ "declaration": {
22631
+ "name": "ModelBindings",
22632
+ "module": "src/decorators/ModelDecorators.ts"
22633
+ }
22634
+ }
22635
+ ]
22636
+ },
22637
+ {
22638
+ "kind": "javascript-module",
22639
+ "path": "dist/decorators/SchemaBuilder.js",
22640
+ "declarations": [
22641
+ {
22642
+ "kind": "class",
22643
+ "description": "",
22644
+ "name": "SchemaBuilder",
22645
+ "members": [
22646
+ {
22647
+ "kind": "method",
22648
+ "name": "generate",
22649
+ "privacy": "public",
22650
+ "static": true,
22651
+ "return": {
22652
+ "type": {
22653
+ "text": "JSONSchema7"
22654
+ }
22655
+ },
22656
+ "parameters": [
22657
+ {
22658
+ "name": "model",
22659
+ "type": {
22660
+ "text": "FieldNode"
22661
+ }
22662
+ }
22663
+ ]
22664
+ },
22665
+ {
22666
+ "kind": "method",
22667
+ "name": "getProps",
22668
+ "privacy": "private",
22669
+ "static": true,
22670
+ "return": {
22671
+ "type": {
22672
+ "text": "Record<string, JSONSchema7Definition>"
22673
+ }
22674
+ },
22675
+ "parameters": [
22676
+ {
22677
+ "name": "model",
22678
+ "type": {
22679
+ "text": "FieldNode"
22680
+ }
22681
+ }
22682
+ ]
22683
+ },
22684
+ {
22685
+ "kind": "method",
22686
+ "name": "getRequiredFields",
22687
+ "privacy": "private",
22688
+ "static": true,
22689
+ "return": {
22690
+ "type": {
22691
+ "text": "string[]"
22692
+ }
22693
+ },
22694
+ "parameters": [
22695
+ {
22696
+ "name": "descriptors",
22697
+ "type": {
22698
+ "text": "FieldDescriptor[]"
22699
+ }
22700
+ }
22701
+ ]
22702
+ },
22703
+ {
22704
+ "kind": "method",
22705
+ "name": "getConstraints",
22706
+ "privacy": "private",
22707
+ "static": true,
22708
+ "parameters": [
22709
+ {
22710
+ "name": "constraints",
22711
+ "type": {
22712
+ "text": "FieldConstraints | undefined"
22713
+ }
22714
+ }
22715
+ ]
22716
+ },
22717
+ {
22718
+ "kind": "method",
22719
+ "name": "createFieldNodeFromSchema",
22720
+ "privacy": "public",
22721
+ "static": true,
22722
+ "return": {
22723
+ "type": {
22724
+ "text": "FieldNode"
22725
+ }
22726
+ },
22727
+ "parameters": [
22728
+ {
22729
+ "name": "schema",
22730
+ "type": {
22731
+ "text": "FieldNodeSchema"
22732
+ }
22733
+ }
22734
+ ]
22735
+ }
22736
+ ]
22737
+ }
22738
+ ],
22739
+ "exports": [
22740
+ {
22741
+ "kind": "js",
22742
+ "name": "SchemaBuilder",
22743
+ "declaration": {
22744
+ "name": "SchemaBuilder",
22745
+ "module": "src/decorators/SchemaBuilder.ts"
22746
+ }
22747
+ }
22748
+ ]
22749
+ },
22750
+ {
22751
+ "kind": "javascript-module",
22752
+ "path": "dist/decorators/ServiceDecorators.js",
22753
+ "declarations": [
22754
+ {
22755
+ "kind": "function",
22756
+ "name": "ServiceBindings",
22757
+ "parameters": [
22758
+ {
22759
+ "name": "service",
22760
+ "type": {
22761
+ "text": "EventTarget"
22762
+ },
22763
+ "description": "The EventTarget service to bind to"
22764
+ }
22765
+ ],
22766
+ "description": "### ServiceBindings Factory\n\nCreates type-safe decorators bound to a specific service instance.\nUse this to bind component properties and methods to service events.\n\nThe factory is generic and works with any `EventTarget`.\nEvent types and their detail payloads are type-checked at compile time\nvia the `TEventMap` type parameter.\n\nUsage:\n```typescript\nimport { cubeEntityService } from \"./CubeEntityService\";\nimport { ServiceBindings } from \"./ServiceDecorators\";\n\nconst cube = ServiceBindings(cubeEntityService);\n\nclass MyComponent extends LitElement {\n // Property binding - type-safe event name, auto-extracts from detail",
22767
+ "return": {
22768
+ "type": {
22769
+ "text": ""
22770
+ }
22771
+ }
22772
+ }
22773
+ ],
22774
+ "exports": [
22775
+ {
22776
+ "kind": "js",
22777
+ "name": "ServiceBindings",
22778
+ "declaration": {
22779
+ "name": "ServiceBindings",
22780
+ "module": "src/decorators/ServiceDecorators.ts"
22781
+ }
22782
+ }
22783
+ ]
22784
+ },
22777
22785
  {
22778
22786
  "kind": "javascript-module",
22779
22787
  "path": "dist/web-components/furo-type-renderer.js",
@@ -25326,38 +25334,1305 @@
25326
25334
  "exports": [
25327
25335
  {
25328
25336
  "kind": "js",
25329
- "name": "BoolValue",
25337
+ "name": "BoolValue",
25338
+ "declaration": {
25339
+ "name": "BoolValue",
25340
+ "module": "src/well_known/BoolValue.ts"
25341
+ }
25342
+ }
25343
+ ]
25344
+ },
25345
+ {
25346
+ "kind": "javascript-module",
25347
+ "path": "dist/well_known/BytesValue.js",
25348
+ "declarations": [
25349
+ {
25350
+ "kind": "class",
25351
+ "description": "",
25352
+ "name": "BytesValue",
25353
+ "members": [
25354
+ {
25355
+ "kind": "field",
25356
+ "name": "value",
25357
+ "type": {
25358
+ "text": "string"
25359
+ }
25360
+ },
25361
+ {
25362
+ "kind": "field",
25363
+ "name": "_value",
25364
+ "type": {
25365
+ "text": "string | null"
25366
+ },
25367
+ "privacy": "public",
25368
+ "default": "\"\""
25369
+ },
25370
+ {
25371
+ "kind": "method",
25372
+ "name": "__updateWithLiteral",
25373
+ "parameters": [
25374
+ {
25375
+ "name": "v",
25376
+ "type": {
25377
+ "text": "string | null"
25378
+ }
25379
+ }
25380
+ ],
25381
+ "description": "Updates the model from literal data, without changing the validity and value state.",
25382
+ "inheritedFrom": {
25383
+ "name": "FieldNode",
25384
+ "module": "dist/FieldNode.js"
25385
+ }
25386
+ },
25387
+ {
25388
+ "kind": "method",
25389
+ "name": "__mapProtoNameJsonToJson",
25390
+ "return": {
25391
+ "type": {
25392
+ "text": "string"
25393
+ }
25394
+ },
25395
+ "parameters": [
25396
+ {
25397
+ "name": "data",
25398
+ "type": {
25399
+ "text": "string"
25400
+ }
25401
+ }
25402
+ ],
25403
+ "description": "Helper function to create a literal type from a json type",
25404
+ "inheritedFrom": {
25405
+ "name": "FieldNode",
25406
+ "module": "dist/FieldNode.js"
25407
+ }
25408
+ },
25409
+ {
25410
+ "kind": "method",
25411
+ "name": "__toJson",
25412
+ "return": {
25413
+ "type": {
25414
+ "text": "string | null"
25415
+ }
25416
+ },
25417
+ "description": "Converts the model to a JSON struct wich matches the protobuf spec.\nIf the `UseProtoNames` option is set to false, lowerCamelCase is produced.",
25418
+ "inheritedFrom": {
25419
+ "name": "FieldNode",
25420
+ "module": "dist/FieldNode.js"
25421
+ }
25422
+ },
25423
+ {
25424
+ "kind": "method",
25425
+ "name": "__toLiteral",
25426
+ "privacy": "public",
25427
+ "return": {
25428
+ "type": {
25429
+ "text": "any"
25430
+ }
25431
+ },
25432
+ "description": "Converts the model to a literal type. The literal type matches the interface from ITypeName.",
25433
+ "inheritedFrom": {
25434
+ "name": "FieldNode",
25435
+ "module": "dist/FieldNode.js"
25436
+ }
25437
+ },
25438
+ {
25439
+ "kind": "method",
25440
+ "name": "__checkConstraints",
25441
+ "privacy": "protected",
25442
+ "return": {
25443
+ "type": {
25444
+ "text": "string[] | undefined"
25445
+ }
25446
+ },
25447
+ "parameters": [
25448
+ {
25449
+ "name": "fieldConstraints",
25450
+ "type": {
25451
+ "text": "FieldConstraints"
25452
+ }
25453
+ }
25454
+ ],
25455
+ "inheritedFrom": {
25456
+ "name": "FieldNode",
25457
+ "module": "dist/FieldNode.js"
25458
+ }
25459
+ },
25460
+ {
25461
+ "kind": "method",
25462
+ "name": "toString",
25463
+ "privacy": "public",
25464
+ "return": {
25465
+ "type": {
25466
+ "text": "string"
25467
+ }
25468
+ },
25469
+ "description": "The toString() method of Object instances returns a string representing this object. This method is meant to be overridden by `CustomPrototypes.ToString`.\nIf no `CustomPrototypes` is set, it will try to find a display_name attribute on the node and uses that for the output.\n\nIf there is no display_name `[object TypeName]` is returned.",
25470
+ "inheritedFrom": {
25471
+ "name": "FieldNode",
25472
+ "module": "dist/FieldNode.js"
25473
+ }
25474
+ },
25475
+ {
25476
+ "kind": "method",
25477
+ "name": "__clear",
25478
+ "privacy": "public",
25479
+ "parameters": [
25480
+ {
25481
+ "name": "withoutNotification",
25482
+ "default": "false"
25483
+ }
25484
+ ],
25485
+ "description": "Clear clears the element downwards and set __isEmpty to true on all sub nodes.\n\nA cleared field is not populated on `__toLiteral` or `__toJson` when the option `EmitUnpopulated` or `EmitDefaultValues` is set to false.",
25486
+ "inheritedFrom": {
25487
+ "name": "FieldNode",
25488
+ "module": "dist/FieldNode.js"
25489
+ }
25490
+ },
25491
+ {
25492
+ "kind": "field",
25493
+ "name": "__isEmpty",
25494
+ "description": "Empty state of the node",
25495
+ "parameters": [
25496
+ {
25497
+ "name": "empty"
25498
+ }
25499
+ ],
25500
+ "type": {
25501
+ "text": "boolean"
25502
+ },
25503
+ "default": "!(OPEN_MODELS_OPTIONS.EmitDefaultValues || OPEN_MODELS_OPTIONS.EmitUnpopulated)",
25504
+ "inheritedFrom": {
25505
+ "name": "FieldNode",
25506
+ "module": "dist/FieldNode.js"
25507
+ }
25508
+ },
25509
+ {
25510
+ "kind": "field",
25511
+ "name": "typeName",
25512
+ "type": {
25513
+ "text": "string"
25514
+ },
25515
+ "default": "\"google.protobuf.BytesValue\""
25516
+ },
25517
+ {
25518
+ "kind": "field",
25519
+ "name": "___isEmpty",
25520
+ "type": {
25521
+ "text": "boolean"
25522
+ },
25523
+ "privacy": "protected",
25524
+ "default": "true",
25525
+ "inheritedFrom": {
25526
+ "name": "FieldNode",
25527
+ "module": "dist/FieldNode.js"
25528
+ }
25529
+ },
25530
+ {
25531
+ "kind": "field",
25532
+ "name": "__isPrimitive",
25533
+ "type": {
25534
+ "text": "boolean"
25535
+ },
25536
+ "privacy": "public",
25537
+ "default": "false",
25538
+ "description": "Marker for primitive types",
25539
+ "inheritedFrom": {
25540
+ "name": "FieldNode",
25541
+ "module": "dist/FieldNode.js"
25542
+ }
25543
+ },
25544
+ {
25545
+ "kind": "field",
25546
+ "name": "__parentNode",
25547
+ "type": {
25548
+ "text": "FieldNode | undefined"
25549
+ },
25550
+ "privacy": "public",
25551
+ "description": "Parent node of a node. This is undefined on root nodes.",
25552
+ "default": "parent",
25553
+ "inheritedFrom": {
25554
+ "name": "FieldNode",
25555
+ "module": "dist/FieldNode.js"
25556
+ }
25557
+ },
25558
+ {
25559
+ "kind": "field",
25560
+ "name": "__meta",
25561
+ "type": {
25562
+ "text": "Meta"
25563
+ },
25564
+ "privacy": "public",
25565
+ "default": "{ businessVaueState: ValueState.None, readonly: false, required: false, initialValue: undefined, isPristine: true, isValid: true, valueState: ValueState.None, stateMessage: \"\", typeName: \"\", nodeFields: [], oneofGroups: new Map(), isArrayNode: false, isRecursionNode: false, isAnyNode: false, eventListener: new Map<string, []>(), }",
25566
+ "description": "Metadata of a field node.",
25567
+ "inheritedFrom": {
25568
+ "name": "FieldNode",
25569
+ "module": "dist/FieldNode.js"
25570
+ }
25571
+ },
25572
+ {
25573
+ "kind": "field",
25574
+ "name": "___rootNode",
25575
+ "type": {
25576
+ "text": "FieldNode"
25577
+ },
25578
+ "privacy": "private",
25579
+ "inheritedFrom": {
25580
+ "name": "FieldNode",
25581
+ "module": "dist/FieldNode.js"
25582
+ }
25583
+ },
25584
+ {
25585
+ "kind": "field",
25586
+ "name": "___readonlyState",
25587
+ "type": {
25588
+ "text": "Map<FieldNode, boolean>"
25589
+ },
25590
+ "privacy": "private",
25591
+ "default": "new Map<FieldNode, boolean>()",
25592
+ "inheritedFrom": {
25593
+ "name": "FieldNode",
25594
+ "module": "dist/FieldNode.js"
25595
+ }
25596
+ },
25597
+ {
25598
+ "kind": "field",
25599
+ "name": "__rootNode",
25600
+ "type": {
25601
+ "text": "FieldNode"
25602
+ },
25603
+ "description": "Root node of a node. Do not set this value by yourself.",
25604
+ "parameters": [
25605
+ {
25606
+ "name": "value"
25607
+ }
25608
+ ],
25609
+ "inheritedFrom": {
25610
+ "name": "FieldNode",
25611
+ "module": "dist/FieldNode.js"
25612
+ }
25613
+ },
25614
+ {
25615
+ "kind": "method",
25616
+ "name": "__getFieldNodeByPath",
25617
+ "return": {
25618
+ "type": {
25619
+ "text": "FieldNode | undefined"
25620
+ }
25621
+ },
25622
+ "parameters": [
25623
+ {
25624
+ "name": "deepPath",
25625
+ "default": "\"\"",
25626
+ "description": "Path of the field.",
25627
+ "type": {
25628
+ "text": "string"
25629
+ }
25630
+ }
25631
+ ],
25632
+ "description": "Get a FieldNode by giving a field path using the proto names for the fields.\n\n\n\n- `email_addresses[3].type[2]` for the second `type` value in the third `email_addresses` message.\n- `user.location.street` for the street in location in user.",
25633
+ "inheritedFrom": {
25634
+ "name": "FieldNode",
25635
+ "module": "dist/FieldNode.js"
25636
+ }
25637
+ },
25638
+ {
25639
+ "kind": "method",
25640
+ "name": "__isLogicalReadonly",
25641
+ "privacy": "public",
25642
+ "return": {
25643
+ "type": {
25644
+ "text": "boolean"
25645
+ }
25646
+ },
25647
+ "description": "Check if the node is \"readonly\"\n\nWhen any this node or any parent is *ro*, this will return false.",
25648
+ "inheritedFrom": {
25649
+ "name": "FieldNode",
25650
+ "module": "dist/FieldNode.js"
25651
+ }
25652
+ },
25653
+ {
25654
+ "kind": "field",
25655
+ "name": "__readonly",
25656
+ "privacy": "public",
25657
+ "description": "Set the readonly state",
25658
+ "parameters": [
25659
+ {
25660
+ "name": "v"
25661
+ }
25662
+ ],
25663
+ "type": {
25664
+ "text": "boolean"
25665
+ },
25666
+ "inheritedFrom": {
25667
+ "name": "FieldNode",
25668
+ "module": "dist/FieldNode.js"
25669
+ }
25670
+ },
25671
+ {
25672
+ "kind": "method",
25673
+ "name": "__fromLiteral",
25674
+ "parameters": [
25675
+ {
25676
+ "name": "literal",
25677
+ "type": {
25678
+ "text": ""
25679
+ },
25680
+ "description": "The literal type matches the interface from ITypeName."
25681
+ }
25682
+ ],
25683
+ "description": "Build up the model with the literal type. The literal type matches the interface from ITypeName.",
25684
+ "inheritedFrom": {
25685
+ "name": "FieldNode",
25686
+ "module": "dist/FieldNode.js"
25687
+ }
25688
+ },
25689
+ {
25690
+ "kind": "method",
25691
+ "name": "__setModelValidStateTrue",
25692
+ "privacy": "private",
25693
+ "inheritedFrom": {
25694
+ "name": "FieldNode",
25695
+ "module": "dist/FieldNode.js"
25696
+ }
25697
+ },
25698
+ {
25699
+ "kind": "method",
25700
+ "name": "__stringify",
25701
+ "return": {
25702
+ "type": {
25703
+ "text": "string"
25704
+ }
25705
+ },
25706
+ "inheritedFrom": {
25707
+ "name": "FieldNode",
25708
+ "module": "dist/FieldNode.js"
25709
+ }
25710
+ },
25711
+ {
25712
+ "kind": "method",
25713
+ "name": "__fromProtoNameJson",
25714
+ "privacy": "public",
25715
+ "parameters": [
25716
+ {
25717
+ "name": "data",
25718
+ "type": {
25719
+ "text": "JSON"
25720
+ },
25721
+ "description": "Transport Json"
25722
+ }
25723
+ ],
25724
+ "description": "Build up the model, using the transport Json. If UseProtoNames is set to false, lowerCamelCase is expected.",
25725
+ "inheritedFrom": {
25726
+ "name": "FieldNode",
25727
+ "module": "dist/FieldNode.js"
25728
+ }
25729
+ },
25730
+ {
25731
+ "kind": "field",
25732
+ "name": "__fieldPath",
25733
+ "type": {
25734
+ "text": "string"
25735
+ },
25736
+ "readonly": true,
25737
+ "inheritedFrom": {
25738
+ "name": "FieldNode",
25739
+ "module": "dist/FieldNode.js"
25740
+ }
25741
+ },
25742
+ {
25743
+ "kind": "method",
25744
+ "name": "___pathBuilder",
25745
+ "return": {
25746
+ "type": {
25747
+ "text": "string[]"
25748
+ }
25749
+ },
25750
+ "parameters": [
25751
+ {
25752
+ "name": "parts",
25753
+ "type": {
25754
+ "text": "string[]"
25755
+ }
25756
+ }
25757
+ ],
25758
+ "inheritedFrom": {
25759
+ "name": "FieldNode",
25760
+ "module": "dist/FieldNode.js"
25761
+ }
25762
+ },
25763
+ {
25764
+ "kind": "field",
25765
+ "name": "__label",
25766
+ "type": {
25767
+ "text": "string"
25768
+ },
25769
+ "description": "Returns the formated label using the `OPEN_MODELS_OPTIONS.labelFormatter`",
25770
+ "readonly": true,
25771
+ "inheritedFrom": {
25772
+ "name": "FieldNode",
25773
+ "module": "dist/FieldNode.js"
25774
+ }
25775
+ },
25776
+ {
25777
+ "kind": "field",
25778
+ "name": "__labelRaw",
25779
+ "type": {
25780
+ "text": "string"
25781
+ },
25782
+ "description": "Returns the raw label without any translations, formatters applied.",
25783
+ "readonly": true,
25784
+ "inheritedFrom": {
25785
+ "name": "FieldNode",
25786
+ "module": "dist/FieldNode.js"
25787
+ }
25788
+ },
25789
+ {
25790
+ "kind": "field",
25791
+ "name": "__placeholder",
25792
+ "type": {
25793
+ "text": "string"
25794
+ },
25795
+ "description": "Returns the placeholder label using the `OPEN_MODELS_OPTIONS.labelFormatter`",
25796
+ "readonly": true,
25797
+ "inheritedFrom": {
25798
+ "name": "FieldNode",
25799
+ "module": "dist/FieldNode.js"
25800
+ }
25801
+ },
25802
+ {
25803
+ "kind": "field",
25804
+ "name": "__ariaDescription",
25805
+ "type": {
25806
+ "text": "string"
25807
+ },
25808
+ "description": "Returns the formated aria description using the `OPEN_MODELS_OPTIONS.labelFormatter`",
25809
+ "readonly": true,
25810
+ "inheritedFrom": {
25811
+ "name": "FieldNode",
25812
+ "module": "dist/FieldNode.js"
25813
+ }
25814
+ },
25815
+ {
25816
+ "kind": "method",
25817
+ "name": "__getAllStates",
25818
+ "privacy": "public",
25819
+ "return": {
25820
+ "type": {
25821
+ "text": "ValueStateSummary[]"
25822
+ }
25823
+ },
25824
+ "description": "Returns a list of all states of a node and its children.\n\n```json\n[\n {\n \"field\": \"id\",\n \"state\": \"Error\",\n \"message\": \"This field is invalid\"\n },\n {\n \"field\": \"display_name\",\n \"state\": \"Error\",\n \"message\": \"This field is invalid\"\n }\n]\n```",
25825
+ "inheritedFrom": {
25826
+ "name": "FieldNode",
25827
+ "module": "dist/FieldNode.js"
25828
+ }
25829
+ },
25830
+ {
25831
+ "kind": "method",
25832
+ "name": "___getAllStates",
25833
+ "privacy": "private",
25834
+ "return": {
25835
+ "type": {
25836
+ "text": "ValueStateSummary[]"
25837
+ }
25838
+ },
25839
+ "parameters": [
25840
+ {
25841
+ "name": "carrier",
25842
+ "type": {
25843
+ "text": "ValueStateSummary[]"
25844
+ }
25845
+ }
25846
+ ],
25847
+ "inheritedFrom": {
25848
+ "name": "FieldNode",
25849
+ "module": "dist/FieldNode.js"
25850
+ }
25851
+ },
25852
+ {
25853
+ "kind": "method",
25854
+ "name": "__clearAllValueStates",
25855
+ "privacy": "public",
25856
+ "description": "Clears all value states recursively",
25857
+ "inheritedFrom": {
25858
+ "name": "FieldNode",
25859
+ "module": "dist/FieldNode.js"
25860
+ }
25861
+ },
25862
+ {
25863
+ "kind": "method",
25864
+ "name": "__applyValueStates",
25865
+ "privacy": "public",
25866
+ "parameters": [
25867
+ {
25868
+ "name": "states",
25869
+ "type": {
25870
+ "text": "ValueStateSummary[]"
25871
+ }
25872
+ }
25873
+ ],
25874
+ "description": "Applies a list of states to a node and its children.\n\nKeep in mind, that the message must be already translated.\n\n```json\n{\n \"field\": \"id\",\n \"state\": \"Error\",\n \"message\": \"This field is invalid\"\n}\n\n```",
25875
+ "inheritedFrom": {
25876
+ "name": "FieldNode",
25877
+ "module": "dist/FieldNode.js"
25878
+ }
25879
+ },
25880
+ {
25881
+ "kind": "field",
25882
+ "name": "__isValid",
25883
+ "type": {
25884
+ "text": "boolean"
25885
+ },
25886
+ "privacy": "public",
25887
+ "description": "Returns the valid state of a node.\n- A node is valid when all children are valid.\n- A node is valid when freshly initialized, even when some children have invalid values.\n\nuse `validate()` to be sure to have the correct validity state.\n\nUse __meta.StateMessage to receive the state of a node. The `__meta.StateMessage` is only available on an explicit field, where the validity state is populated upwards.",
25888
+ "readonly": true,
25889
+ "inheritedFrom": {
25890
+ "name": "FieldNode",
25891
+ "module": "dist/FieldNode.js"
25892
+ }
25893
+ },
25894
+ {
25895
+ "kind": "method",
25896
+ "name": "__setValidState",
25897
+ "privacy": "public",
25898
+ "return": {
25899
+ "type": {
25900
+ "text": "void"
25901
+ }
25902
+ },
25903
+ "parameters": [
25904
+ {
25905
+ "name": "valid",
25906
+ "type": {
25907
+ "text": "boolean"
25908
+ }
25909
+ }
25910
+ ],
25911
+ "description": "set the validity of the node. This will trigger no events, just set the __meta.isValid value.\n\nUse this in your customValidators.",
25912
+ "inheritedFrom": {
25913
+ "name": "FieldNode",
25914
+ "module": "dist/FieldNode.js"
25915
+ }
25916
+ },
25917
+ {
25918
+ "kind": "field",
25919
+ "name": "__isPristine",
25920
+ "type": {
25921
+ "text": "boolean"
25922
+ },
25923
+ "privacy": "public",
25924
+ "description": "Initialized fields are pristine as long nothing changes inside the model.\n\nUse this on rootNodes only.",
25925
+ "readonly": true,
25926
+ "inheritedFrom": {
25927
+ "name": "FieldNode",
25928
+ "module": "dist/FieldNode.js"
25929
+ }
25930
+ },
25931
+ {
25932
+ "kind": "method",
25933
+ "name": "valueOf",
25934
+ "privacy": "public",
25935
+ "return": {
25936
+ "type": {
25937
+ "text": "number | bigint"
25938
+ }
25939
+ },
25940
+ "description": "The valueOf() method of Object instances converts the this.value to an object.\nThis method is meant to be overridden by derived objects for custom type conversion logic.",
25941
+ "inheritedFrom": {
25942
+ "name": "FieldNode",
25943
+ "module": "dist/FieldNode.js"
25944
+ }
25945
+ },
25946
+ {
25947
+ "kind": "method",
25948
+ "name": "__getBaseName",
25949
+ "privacy": "protected",
25950
+ "return": {
25951
+ "type": {
25952
+ "text": "string"
25953
+ }
25954
+ },
25955
+ "description": "Helper method to build up labels, placeholders,...",
25956
+ "inheritedFrom": {
25957
+ "name": "FieldNode",
25958
+ "module": "dist/FieldNode.js"
25959
+ }
25960
+ },
25961
+ {
25962
+ "kind": "method",
25963
+ "name": "___fieldNameBuilder",
25964
+ "privacy": "protected",
25965
+ "return": {
25966
+ "type": {
25967
+ "text": "string[]"
25968
+ }
25969
+ },
25970
+ "parameters": [
25971
+ {
25972
+ "name": "parts",
25973
+ "type": {
25974
+ "text": "string[]"
25975
+ }
25976
+ }
25977
+ ],
25978
+ "description": "Helper method to construct the __fieldPath",
25979
+ "inheritedFrom": {
25980
+ "name": "FieldNode",
25981
+ "module": "dist/FieldNode.js"
25982
+ }
25983
+ },
25984
+ {
25985
+ "kind": "method",
25986
+ "name": "__validate",
25987
+ "privacy": "public",
25988
+ "description": "Validate the node and all child nodes of it.",
25989
+ "inheritedFrom": {
25990
+ "name": "FieldNode",
25991
+ "module": "dist/FieldNode.js"
25992
+ }
25993
+ },
25994
+ {
25995
+ "kind": "method",
25996
+ "name": "__validateBottomUp",
25997
+ "privacy": "protected",
25998
+ "parameters": [
25999
+ {
26000
+ "name": "node",
26001
+ "type": {
26002
+ "text": "FieldNode"
26003
+ },
26004
+ "description": "Any FieldNode"
26005
+ }
26006
+ ],
26007
+ "description": "Validates all parents of an element. This is done when you set a value on any child/attribute of a node directly",
26008
+ "inheritedFrom": {
26009
+ "name": "FieldNode",
26010
+ "module": "dist/FieldNode.js"
26011
+ }
26012
+ },
26013
+ {
26014
+ "kind": "method",
26015
+ "name": "__climbUpValidation",
26016
+ "privacy": "protected",
26017
+ "description": "Validates all parent nodes if a sub-field was changed.",
26018
+ "inheritedFrom": {
26019
+ "name": "FieldNode",
26020
+ "module": "dist/FieldNode.js"
26021
+ }
26022
+ },
26023
+ {
26024
+ "kind": "method",
26025
+ "name": "__checkTypeBoundaries",
26026
+ "privacy": "protected",
26027
+ "return": {
26028
+ "type": {
26029
+ "text": "string[] | undefined"
26030
+ }
26031
+ },
26032
+ "description": "Additional \"constraint\" checker for primitive types, i.e. INT32 can only range from -2147483648 to 2147483647, but js uses always a float64 to handle numbers",
26033
+ "inheritedFrom": {
26034
+ "name": "FieldNode",
26035
+ "module": "dist/FieldNode.js"
26036
+ }
26037
+ },
26038
+ {
26039
+ "kind": "method",
26040
+ "name": "__validationExecuter",
26041
+ "privacy": "protected",
26042
+ "parameters": [
26043
+ {
26044
+ "name": "node",
26045
+ "type": {
26046
+ "text": "FieldNode"
26047
+ }
26048
+ }
26049
+ ],
26050
+ "description": "Executes the validation process.",
26051
+ "inheritedFrom": {
26052
+ "name": "FieldNode",
26053
+ "module": "dist/FieldNode.js"
26054
+ }
26055
+ },
26056
+ {
26057
+ "kind": "method",
26058
+ "name": "__getConstraints",
26059
+ "privacy": "public",
26060
+ "return": {
26061
+ "type": {
26062
+ "text": "FieldConstraints | undefined"
26063
+ }
26064
+ },
26065
+ "description": "Receives all constraints of a node. Use this in your custom validators or components.",
26066
+ "inheritedFrom": {
26067
+ "name": "FieldNode",
26068
+ "module": "dist/FieldNode.js"
26069
+ }
26070
+ },
26071
+ {
26072
+ "kind": "method",
26073
+ "name": "__setValueState",
26074
+ "parameters": [
26075
+ {
26076
+ "name": "state",
26077
+ "type": {
26078
+ "text": "ValueState"
26079
+ },
26080
+ "description": "The state of the node."
26081
+ },
26082
+ {
26083
+ "name": "messageAndParams",
26084
+ "type": {
26085
+ "text": "string[]"
26086
+ },
26087
+ "description": "Description for the formatter."
26088
+ }
26089
+ ],
26090
+ "description": "Set the value state",
26091
+ "inheritedFrom": {
26092
+ "name": "FieldNode",
26093
+ "module": "dist/FieldNode.js"
26094
+ }
26095
+ },
26096
+ {
26097
+ "kind": "method",
26098
+ "name": "__reset",
26099
+ "privacy": "public",
26100
+ "description": "Resets the node to the last inserted literal or to the initial state.\n// todo: reset to default values not just the empty state",
26101
+ "inheritedFrom": {
26102
+ "name": "FieldNode",
26103
+ "module": "dist/FieldNode.js"
26104
+ }
26105
+ },
26106
+ {
26107
+ "kind": "method",
26108
+ "name": "__clearOneofSiblings",
26109
+ "privacy": "private",
26110
+ "return": {
26111
+ "type": {
26112
+ "text": "void"
26113
+ }
26114
+ },
26115
+ "parameters": [
26116
+ {
26117
+ "name": "targetNode",
26118
+ "type": {
26119
+ "text": "FieldNode"
26120
+ },
26121
+ "description": "The field being set"
26122
+ }
26123
+ ],
26124
+ "description": "Clears sibling fields in the same oneof group when a field is set.",
26125
+ "inheritedFrom": {
26126
+ "name": "FieldNode",
26127
+ "module": "dist/FieldNode.js"
26128
+ }
26129
+ },
26130
+ {
26131
+ "kind": "method",
26132
+ "name": "__whichOneof",
26133
+ "privacy": "public",
26134
+ "return": {
26135
+ "type": {
26136
+ "text": "string | undefined"
26137
+ }
26138
+ },
26139
+ "parameters": [
26140
+ {
26141
+ "name": "groupName",
26142
+ "type": {
26143
+ "text": "string"
26144
+ },
26145
+ "description": "The name of the oneof group"
26146
+ }
26147
+ ],
26148
+ "description": "Returns the active field name in a oneof group.",
26149
+ "inheritedFrom": {
26150
+ "name": "FieldNode",
26151
+ "module": "dist/FieldNode.js"
26152
+ }
26153
+ },
26154
+ {
26155
+ "kind": "method",
26156
+ "name": "__getOneofFieldNode",
26157
+ "privacy": "public",
26158
+ "return": {
26159
+ "type": {
26160
+ "text": "FieldNode | undefined"
26161
+ }
26162
+ },
26163
+ "parameters": [
26164
+ {
26165
+ "name": "groupName",
26166
+ "type": {
26167
+ "text": "string"
26168
+ },
26169
+ "description": "The name of the oneof group"
26170
+ }
26171
+ ],
26172
+ "description": "Returns the FieldNode of the active oneof field.",
26173
+ "inheritedFrom": {
26174
+ "name": "FieldNode",
26175
+ "module": "dist/FieldNode.js"
26176
+ }
26177
+ },
26178
+ {
26179
+ "kind": "method",
26180
+ "name": "__clearOneof",
26181
+ "privacy": "public",
26182
+ "return": {
26183
+ "type": {
26184
+ "text": "void"
26185
+ }
26186
+ },
26187
+ "parameters": [
26188
+ {
26189
+ "name": "groupName",
26190
+ "type": {
26191
+ "text": "string"
26192
+ },
26193
+ "description": "The name of the oneof group"
26194
+ }
26195
+ ],
26196
+ "description": "Explicitly clears a oneof group so no field is active.",
26197
+ "inheritedFrom": {
26198
+ "name": "FieldNode",
26199
+ "module": "dist/FieldNode.js"
26200
+ }
26201
+ },
26202
+ {
26203
+ "kind": "field",
26204
+ "name": "__oneofGroup",
26205
+ "type": {
26206
+ "text": "string | undefined"
26207
+ },
26208
+ "privacy": "public",
26209
+ "description": "Returns the oneof group name this field belongs to, if any.",
26210
+ "readonly": true,
26211
+ "inheritedFrom": {
26212
+ "name": "FieldNode",
26213
+ "module": "dist/FieldNode.js"
26214
+ }
26215
+ },
26216
+ {
26217
+ "kind": "field",
26218
+ "name": "__isActiveOneofField",
26219
+ "type": {
26220
+ "text": "boolean"
26221
+ },
26222
+ "privacy": "public",
26223
+ "description": "Returns true if this field is the active member of its oneof group.",
26224
+ "readonly": true,
26225
+ "inheritedFrom": {
26226
+ "name": "FieldNode",
26227
+ "module": "dist/FieldNode.js"
26228
+ }
26229
+ },
26230
+ {
26231
+ "kind": "method",
26232
+ "name": "__PrimitivesSetter",
26233
+ "privacy": "protected",
26234
+ "parameters": [
26235
+ {
26236
+ "name": "targetNode",
26237
+ "type": {
26238
+ "text": "FieldNode"
26239
+ },
26240
+ "description": "The field of a FieldNode"
26241
+ },
26242
+ {
26243
+ "name": "value",
26244
+ "type": {
26245
+ "text": "string | boolean | number"
26246
+ },
26247
+ "description": "The value you want to set"
26248
+ }
26249
+ ],
26250
+ "description": "Helper method to update a skalar / primitive field of a type. Used by the generated models.\nTriggers also the validation and clearance, if needed.",
26251
+ "inheritedFrom": {
26252
+ "name": "FieldNode",
26253
+ "module": "dist/FieldNode.js"
26254
+ }
26255
+ },
26256
+ {
26257
+ "kind": "method",
26258
+ "name": "__TypeSetter",
26259
+ "privacy": "protected",
26260
+ "parameters": [
26261
+ {
26262
+ "name": "targetNode",
26263
+ "type": {
26264
+ "text": "FieldNode"
26265
+ },
26266
+ "description": "The field of a FieldNode"
26267
+ },
26268
+ {
26269
+ "name": "literalData",
26270
+ "type": {
26271
+ "text": ""
26272
+ },
26273
+ "description": "The literal type matches the interface from ITypeName."
26274
+ }
26275
+ ],
26276
+ "description": "Helper method to update a field of a type. Used by the generated models.\nTriggers also the validation and clearance, if needed.",
26277
+ "inheritedFrom": {
26278
+ "name": "FieldNode",
26279
+ "module": "dist/FieldNode.js"
26280
+ }
26281
+ },
26282
+ {
26283
+ "kind": "method",
26284
+ "name": "__notifyFieldValueChange",
26285
+ "privacy": "protected",
26286
+ "parameters": [
26287
+ {
26288
+ "name": "bubbles",
26289
+ "optional": true,
26290
+ "type": {
26291
+ "text": "boolean"
26292
+ }
26293
+ }
26294
+ ],
26295
+ "description": "Notifies field changes",
26296
+ "inheritedFrom": {
26297
+ "name": "FieldNode",
26298
+ "module": "dist/FieldNode.js"
26299
+ }
26300
+ },
26301
+ {
26302
+ "kind": "field",
26303
+ "name": "__childNodes",
26304
+ "type": {
26305
+ "text": "any[]"
26306
+ },
26307
+ "privacy": "public",
26308
+ "description": "Returns the child nodes of a node.",
26309
+ "readonly": true,
26310
+ "inheritedFrom": {
26311
+ "name": "FieldNode",
26312
+ "module": "dist/FieldNode.js"
26313
+ }
26314
+ },
26315
+ {
26316
+ "kind": "method",
26317
+ "name": "__broadcastEvent",
26318
+ "parameters": [
26319
+ {
26320
+ "name": "event",
26321
+ "type": {
26322
+ "text": "CustomEvent"
26323
+ }
26324
+ }
26325
+ ],
26326
+ "description": "Broadcast an event to all child nodes of a field node.",
26327
+ "inheritedFrom": {
26328
+ "name": "FieldNode",
26329
+ "module": "dist/FieldNode.js"
26330
+ }
26331
+ },
26332
+ {
26333
+ "kind": "method",
26334
+ "name": "__dispatchEvent",
26335
+ "return": {
26336
+ "type": {
26337
+ "text": "CustomEvent"
26338
+ }
26339
+ },
26340
+ "parameters": [
26341
+ {
26342
+ "name": "event",
26343
+ "type": {
26344
+ "text": "CustomEvent"
26345
+ },
26346
+ "description": "A generic custom event."
26347
+ }
26348
+ ],
26349
+ "description": "Dispatches a custom event on a FieldNode",
26350
+ "inheritedFrom": {
26351
+ "name": "FieldNode",
26352
+ "module": "dist/FieldNode.js"
26353
+ }
26354
+ },
26355
+ {
26356
+ "kind": "method",
26357
+ "name": "__triggerNodeEvents",
26358
+ "privacy": "protected",
26359
+ "parameters": [
26360
+ {
26361
+ "name": "event",
26362
+ "type": {
26363
+ "text": "CustomEvent<FieldNode>"
26364
+ }
26365
+ }
26366
+ ],
26367
+ "description": "Helper method to invoke/execute the event on the current node",
26368
+ "inheritedFrom": {
26369
+ "name": "FieldNode",
26370
+ "module": "dist/FieldNode.js"
26371
+ }
26372
+ },
26373
+ {
26374
+ "kind": "method",
26375
+ "name": "__addEventListener",
26376
+ "privacy": "public",
26377
+ "return": {
26378
+ "type": {
26379
+ "text": "void"
26380
+ }
26381
+ },
26382
+ "parameters": [
26383
+ {
26384
+ "name": "type",
26385
+ "type": {
26386
+ "text": "string"
26387
+ },
26388
+ "description": "A case-sensitive string representing the event type to listen for."
26389
+ },
26390
+ {
26391
+ "name": "listener",
26392
+ "type": {
26393
+ "text": "function"
26394
+ },
26395
+ "description": "The object that receives a notification (an object that implements the Event interface) when an event of the specified type occurs. This must be null, an object with a handleEvent() method, or a JavaScript function. See The event listener callback for details on the callback itself."
26396
+ },
26397
+ {
26398
+ "name": "options",
26399
+ "optional": true,
26400
+ "type": {
26401
+ "text": ""
26402
+ },
26403
+ "description": "An object that specifies characteristics about the event listener. \\n\\nThe available option is `once:boolean`"
26404
+ }
26405
+ ],
26406
+ "description": "Add a handler to a node",
26407
+ "inheritedFrom": {
26408
+ "name": "FieldNode",
26409
+ "module": "dist/FieldNode.js"
26410
+ }
26411
+ },
26412
+ {
26413
+ "kind": "method",
26414
+ "name": "__addCustomEventListener",
26415
+ "privacy": "public",
26416
+ "return": {
26417
+ "type": {
26418
+ "text": "void"
26419
+ }
26420
+ },
26421
+ "parameters": [
26422
+ {
26423
+ "name": "type",
26424
+ "type": {
26425
+ "text": "string"
26426
+ }
26427
+ },
26428
+ {
26429
+ "name": "handler",
26430
+ "type": {
26431
+ "text": "CustomEventListener"
26432
+ }
26433
+ },
26434
+ {
26435
+ "name": "options",
26436
+ "optional": true,
26437
+ "type": {
26438
+ "text": "boolean | AddEventListenerOptions"
26439
+ }
26440
+ }
26441
+ ],
26442
+ "inheritedFrom": {
26443
+ "name": "FieldNode",
26444
+ "module": "dist/FieldNode.js"
26445
+ }
26446
+ },
26447
+ {
26448
+ "kind": "method",
26449
+ "name": "__removeEventListener",
26450
+ "privacy": "public",
26451
+ "return": {
26452
+ "type": {
26453
+ "text": "void"
26454
+ }
26455
+ },
26456
+ "parameters": [
26457
+ {
26458
+ "name": "type",
26459
+ "type": {
26460
+ "text": "ModelEventType"
26461
+ }
26462
+ },
26463
+ {
26464
+ "name": "handler",
26465
+ "type": {
26466
+ "text": "CustomEventListener"
26467
+ }
26468
+ },
26469
+ {
26470
+ "name": "_options",
26471
+ "optional": true,
26472
+ "type": {
26473
+ "text": "boolean | EventListenerOptions"
26474
+ }
26475
+ }
26476
+ ],
26477
+ "description": "Removes the handler from a node",
26478
+ "inheritedFrom": {
26479
+ "name": "FieldNode",
26480
+ "module": "dist/FieldNode.js"
26481
+ }
26482
+ },
26483
+ {
26484
+ "kind": "method",
26485
+ "name": "__removeCustomEventListener",
26486
+ "privacy": "public",
26487
+ "return": {
26488
+ "type": {
26489
+ "text": "void"
26490
+ }
26491
+ },
26492
+ "parameters": [
26493
+ {
26494
+ "name": "type",
26495
+ "type": {
26496
+ "text": "string"
26497
+ }
26498
+ },
26499
+ {
26500
+ "name": "handler",
26501
+ "type": {
26502
+ "text": "CustomEventListener"
26503
+ }
26504
+ },
26505
+ {
26506
+ "name": "_options",
26507
+ "optional": true,
26508
+ "type": {
26509
+ "text": "boolean | EventListenerOptions"
26510
+ }
26511
+ }
26512
+ ],
26513
+ "description": "Removes the handler from a node",
26514
+ "inheritedFrom": {
26515
+ "name": "FieldNode",
26516
+ "module": "dist/FieldNode.js"
26517
+ }
26518
+ },
26519
+ {
26520
+ "kind": "method",
26521
+ "name": "___updateNotEmptyPath",
26522
+ "privacy": "private",
26523
+ "description": "if some child is not empty, set isEmpty to false, all the way up to the root node",
26524
+ "inheritedFrom": {
26525
+ "name": "FieldNode",
26526
+ "module": "dist/FieldNode.js"
26527
+ }
26528
+ },
26529
+ {
26530
+ "kind": "method",
26531
+ "name": "__toLowerCamelCase",
26532
+ "privacy": "private",
26533
+ "parameters": [
26534
+ {
26535
+ "name": "string",
26536
+ "type": {
26537
+ "text": "string"
26538
+ }
26539
+ }
26540
+ ],
26541
+ "inheritedFrom": {
26542
+ "name": "FieldNode",
26543
+ "module": "dist/FieldNode.js"
26544
+ }
26545
+ },
26546
+ {
26547
+ "kind": "method",
26548
+ "name": "__toLowerCamelCaseWithoutXPrefix",
26549
+ "privacy": "protected",
26550
+ "parameters": [
26551
+ {
26552
+ "name": "string",
26553
+ "type": {
26554
+ "text": "string"
26555
+ }
26556
+ }
26557
+ ],
26558
+ "inheritedFrom": {
26559
+ "name": "FieldNode",
26560
+ "module": "dist/FieldNode.js"
26561
+ }
26562
+ },
26563
+ {
26564
+ "kind": "method",
26565
+ "name": "__toSnakeCase",
26566
+ "privacy": "private",
26567
+ "return": {
26568
+ "type": {
26569
+ "text": "string"
26570
+ }
26571
+ },
26572
+ "parameters": [
26573
+ {
26574
+ "name": "string",
26575
+ "type": {
26576
+ "text": "string"
26577
+ }
26578
+ }
26579
+ ],
26580
+ "inheritedFrom": {
26581
+ "name": "FieldNode",
26582
+ "module": "dist/FieldNode.js"
26583
+ }
26584
+ },
26585
+ {
26586
+ "kind": "field",
26587
+ "name": "fieldName",
26588
+ "default": "parentAttributeName",
26589
+ "inheritedFrom": {
26590
+ "name": "FieldNode",
26591
+ "module": "dist/FieldNode.js"
26592
+ }
26593
+ }
26594
+ ],
26595
+ "superclass": {
26596
+ "name": "FieldNode",
26597
+ "module": "/src/FieldNode"
26598
+ }
26599
+ }
26600
+ ],
26601
+ "exports": [
26602
+ {
26603
+ "kind": "js",
26604
+ "name": "BytesValue",
25330
26605
  "declaration": {
25331
- "name": "BoolValue",
25332
- "module": "src/well_known/BoolValue.ts"
26606
+ "name": "BytesValue",
26607
+ "module": "src/well_known/BytesValue.ts"
25333
26608
  }
25334
26609
  }
25335
26610
  ]
25336
26611
  },
25337
26612
  {
25338
26613
  "kind": "javascript-module",
25339
- "path": "dist/well_known/BytesValue.js",
26614
+ "path": "dist/well_known/DoubleValue.js",
25340
26615
  "declarations": [
25341
26616
  {
25342
26617
  "kind": "class",
25343
26618
  "description": "",
25344
- "name": "BytesValue",
26619
+ "name": "DoubleValue",
25345
26620
  "members": [
25346
26621
  {
25347
26622
  "kind": "field",
25348
26623
  "name": "value",
25349
26624
  "type": {
25350
- "text": "string"
26625
+ "text": "number"
25351
26626
  }
25352
26627
  },
25353
26628
  {
25354
26629
  "kind": "field",
25355
26630
  "name": "_value",
25356
26631
  "type": {
25357
- "text": "string | null"
26632
+ "text": "number | null"
25358
26633
  },
25359
26634
  "privacy": "public",
25360
- "default": "\"\""
26635
+ "default": "0"
25361
26636
  },
25362
26637
  {
25363
26638
  "kind": "method",
@@ -25366,7 +26641,7 @@
25366
26641
  {
25367
26642
  "name": "v",
25368
26643
  "type": {
25369
- "text": "string | null"
26644
+ "text": "number | null"
25370
26645
  }
25371
26646
  }
25372
26647
  ],
@@ -25381,14 +26656,14 @@
25381
26656
  "name": "__mapProtoNameJsonToJson",
25382
26657
  "return": {
25383
26658
  "type": {
25384
- "text": "string"
26659
+ "text": "number"
25385
26660
  }
25386
26661
  },
25387
26662
  "parameters": [
25388
26663
  {
25389
26664
  "name": "data",
25390
26665
  "type": {
25391
- "text": "string"
26666
+ "text": "number"
25392
26667
  }
25393
26668
  }
25394
26669
  ],
@@ -25403,7 +26678,7 @@
25403
26678
  "name": "__toJson",
25404
26679
  "return": {
25405
26680
  "type": {
25406
- "text": "string | null"
26681
+ "text": "number | null"
25407
26682
  }
25408
26683
  },
25409
26684
  "description": "Converts the model to a JSON struct wich matches the protobuf spec.\nIf the `UseProtoNames` option is set to false, lowerCamelCase is produced.",
@@ -25412,6 +26687,21 @@
25412
26687
  "module": "dist/FieldNode.js"
25413
26688
  }
25414
26689
  },
26690
+ {
26691
+ "kind": "method",
26692
+ "name": "valueOf",
26693
+ "privacy": "public",
26694
+ "return": {
26695
+ "type": {
26696
+ "text": "number"
26697
+ }
26698
+ },
26699
+ "description": "The valueOf() method of Object instances converts the this.value to an object.\nThis method is meant to be overridden by derived objects for custom type conversion logic.",
26700
+ "inheritedFrom": {
26701
+ "name": "FieldNode",
26702
+ "module": "dist/FieldNode.js"
26703
+ }
26704
+ },
25415
26705
  {
25416
26706
  "kind": "method",
25417
26707
  "name": "__toLiteral",
@@ -25427,6 +26717,21 @@
25427
26717
  "module": "dist/FieldNode.js"
25428
26718
  }
25429
26719
  },
26720
+ {
26721
+ "kind": "method",
26722
+ "name": "__checkTypeBoundaries",
26723
+ "privacy": "protected",
26724
+ "return": {
26725
+ "type": {
26726
+ "text": "string[] | undefined"
26727
+ }
26728
+ },
26729
+ "description": "Additional \"constraint\" checker for primitive types, i.e. INT32 can only range from -2147483648 to 2147483647, but js uses always a float64 to handle numbers",
26730
+ "inheritedFrom": {
26731
+ "name": "FieldNode",
26732
+ "module": "dist/FieldNode.js"
26733
+ }
26734
+ },
25430
26735
  {
25431
26736
  "kind": "method",
25432
26737
  "name": "__checkConstraints",
@@ -25504,7 +26809,7 @@
25504
26809
  "type": {
25505
26810
  "text": "string"
25506
26811
  },
25507
- "default": "\"google.protobuf.BytesValue\""
26812
+ "default": "\"google.protobuf.DoubleValue\""
25508
26813
  },
25509
26814
  {
25510
26815
  "kind": "field",
@@ -25920,21 +27225,6 @@
25920
27225
  "module": "dist/FieldNode.js"
25921
27226
  }
25922
27227
  },
25923
- {
25924
- "kind": "method",
25925
- "name": "valueOf",
25926
- "privacy": "public",
25927
- "return": {
25928
- "type": {
25929
- "text": "number | bigint"
25930
- }
25931
- },
25932
- "description": "The valueOf() method of Object instances converts the this.value to an object.\nThis method is meant to be overridden by derived objects for custom type conversion logic.",
25933
- "inheritedFrom": {
25934
- "name": "FieldNode",
25935
- "module": "dist/FieldNode.js"
25936
- }
25937
- },
25938
27228
  {
25939
27229
  "kind": "method",
25940
27230
  "name": "__getBaseName",
@@ -26012,21 +27302,6 @@
26012
27302
  "module": "dist/FieldNode.js"
26013
27303
  }
26014
27304
  },
26015
- {
26016
- "kind": "method",
26017
- "name": "__checkTypeBoundaries",
26018
- "privacy": "protected",
26019
- "return": {
26020
- "type": {
26021
- "text": "string[] | undefined"
26022
- }
26023
- },
26024
- "description": "Additional \"constraint\" checker for primitive types, i.e. INT32 can only range from -2147483648 to 2147483647, but js uses always a float64 to handle numbers",
26025
- "inheritedFrom": {
26026
- "name": "FieldNode",
26027
- "module": "dist/FieldNode.js"
26028
- }
26029
- },
26030
27305
  {
26031
27306
  "kind": "method",
26032
27307
  "name": "__validationExecuter",
@@ -26593,38 +27868,38 @@
26593
27868
  "exports": [
26594
27869
  {
26595
27870
  "kind": "js",
26596
- "name": "BytesValue",
27871
+ "name": "DoubleValue",
26597
27872
  "declaration": {
26598
- "name": "BytesValue",
26599
- "module": "src/well_known/BytesValue.ts"
27873
+ "name": "DoubleValue",
27874
+ "module": "src/well_known/DoubleValue.ts"
26600
27875
  }
26601
27876
  }
26602
27877
  ]
26603
27878
  },
26604
27879
  {
26605
27880
  "kind": "javascript-module",
26606
- "path": "dist/well_known/DoubleValue.js",
27881
+ "path": "dist/well_known/Duration.js",
26607
27882
  "declarations": [
26608
27883
  {
26609
27884
  "kind": "class",
26610
27885
  "description": "",
26611
- "name": "DoubleValue",
27886
+ "name": "Duration",
26612
27887
  "members": [
26613
27888
  {
26614
27889
  "kind": "field",
26615
27890
  "name": "value",
26616
27891
  "type": {
26617
- "text": "number"
27892
+ "text": "string"
26618
27893
  }
26619
27894
  },
26620
27895
  {
26621
27896
  "kind": "field",
26622
27897
  "name": "_value",
26623
27898
  "type": {
26624
- "text": "number | null"
27899
+ "text": "string | null"
26625
27900
  },
26626
27901
  "privacy": "public",
26627
- "default": "0"
27902
+ "default": "\"\""
26628
27903
  },
26629
27904
  {
26630
27905
  "kind": "method",
@@ -26633,7 +27908,7 @@
26633
27908
  {
26634
27909
  "name": "v",
26635
27910
  "type": {
26636
- "text": "number | null"
27911
+ "text": "string | null"
26637
27912
  }
26638
27913
  }
26639
27914
  ],
@@ -26648,14 +27923,14 @@
26648
27923
  "name": "__mapProtoNameJsonToJson",
26649
27924
  "return": {
26650
27925
  "type": {
26651
- "text": "number"
27926
+ "text": "string"
26652
27927
  }
26653
27928
  },
26654
27929
  "parameters": [
26655
27930
  {
26656
27931
  "name": "data",
26657
27932
  "type": {
26658
- "text": "number"
27933
+ "text": "string"
26659
27934
  }
26660
27935
  }
26661
27936
  ],
@@ -26670,7 +27945,7 @@
26670
27945
  "name": "__toJson",
26671
27946
  "return": {
26672
27947
  "type": {
26673
- "text": "number | null"
27948
+ "text": "string | null"
26674
27949
  }
26675
27950
  },
26676
27951
  "description": "Converts the model to a JSON struct wich matches the protobuf spec.\nIf the `UseProtoNames` option is set to false, lowerCamelCase is produced.",
@@ -26679,21 +27954,6 @@
26679
27954
  "module": "dist/FieldNode.js"
26680
27955
  }
26681
27956
  },
26682
- {
26683
- "kind": "method",
26684
- "name": "valueOf",
26685
- "privacy": "public",
26686
- "return": {
26687
- "type": {
26688
- "text": "number"
26689
- }
26690
- },
26691
- "description": "The valueOf() method of Object instances converts the this.value to an object.\nThis method is meant to be overridden by derived objects for custom type conversion logic.",
26692
- "inheritedFrom": {
26693
- "name": "FieldNode",
26694
- "module": "dist/FieldNode.js"
26695
- }
26696
- },
26697
27957
  {
26698
27958
  "kind": "method",
26699
27959
  "name": "__toLiteral",
@@ -26709,21 +27969,6 @@
26709
27969
  "module": "dist/FieldNode.js"
26710
27970
  }
26711
27971
  },
26712
- {
26713
- "kind": "method",
26714
- "name": "__checkTypeBoundaries",
26715
- "privacy": "protected",
26716
- "return": {
26717
- "type": {
26718
- "text": "string[] | undefined"
26719
- }
26720
- },
26721
- "description": "Additional \"constraint\" checker for primitive types, i.e. INT32 can only range from -2147483648 to 2147483647, but js uses always a float64 to handle numbers",
26722
- "inheritedFrom": {
26723
- "name": "FieldNode",
26724
- "module": "dist/FieldNode.js"
26725
- }
26726
- },
26727
27972
  {
26728
27973
  "kind": "method",
26729
27974
  "name": "__checkConstraints",
@@ -26801,7 +28046,7 @@
26801
28046
  "type": {
26802
28047
  "text": "string"
26803
28048
  },
26804
- "default": "\"google.protobuf.DoubleValue\""
28049
+ "default": "\"google.protobuf.Duration\""
26805
28050
  },
26806
28051
  {
26807
28052
  "kind": "field",
@@ -27217,6 +28462,21 @@
27217
28462
  "module": "dist/FieldNode.js"
27218
28463
  }
27219
28464
  },
28465
+ {
28466
+ "kind": "method",
28467
+ "name": "valueOf",
28468
+ "privacy": "public",
28469
+ "return": {
28470
+ "type": {
28471
+ "text": "number | bigint"
28472
+ }
28473
+ },
28474
+ "description": "The valueOf() method of Object instances converts the this.value to an object.\nThis method is meant to be overridden by derived objects for custom type conversion logic.",
28475
+ "inheritedFrom": {
28476
+ "name": "FieldNode",
28477
+ "module": "dist/FieldNode.js"
28478
+ }
28479
+ },
27220
28480
  {
27221
28481
  "kind": "method",
27222
28482
  "name": "__getBaseName",
@@ -27294,6 +28554,21 @@
27294
28554
  "module": "dist/FieldNode.js"
27295
28555
  }
27296
28556
  },
28557
+ {
28558
+ "kind": "method",
28559
+ "name": "__checkTypeBoundaries",
28560
+ "privacy": "protected",
28561
+ "return": {
28562
+ "type": {
28563
+ "text": "string[] | undefined"
28564
+ }
28565
+ },
28566
+ "description": "Additional \"constraint\" checker for primitive types, i.e. INT32 can only range from -2147483648 to 2147483647, but js uses always a float64 to handle numbers",
28567
+ "inheritedFrom": {
28568
+ "name": "FieldNode",
28569
+ "module": "dist/FieldNode.js"
28570
+ }
28571
+ },
27297
28572
  {
27298
28573
  "kind": "method",
27299
28574
  "name": "__validationExecuter",
@@ -27860,47 +29135,47 @@
27860
29135
  "exports": [
27861
29136
  {
27862
29137
  "kind": "js",
27863
- "name": "DoubleValue",
29138
+ "name": "Duration",
27864
29139
  "declaration": {
27865
- "name": "DoubleValue",
27866
- "module": "src/well_known/DoubleValue.ts"
29140
+ "name": "Duration",
29141
+ "module": "src/well_known/Duration.ts"
27867
29142
  }
27868
29143
  }
27869
29144
  ]
27870
29145
  },
27871
29146
  {
27872
29147
  "kind": "javascript-module",
27873
- "path": "dist/well_known/Duration.js",
29148
+ "path": "dist/well_known/EMPTY.js",
27874
29149
  "declarations": [
27875
29150
  {
27876
29151
  "kind": "class",
27877
29152
  "description": "",
27878
- "name": "Duration",
29153
+ "name": "EMPTY",
27879
29154
  "members": [
27880
29155
  {
27881
29156
  "kind": "field",
27882
29157
  "name": "value",
27883
29158
  "type": {
27884
- "text": "string"
29159
+ "text": "Record<string, never>"
27885
29160
  }
27886
29161
  },
27887
29162
  {
27888
29163
  "kind": "field",
27889
29164
  "name": "_value",
27890
29165
  "type": {
27891
- "text": "string | null"
29166
+ "text": "Record<string, never>"
27892
29167
  },
27893
29168
  "privacy": "public",
27894
- "default": "\"\""
29169
+ "default": "{}"
27895
29170
  },
27896
29171
  {
27897
29172
  "kind": "method",
27898
29173
  "name": "__updateWithLiteral",
27899
29174
  "parameters": [
27900
29175
  {
27901
- "name": "v",
29176
+ "name": "_",
27902
29177
  "type": {
27903
- "text": "string | null"
29178
+ "text": "Record<string, never>"
27904
29179
  }
27905
29180
  }
27906
29181
  ],
@@ -27915,14 +29190,14 @@
27915
29190
  "name": "__mapProtoNameJsonToJson",
27916
29191
  "return": {
27917
29192
  "type": {
27918
- "text": "string"
29193
+ "text": "number"
27919
29194
  }
27920
29195
  },
27921
29196
  "parameters": [
27922
29197
  {
27923
29198
  "name": "data",
27924
29199
  "type": {
27925
- "text": "string"
29200
+ "text": "number"
27926
29201
  }
27927
29202
  }
27928
29203
  ],
@@ -27937,7 +29212,7 @@
27937
29212
  "name": "__toJson",
27938
29213
  "return": {
27939
29214
  "type": {
27940
- "text": "string | null"
29215
+ "text": "Record<string, never> | null"
27941
29216
  }
27942
29217
  },
27943
29218
  "description": "Converts the model to a JSON struct wich matches the protobuf spec.\nIf the `UseProtoNames` option is set to false, lowerCamelCase is produced.",
@@ -27948,14 +29223,14 @@
27948
29223
  },
27949
29224
  {
27950
29225
  "kind": "method",
27951
- "name": "__toLiteral",
29226
+ "name": "valueOf",
27952
29227
  "privacy": "public",
27953
29228
  "return": {
27954
29229
  "type": {
27955
- "text": "any"
29230
+ "text": "number"
27956
29231
  }
27957
29232
  },
27958
- "description": "Converts the model to a literal type. The literal type matches the interface from ITypeName.",
29233
+ "description": "The valueOf() method of Object instances converts the this.value to an object.\nThis method is meant to be overridden by derived objects for custom type conversion logic.",
27959
29234
  "inheritedFrom": {
27960
29235
  "name": "FieldNode",
27961
29236
  "module": "dist/FieldNode.js"
@@ -27963,21 +29238,14 @@
27963
29238
  },
27964
29239
  {
27965
29240
  "kind": "method",
27966
- "name": "__checkConstraints",
27967
- "privacy": "protected",
29241
+ "name": "__toLiteral",
29242
+ "privacy": "public",
27968
29243
  "return": {
27969
29244
  "type": {
27970
- "text": "string[] | undefined"
29245
+ "text": "any"
27971
29246
  }
27972
29247
  },
27973
- "parameters": [
27974
- {
27975
- "name": "fieldConstraints",
27976
- "type": {
27977
- "text": "FieldConstraints"
27978
- }
27979
- }
27980
- ],
29248
+ "description": "Converts the model to a literal type. The literal type matches the interface from ITypeName.",
27981
29249
  "inheritedFrom": {
27982
29250
  "name": "FieldNode",
27983
29251
  "module": "dist/FieldNode.js"
@@ -28026,7 +29294,7 @@
28026
29294
  "type": {
28027
29295
  "text": "boolean"
28028
29296
  },
28029
- "default": "!(OPEN_MODELS_OPTIONS.EmitDefaultValues || OPEN_MODELS_OPTIONS.EmitUnpopulated)",
29297
+ "default": "true",
28030
29298
  "inheritedFrom": {
28031
29299
  "name": "FieldNode",
28032
29300
  "module": "dist/FieldNode.js"
@@ -28038,7 +29306,7 @@
28038
29306
  "type": {
28039
29307
  "text": "string"
28040
29308
  },
28041
- "default": "\"google.protobuf.Duration\""
29309
+ "default": "\"google.protobuf.Empty\""
28042
29310
  },
28043
29311
  {
28044
29312
  "kind": "field",
@@ -28454,21 +29722,6 @@
28454
29722
  "module": "dist/FieldNode.js"
28455
29723
  }
28456
29724
  },
28457
- {
28458
- "kind": "method",
28459
- "name": "valueOf",
28460
- "privacy": "public",
28461
- "return": {
28462
- "type": {
28463
- "text": "number | bigint"
28464
- }
28465
- },
28466
- "description": "The valueOf() method of Object instances converts the this.value to an object.\nThis method is meant to be overridden by derived objects for custom type conversion logic.",
28467
- "inheritedFrom": {
28468
- "name": "FieldNode",
28469
- "module": "dist/FieldNode.js"
28470
- }
28471
- },
28472
29725
  {
28473
29726
  "kind": "method",
28474
29727
  "name": "__getBaseName",
@@ -29052,6 +30305,28 @@
29052
30305
  "module": "dist/FieldNode.js"
29053
30306
  }
29054
30307
  },
30308
+ {
30309
+ "kind": "method",
30310
+ "name": "__checkConstraints",
30311
+ "privacy": "protected",
30312
+ "return": {
30313
+ "type": {
30314
+ "text": "string[] | undefined"
30315
+ }
30316
+ },
30317
+ "parameters": [
30318
+ {
30319
+ "name": "fieldConstraints",
30320
+ "type": {
30321
+ "text": "FieldConstraints"
30322
+ }
30323
+ }
30324
+ ],
30325
+ "inheritedFrom": {
30326
+ "name": "FieldNode",
30327
+ "module": "dist/FieldNode.js"
30328
+ }
30329
+ },
29055
30330
  {
29056
30331
  "kind": "method",
29057
30332
  "name": "__toLowerCamelCase",
@@ -29127,47 +30402,47 @@
29127
30402
  "exports": [
29128
30403
  {
29129
30404
  "kind": "js",
29130
- "name": "Duration",
30405
+ "name": "EMPTY",
29131
30406
  "declaration": {
29132
- "name": "Duration",
29133
- "module": "src/well_known/Duration.ts"
30407
+ "name": "EMPTY",
30408
+ "module": "src/well_known/EMPTY.ts"
29134
30409
  }
29135
30410
  }
29136
30411
  ]
29137
30412
  },
29138
30413
  {
29139
30414
  "kind": "javascript-module",
29140
- "path": "dist/well_known/EMPTY.js",
30415
+ "path": "dist/well_known/FieldMask.js",
29141
30416
  "declarations": [
29142
30417
  {
29143
30418
  "kind": "class",
29144
30419
  "description": "",
29145
- "name": "EMPTY",
30420
+ "name": "FieldMask",
29146
30421
  "members": [
29147
30422
  {
29148
30423
  "kind": "field",
29149
30424
  "name": "value",
29150
30425
  "type": {
29151
- "text": "Record<string, never>"
30426
+ "text": "string"
29152
30427
  }
29153
30428
  },
29154
30429
  {
29155
30430
  "kind": "field",
29156
30431
  "name": "_value",
29157
30432
  "type": {
29158
- "text": "Record<string, never>"
30433
+ "text": "string | null"
29159
30434
  },
29160
30435
  "privacy": "public",
29161
- "default": "{}"
30436
+ "default": "\"\""
29162
30437
  },
29163
30438
  {
29164
30439
  "kind": "method",
29165
30440
  "name": "__updateWithLiteral",
29166
30441
  "parameters": [
29167
30442
  {
29168
- "name": "_",
30443
+ "name": "v",
29169
30444
  "type": {
29170
- "text": "Record<string, never>"
30445
+ "text": "string | null"
29171
30446
  }
29172
30447
  }
29173
30448
  ],
@@ -29182,14 +30457,14 @@
29182
30457
  "name": "__mapProtoNameJsonToJson",
29183
30458
  "return": {
29184
30459
  "type": {
29185
- "text": "number"
30460
+ "text": "string"
29186
30461
  }
29187
30462
  },
29188
30463
  "parameters": [
29189
30464
  {
29190
30465
  "name": "data",
29191
30466
  "type": {
29192
- "text": "number"
30467
+ "text": "string"
29193
30468
  }
29194
30469
  }
29195
30470
  ],
@@ -29204,7 +30479,7 @@
29204
30479
  "name": "__toJson",
29205
30480
  "return": {
29206
30481
  "type": {
29207
- "text": "Record<string, never> | null"
30482
+ "text": "string | null"
29208
30483
  }
29209
30484
  },
29210
30485
  "description": "Converts the model to a JSON struct wich matches the protobuf spec.\nIf the `UseProtoNames` option is set to false, lowerCamelCase is produced.",
@@ -29215,14 +30490,14 @@
29215
30490
  },
29216
30491
  {
29217
30492
  "kind": "method",
29218
- "name": "valueOf",
30493
+ "name": "__toLiteral",
29219
30494
  "privacy": "public",
29220
30495
  "return": {
29221
30496
  "type": {
29222
- "text": "number"
30497
+ "text": "any"
29223
30498
  }
29224
30499
  },
29225
- "description": "The valueOf() method of Object instances converts the this.value to an object.\nThis method is meant to be overridden by derived objects for custom type conversion logic.",
30500
+ "description": "Converts the model to a literal type. The literal type matches the interface from ITypeName.",
29226
30501
  "inheritedFrom": {
29227
30502
  "name": "FieldNode",
29228
30503
  "module": "dist/FieldNode.js"
@@ -29230,14 +30505,21 @@
29230
30505
  },
29231
30506
  {
29232
30507
  "kind": "method",
29233
- "name": "__toLiteral",
29234
- "privacy": "public",
30508
+ "name": "__checkConstraints",
30509
+ "privacy": "protected",
29235
30510
  "return": {
29236
30511
  "type": {
29237
- "text": "any"
30512
+ "text": "string[] | undefined"
29238
30513
  }
29239
30514
  },
29240
- "description": "Converts the model to a literal type. The literal type matches the interface from ITypeName.",
30515
+ "parameters": [
30516
+ {
30517
+ "name": "fieldConstraints",
30518
+ "type": {
30519
+ "text": "FieldConstraints"
30520
+ }
30521
+ }
30522
+ ],
29241
30523
  "inheritedFrom": {
29242
30524
  "name": "FieldNode",
29243
30525
  "module": "dist/FieldNode.js"
@@ -29286,7 +30568,7 @@
29286
30568
  "type": {
29287
30569
  "text": "boolean"
29288
30570
  },
29289
- "default": "true",
30571
+ "default": "!(OPEN_MODELS_OPTIONS.EmitDefaultValues || OPEN_MODELS_OPTIONS.EmitUnpopulated)",
29290
30572
  "inheritedFrom": {
29291
30573
  "name": "FieldNode",
29292
30574
  "module": "dist/FieldNode.js"
@@ -29298,7 +30580,7 @@
29298
30580
  "type": {
29299
30581
  "text": "string"
29300
30582
  },
29301
- "default": "\"google.protobuf.Empty\""
30583
+ "default": "\"google.protobuf.FieldMask\""
29302
30584
  },
29303
30585
  {
29304
30586
  "kind": "field",
@@ -29714,6 +30996,21 @@
29714
30996
  "module": "dist/FieldNode.js"
29715
30997
  }
29716
30998
  },
30999
+ {
31000
+ "kind": "method",
31001
+ "name": "valueOf",
31002
+ "privacy": "public",
31003
+ "return": {
31004
+ "type": {
31005
+ "text": "number | bigint"
31006
+ }
31007
+ },
31008
+ "description": "The valueOf() method of Object instances converts the this.value to an object.\nThis method is meant to be overridden by derived objects for custom type conversion logic.",
31009
+ "inheritedFrom": {
31010
+ "name": "FieldNode",
31011
+ "module": "dist/FieldNode.js"
31012
+ }
31013
+ },
29717
31014
  {
29718
31015
  "kind": "method",
29719
31016
  "name": "__getBaseName",
@@ -30297,28 +31594,6 @@
30297
31594
  "module": "dist/FieldNode.js"
30298
31595
  }
30299
31596
  },
30300
- {
30301
- "kind": "method",
30302
- "name": "__checkConstraints",
30303
- "privacy": "protected",
30304
- "return": {
30305
- "type": {
30306
- "text": "string[] | undefined"
30307
- }
30308
- },
30309
- "parameters": [
30310
- {
30311
- "name": "fieldConstraints",
30312
- "type": {
30313
- "text": "FieldConstraints"
30314
- }
30315
- }
30316
- ],
30317
- "inheritedFrom": {
30318
- "name": "FieldNode",
30319
- "module": "dist/FieldNode.js"
30320
- }
30321
- },
30322
31597
  {
30323
31598
  "kind": "method",
30324
31599
  "name": "__toLowerCamelCase",
@@ -30394,38 +31669,38 @@
30394
31669
  "exports": [
30395
31670
  {
30396
31671
  "kind": "js",
30397
- "name": "EMPTY",
31672
+ "name": "FieldMask",
30398
31673
  "declaration": {
30399
- "name": "EMPTY",
30400
- "module": "src/well_known/EMPTY.ts"
31674
+ "name": "FieldMask",
31675
+ "module": "src/well_known/FieldMask.ts"
30401
31676
  }
30402
31677
  }
30403
31678
  ]
30404
31679
  },
30405
31680
  {
30406
31681
  "kind": "javascript-module",
30407
- "path": "dist/well_known/FieldMask.js",
31682
+ "path": "dist/well_known/FloatValue.js",
30408
31683
  "declarations": [
30409
31684
  {
30410
31685
  "kind": "class",
30411
31686
  "description": "",
30412
- "name": "FieldMask",
31687
+ "name": "FloatValue",
30413
31688
  "members": [
30414
31689
  {
30415
31690
  "kind": "field",
30416
31691
  "name": "value",
30417
31692
  "type": {
30418
- "text": "string"
31693
+ "text": "number"
30419
31694
  }
30420
31695
  },
30421
31696
  {
30422
31697
  "kind": "field",
30423
31698
  "name": "_value",
30424
31699
  "type": {
30425
- "text": "string | null"
31700
+ "text": "number | null"
30426
31701
  },
30427
31702
  "privacy": "public",
30428
- "default": "\"\""
31703
+ "default": "0"
30429
31704
  },
30430
31705
  {
30431
31706
  "kind": "method",
@@ -30434,7 +31709,7 @@
30434
31709
  {
30435
31710
  "name": "v",
30436
31711
  "type": {
30437
- "text": "string | null"
31712
+ "text": "number | null"
30438
31713
  }
30439
31714
  }
30440
31715
  ],
@@ -30449,14 +31724,14 @@
30449
31724
  "name": "__mapProtoNameJsonToJson",
30450
31725
  "return": {
30451
31726
  "type": {
30452
- "text": "string"
31727
+ "text": "number"
30453
31728
  }
30454
31729
  },
30455
31730
  "parameters": [
30456
31731
  {
30457
31732
  "name": "data",
30458
31733
  "type": {
30459
- "text": "string"
31734
+ "text": "number"
30460
31735
  }
30461
31736
  }
30462
31737
  ],
@@ -30471,7 +31746,7 @@
30471
31746
  "name": "__toJson",
30472
31747
  "return": {
30473
31748
  "type": {
30474
- "text": "string | null"
31749
+ "text": "number | null"
30475
31750
  }
30476
31751
  },
30477
31752
  "description": "Converts the model to a JSON struct wich matches the protobuf spec.\nIf the `UseProtoNames` option is set to false, lowerCamelCase is produced.",
@@ -30480,6 +31755,21 @@
30480
31755
  "module": "dist/FieldNode.js"
30481
31756
  }
30482
31757
  },
31758
+ {
31759
+ "kind": "method",
31760
+ "name": "valueOf",
31761
+ "privacy": "public",
31762
+ "return": {
31763
+ "type": {
31764
+ "text": "number"
31765
+ }
31766
+ },
31767
+ "description": "The valueOf() method of Object instances converts the this.value to an object.\nThis method is meant to be overridden by derived objects for custom type conversion logic.",
31768
+ "inheritedFrom": {
31769
+ "name": "FieldNode",
31770
+ "module": "dist/FieldNode.js"
31771
+ }
31772
+ },
30483
31773
  {
30484
31774
  "kind": "method",
30485
31775
  "name": "__toLiteral",
@@ -30495,6 +31785,21 @@
30495
31785
  "module": "dist/FieldNode.js"
30496
31786
  }
30497
31787
  },
31788
+ {
31789
+ "kind": "method",
31790
+ "name": "__checkTypeBoundaries",
31791
+ "privacy": "protected",
31792
+ "return": {
31793
+ "type": {
31794
+ "text": "string[] | undefined"
31795
+ }
31796
+ },
31797
+ "description": "Additional \"constraint\" checker for primitive types, i.e. INT32 can only range from -2147483648 to 2147483647, but js uses always a float64 to handle numbers",
31798
+ "inheritedFrom": {
31799
+ "name": "FieldNode",
31800
+ "module": "dist/FieldNode.js"
31801
+ }
31802
+ },
30498
31803
  {
30499
31804
  "kind": "method",
30500
31805
  "name": "__checkConstraints",
@@ -30572,7 +31877,7 @@
30572
31877
  "type": {
30573
31878
  "text": "string"
30574
31879
  },
30575
- "default": "\"google.protobuf.FieldMask\""
31880
+ "default": "\"google.protobuf.FloatValue\""
30576
31881
  },
30577
31882
  {
30578
31883
  "kind": "field",
@@ -30988,21 +32293,6 @@
30988
32293
  "module": "dist/FieldNode.js"
30989
32294
  }
30990
32295
  },
30991
- {
30992
- "kind": "method",
30993
- "name": "valueOf",
30994
- "privacy": "public",
30995
- "return": {
30996
- "type": {
30997
- "text": "number | bigint"
30998
- }
30999
- },
31000
- "description": "The valueOf() method of Object instances converts the this.value to an object.\nThis method is meant to be overridden by derived objects for custom type conversion logic.",
31001
- "inheritedFrom": {
31002
- "name": "FieldNode",
31003
- "module": "dist/FieldNode.js"
31004
- }
31005
- },
31006
32296
  {
31007
32297
  "kind": "method",
31008
32298
  "name": "__getBaseName",
@@ -31080,21 +32370,6 @@
31080
32370
  "module": "dist/FieldNode.js"
31081
32371
  }
31082
32372
  },
31083
- {
31084
- "kind": "method",
31085
- "name": "__checkTypeBoundaries",
31086
- "privacy": "protected",
31087
- "return": {
31088
- "type": {
31089
- "text": "string[] | undefined"
31090
- }
31091
- },
31092
- "description": "Additional \"constraint\" checker for primitive types, i.e. INT32 can only range from -2147483648 to 2147483647, but js uses always a float64 to handle numbers",
31093
- "inheritedFrom": {
31094
- "name": "FieldNode",
31095
- "module": "dist/FieldNode.js"
31096
- }
31097
- },
31098
32373
  {
31099
32374
  "kind": "method",
31100
32375
  "name": "__validationExecuter",
@@ -31661,22 +32936,22 @@
31661
32936
  "exports": [
31662
32937
  {
31663
32938
  "kind": "js",
31664
- "name": "FieldMask",
32939
+ "name": "FloatValue",
31665
32940
  "declaration": {
31666
- "name": "FieldMask",
31667
- "module": "src/well_known/FieldMask.ts"
32941
+ "name": "FloatValue",
32942
+ "module": "src/well_known/FloatValue.ts"
31668
32943
  }
31669
32944
  }
31670
32945
  ]
31671
32946
  },
31672
32947
  {
31673
32948
  "kind": "javascript-module",
31674
- "path": "dist/well_known/FloatValue.js",
32949
+ "path": "dist/well_known/Int32Value.js",
31675
32950
  "declarations": [
31676
32951
  {
31677
32952
  "kind": "class",
31678
32953
  "description": "",
31679
- "name": "FloatValue",
32954
+ "name": "Int32Value",
31680
32955
  "members": [
31681
32956
  {
31682
32957
  "kind": "field",
@@ -31869,7 +33144,7 @@
31869
33144
  "type": {
31870
33145
  "text": "string"
31871
33146
  },
31872
- "default": "\"google.protobuf.FloatValue\""
33147
+ "default": "\"google.protobuf.Int32Value\""
31873
33148
  },
31874
33149
  {
31875
33150
  "kind": "field",
@@ -32928,38 +34203,38 @@
32928
34203
  "exports": [
32929
34204
  {
32930
34205
  "kind": "js",
32931
- "name": "FloatValue",
34206
+ "name": "Int32Value",
32932
34207
  "declaration": {
32933
- "name": "FloatValue",
32934
- "module": "src/well_known/FloatValue.ts"
34208
+ "name": "Int32Value",
34209
+ "module": "src/well_known/Int32Value.ts"
32935
34210
  }
32936
34211
  }
32937
34212
  ]
32938
34213
  },
32939
34214
  {
32940
34215
  "kind": "javascript-module",
32941
- "path": "dist/well_known/Int32Value.js",
34216
+ "path": "dist/well_known/Int64Value.js",
32942
34217
  "declarations": [
32943
34218
  {
32944
34219
  "kind": "class",
32945
34220
  "description": "",
32946
- "name": "Int32Value",
34221
+ "name": "Int64Value",
32947
34222
  "members": [
32948
34223
  {
32949
34224
  "kind": "field",
32950
34225
  "name": "value",
32951
34226
  "type": {
32952
- "text": "number"
34227
+ "text": "bigint"
32953
34228
  }
32954
34229
  },
32955
34230
  {
32956
34231
  "kind": "field",
32957
34232
  "name": "_value",
32958
34233
  "type": {
32959
- "text": "number | null"
34234
+ "text": "bigint | null"
32960
34235
  },
32961
34236
  "privacy": "public",
32962
- "default": "0"
34237
+ "default": "0n"
32963
34238
  },
32964
34239
  {
32965
34240
  "kind": "method",
@@ -32968,7 +34243,7 @@
32968
34243
  {
32969
34244
  "name": "v",
32970
34245
  "type": {
32971
- "text": "number | null"
34246
+ "text": "string | null"
32972
34247
  }
32973
34248
  }
32974
34249
  ],
@@ -33005,7 +34280,7 @@
33005
34280
  "name": "__toJson",
33006
34281
  "return": {
33007
34282
  "type": {
33008
- "text": "number | null"
34283
+ "text": "string | null"
33009
34284
  }
33010
34285
  },
33011
34286
  "description": "Converts the model to a JSON struct wich matches the protobuf spec.\nIf the `UseProtoNames` option is set to false, lowerCamelCase is produced.",
@@ -33020,7 +34295,7 @@
33020
34295
  "privacy": "public",
33021
34296
  "return": {
33022
34297
  "type": {
33023
- "text": "number"
34298
+ "text": "number | bigint"
33024
34299
  }
33025
34300
  },
33026
34301
  "description": "The valueOf() method of Object instances converts the this.value to an object.\nThis method is meant to be overridden by derived objects for custom type conversion logic.",
@@ -33044,21 +34319,6 @@
33044
34319
  "module": "dist/FieldNode.js"
33045
34320
  }
33046
34321
  },
33047
- {
33048
- "kind": "method",
33049
- "name": "__checkTypeBoundaries",
33050
- "privacy": "protected",
33051
- "return": {
33052
- "type": {
33053
- "text": "string[] | undefined"
33054
- }
33055
- },
33056
- "description": "Additional \"constraint\" checker for primitive types, i.e. INT32 can only range from -2147483648 to 2147483647, but js uses always a float64 to handle numbers",
33057
- "inheritedFrom": {
33058
- "name": "FieldNode",
33059
- "module": "dist/FieldNode.js"
33060
- }
33061
- },
33062
34322
  {
33063
34323
  "kind": "method",
33064
34324
  "name": "__checkConstraints",
@@ -33136,7 +34396,7 @@
33136
34396
  "type": {
33137
34397
  "text": "string"
33138
34398
  },
33139
- "default": "\"google.protobuf.Int32Value\""
34399
+ "default": "\"google.protobuf.Int64Value\""
33140
34400
  },
33141
34401
  {
33142
34402
  "kind": "field",
@@ -33629,6 +34889,21 @@
33629
34889
  "module": "dist/FieldNode.js"
33630
34890
  }
33631
34891
  },
34892
+ {
34893
+ "kind": "method",
34894
+ "name": "__checkTypeBoundaries",
34895
+ "privacy": "protected",
34896
+ "return": {
34897
+ "type": {
34898
+ "text": "string[] | undefined"
34899
+ }
34900
+ },
34901
+ "description": "Additional \"constraint\" checker for primitive types, i.e. INT32 can only range from -2147483648 to 2147483647, but js uses always a float64 to handle numbers",
34902
+ "inheritedFrom": {
34903
+ "name": "FieldNode",
34904
+ "module": "dist/FieldNode.js"
34905
+ }
34906
+ },
33632
34907
  {
33633
34908
  "kind": "method",
33634
34909
  "name": "__validationExecuter",
@@ -34195,38 +35470,38 @@
34195
35470
  "exports": [
34196
35471
  {
34197
35472
  "kind": "js",
34198
- "name": "Int32Value",
35473
+ "name": "Int64Value",
34199
35474
  "declaration": {
34200
- "name": "Int32Value",
34201
- "module": "src/well_known/Int32Value.ts"
35475
+ "name": "Int64Value",
35476
+ "module": "src/well_known/Int64Value.ts"
34202
35477
  }
34203
35478
  }
34204
35479
  ]
34205
35480
  },
34206
35481
  {
34207
35482
  "kind": "javascript-module",
34208
- "path": "dist/well_known/Int64Value.js",
35483
+ "path": "dist/well_known/ListValue.js",
34209
35484
  "declarations": [
34210
35485
  {
34211
35486
  "kind": "class",
34212
- "description": "",
34213
- "name": "Int64Value",
35487
+ "description": "ListValue is a wrapper around a repeated field of values.\n\nThe JSON representation for ListValue is JSON array.\n\nhttps://protobuf.dev/reference/protobuf/google.protobuf/#list-value",
35488
+ "name": "ListValue",
34214
35489
  "members": [
34215
35490
  {
34216
35491
  "kind": "field",
34217
35492
  "name": "value",
34218
35493
  "type": {
34219
- "text": "bigint"
35494
+ "text": "JSONValue[]"
34220
35495
  }
34221
35496
  },
34222
35497
  {
34223
35498
  "kind": "field",
34224
35499
  "name": "_value",
34225
35500
  "type": {
34226
- "text": "bigint | null"
35501
+ "text": "JSONValue[]"
34227
35502
  },
34228
35503
  "privacy": "public",
34229
- "default": "0n"
35504
+ "default": "[]"
34230
35505
  },
34231
35506
  {
34232
35507
  "kind": "method",
@@ -34235,7 +35510,7 @@
34235
35510
  {
34236
35511
  "name": "v",
34237
35512
  "type": {
34238
- "text": "string | null"
35513
+ "text": "JSONValue[]"
34239
35514
  }
34240
35515
  }
34241
35516
  ],
@@ -34250,14 +35525,14 @@
34250
35525
  "name": "__mapProtoNameJsonToJson",
34251
35526
  "return": {
34252
35527
  "type": {
34253
- "text": "number"
35528
+ "text": "string"
34254
35529
  }
34255
35530
  },
34256
35531
  "parameters": [
34257
35532
  {
34258
35533
  "name": "data",
34259
35534
  "type": {
34260
- "text": "number"
35535
+ "text": "string"
34261
35536
  }
34262
35537
  }
34263
35538
  ],
@@ -34272,7 +35547,7 @@
34272
35547
  "name": "__toJson",
34273
35548
  "return": {
34274
35549
  "type": {
34275
- "text": "string | null"
35550
+ "text": "JSONValue[] | null"
34276
35551
  }
34277
35552
  },
34278
35553
  "description": "Converts the model to a JSON struct wich matches the protobuf spec.\nIf the `UseProtoNames` option is set to false, lowerCamelCase is produced.",
@@ -34281,21 +35556,6 @@
34281
35556
  "module": "dist/FieldNode.js"
34282
35557
  }
34283
35558
  },
34284
- {
34285
- "kind": "method",
34286
- "name": "valueOf",
34287
- "privacy": "public",
34288
- "return": {
34289
- "type": {
34290
- "text": "number | bigint"
34291
- }
34292
- },
34293
- "description": "The valueOf() method of Object instances converts the this.value to an object.\nThis method is meant to be overridden by derived objects for custom type conversion logic.",
34294
- "inheritedFrom": {
34295
- "name": "FieldNode",
34296
- "module": "dist/FieldNode.js"
34297
- }
34298
- },
34299
35559
  {
34300
35560
  "kind": "method",
34301
35561
  "name": "__toLiteral",
@@ -34388,7 +35648,7 @@
34388
35648
  "type": {
34389
35649
  "text": "string"
34390
35650
  },
34391
- "default": "\"google.protobuf.Int64Value\""
35651
+ "default": "\"google.protobuf.ListValue\""
34392
35652
  },
34393
35653
  {
34394
35654
  "kind": "field",
@@ -34804,6 +36064,21 @@
34804
36064
  "module": "dist/FieldNode.js"
34805
36065
  }
34806
36066
  },
36067
+ {
36068
+ "kind": "method",
36069
+ "name": "valueOf",
36070
+ "privacy": "public",
36071
+ "return": {
36072
+ "type": {
36073
+ "text": "number | bigint"
36074
+ }
36075
+ },
36076
+ "description": "The valueOf() method of Object instances converts the this.value to an object.\nThis method is meant to be overridden by derived objects for custom type conversion logic.",
36077
+ "inheritedFrom": {
36078
+ "name": "FieldNode",
36079
+ "module": "dist/FieldNode.js"
36080
+ }
36081
+ },
34807
36082
  {
34808
36083
  "kind": "method",
34809
36084
  "name": "__getBaseName",
@@ -35462,10 +36737,10 @@
35462
36737
  "exports": [
35463
36738
  {
35464
36739
  "kind": "js",
35465
- "name": "Int64Value",
36740
+ "name": "ListValue",
35466
36741
  "declaration": {
35467
- "name": "Int64Value",
35468
- "module": "src/well_known/Int64Value.ts"
36742
+ "name": "ListValue",
36743
+ "module": "src/well_known/ListValue.ts"
35469
36744
  }
35470
36745
  }
35471
36746
  ]