@milaboratories/pl-client 2.12.0 → 2.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/dist/core/final.cjs +2 -1
  2. package/dist/core/final.cjs.map +1 -1
  3. package/dist/core/final.d.ts.map +1 -1
  4. package/dist/core/final.js +2 -1
  5. package/dist/core/final.js.map +1 -1
  6. package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.cjs.map +1 -1
  7. package/dist/proto/github.com/googleapis/googleapis/google/rpc/status.js.map +1 -1
  8. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.cjs +26 -2
  9. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.cjs.map +1 -1
  10. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.cjs.map +1 -1
  11. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.js.map +1 -1
  12. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +12 -0
  13. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -1
  14. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.js +26 -2
  15. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.js.map +1 -1
  16. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.cjs.map +1 -1
  17. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.js.map +1 -1
  18. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.cjs.map +1 -1
  19. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.js.map +1 -1
  20. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.cjs.map +1 -1
  21. package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.js.map +1 -1
  22. package/dist/proto/google/protobuf/any.cjs.map +1 -1
  23. package/dist/proto/google/protobuf/any.d.ts +9 -5
  24. package/dist/proto/google/protobuf/any.d.ts.map +1 -1
  25. package/dist/proto/google/protobuf/any.js.map +1 -1
  26. package/dist/proto/google/protobuf/descriptor.d.ts +881 -46
  27. package/dist/proto/google/protobuf/descriptor.d.ts.map +1 -1
  28. package/dist/proto/google/protobuf/duration.cjs.map +1 -1
  29. package/dist/proto/google/protobuf/duration.d.ts +0 -1
  30. package/dist/proto/google/protobuf/duration.d.ts.map +1 -1
  31. package/dist/proto/google/protobuf/duration.js.map +1 -1
  32. package/dist/proto/google/protobuf/struct.d.ts +1 -1
  33. package/dist/proto/google/protobuf/timestamp.cjs.map +1 -1
  34. package/dist/proto/google/protobuf/timestamp.d.ts +1 -4
  35. package/dist/proto/google/protobuf/timestamp.d.ts.map +1 -1
  36. package/dist/proto/google/protobuf/timestamp.js.map +1 -1
  37. package/dist/proto/google/protobuf/wrappers.d.ts +27 -0
  38. package/dist/proto/google/protobuf/wrappers.d.ts.map +1 -1
  39. package/package.json +2 -2
  40. package/src/core/final.ts +2 -1
  41. package/src/proto/github.com/googleapis/googleapis/google/rpc/status.ts +1 -1
  42. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.ts +1 -1
  43. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.ts +1 -1
  44. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts +1 -1
  45. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts +1 -1
  46. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.ts +1 -1
  47. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.ts +1 -1
  48. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts +1 -1
  49. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.ts +1 -1
  50. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts +1 -1
  51. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.ts +38 -2
  52. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.ts +1 -1
  53. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.ts +1 -1
  54. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/import.ts +1 -1
  55. package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.ts +1 -1
  56. package/src/proto/google/api/http.ts +1 -1
  57. package/src/proto/google/protobuf/any.ts +10 -6
  58. package/src/proto/google/protobuf/descriptor.ts +1469 -77
  59. package/src/proto/google/protobuf/duration.ts +1 -2
  60. package/src/proto/google/protobuf/empty.ts +1 -1
  61. package/src/proto/google/protobuf/struct.ts +2 -2
  62. package/src/proto/google/protobuf/timestamp.ts +2 -5
  63. package/src/proto/google/protobuf/wrappers.ts +38 -5
@@ -37,6 +37,7 @@ const DefaultFinalResourceDataPredicate = (r) => {
37
37
  case 'std/map':
38
38
  case 'EphStdMap':
39
39
  case 'PFrame':
40
+ case 'ParquetChunk':
40
41
  case 'BContext':
41
42
  case 'BlockPackCustom':
42
43
  case 'BinaryMap':
@@ -83,7 +84,7 @@ const DefaultFinalResourceDataPredicate = (r) => {
83
84
  return readyOrDuplicateOrError(r);
84
85
  }
85
86
  else {
86
- // Unknonw resource type detected
87
+ // Unknown resource type detected
87
88
  // Set used to log this message only once
88
89
  if (!unknownResourceTypeNames.has(r.type.name)) {
89
90
  console.log('UNKNOWN RESOURCE TYPE: ' + r.type.name);
@@ -1 +1 @@
1
- {"version":3,"file":"final.cjs","sources":["../../src/core/final.ts"],"sourcesContent":["import type { Optional } from 'utility-types';\nimport type {\n BasicResourceData,\n ResourceData,\n} from './types';\nimport {\n getField,\n isNotNullResourceId,\n isNullResourceId,\n} from './types';\n\n/**\n * Function is used to guide multiple layers of caching in pl-client and derived pl-tree.\n *\n * This function defines expected resource-specific state mutation behaviour,\n * if it returns true, system will expect that this data will never change as long as resource exist.\n *\n * If resource data contain information about fields, if should be taken into account, fields are undefined,\n * \"final\" state should be calculated for \"basic\" part of resource data only.\n */\nexport type FinalResourceDataPredicate = (\n resourceData: Optional<ResourceData, 'fields'>\n) => boolean;\n\nfunction readyOrDuplicateOrError(r: ResourceData | BasicResourceData): boolean {\n return (\n r.resourceReady || isNotNullResourceId(r.originalResourceId) || isNotNullResourceId(r.error)\n );\n}\n\nfunction readyAndHasAllOutputsFilled(r: Optional<ResourceData, 'fields'>): boolean {\n if (!readyOrDuplicateOrError(r)) return false;\n if (!r.outputsLocked) return false;\n if (r.fields === undefined) return true; // if fields are not provided basic resource state is not expected to change in the future\n for (const f of r.fields)\n if (isNullResourceId(f.error) && (isNullResourceId(f.value) || !f.valueIsFinal)) return false;\n return true;\n}\n\n// solely for logging\nconst unknownResourceTypeNames = new Set<string>();\n\n/** Default implementation, defining behaviour for built-in resource types. */\nexport const DefaultFinalResourceDataPredicate: FinalResourceDataPredicate = (r): boolean => {\n switch (r.type.name) {\n case 'StreamManager': {\n if (!readyOrDuplicateOrError(r)) return false;\n if (r.fields === undefined) return true; // if fields are not provided basic resource state is not expected to change in the future\n if (isNotNullResourceId(r.error)) return true;\n const downloadable = getField(r as ResourceData, 'downloadable');\n const stream = getField(r as ResourceData, 'stream');\n return stream.value === downloadable.value;\n }\n case 'StdMap':\n case 'std/map':\n case 'EphStdMap':\n case 'PFrame':\n case 'BContext':\n case 'BlockPackCustom':\n case 'BinaryMap':\n case 'BinaryValue':\n case 'BlobMap':\n case 'BResolveSingle':\n case 'BResolveSingleNoResult':\n case 'BQueryResult':\n case 'TengoTemplate':\n case 'TengoLib':\n case 'SoftwareInfo':\n case 'Dummy':\n return readyOrDuplicateOrError(r);\n case 'json/resourceError':\n return r.type.version === '1';\n case 'json/object':\n case 'json-gz/object':\n case 'json/string':\n case 'json/array':\n case 'json/number':\n case 'BContextEnd':\n case 'Frontend/FromUrl':\n case 'Frontend/FromFolder':\n case 'BObjectSpec':\n case 'Blob':\n case 'Null':\n case 'binary':\n case 'LSProvider':\n return true;\n case 'UserProject':\n case 'Projects':\n case 'ClientRoot':\n return false;\n default:\n if (r.type.name.startsWith('Blob/')) return true;\n else if (r.type.name.startsWith('BlobUpload/') || r.type.name.startsWith('BlobIndex/')) {\n return readyAndHasAllOutputsFilled(r);\n } else if (r.type.name.startsWith('PColumnData/')) {\n return readyOrDuplicateOrError(r);\n } else if (r.type.name.startsWith('StreamWorkdir/')) {\n return readyOrDuplicateOrError(r);\n } else {\n // Unknonw resource type detected\n // Set used to log this message only once\n if (!unknownResourceTypeNames.has(r.type.name)) {\n console.log('UNKNOWN RESOURCE TYPE: ' + r.type.name);\n unknownResourceTypeNames.add(r.type.name);\n }\n }\n }\n return false;\n};\n"],"names":["isNotNullResourceId","isNullResourceId","getField"],"mappings":";;;;AAwBA,SAAS,uBAAuB,CAAC,CAAmC,EAAA;AAClE,IAAA,QACE,CAAC,CAAC,aAAa,IAAIA,yBAAmB,CAAC,CAAC,CAAC,kBAAkB,CAAC,IAAIA,yBAAmB,CAAC,CAAC,CAAC,KAAK,CAAC;AAEhG;AAEA,SAAS,2BAA2B,CAAC,CAAmC,EAAA;AACtE,IAAA,IAAI,CAAC,uBAAuB,CAAC,CAAC,CAAC;AAAE,QAAA,OAAO,KAAK;IAC7C,IAAI,CAAC,CAAC,CAAC,aAAa;AAAE,QAAA,OAAO,KAAK;AAClC,IAAA,IAAI,CAAC,CAAC,MAAM,KAAK,SAAS;QAAE,OAAO,IAAI,CAAC;AACxC,IAAA,KAAK,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM;AACtB,QAAA,IAAIC,sBAAgB,CAAC,CAAC,CAAC,KAAK,CAAC,KAAKA,sBAAgB,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,YAAY,CAAC;AAAE,YAAA,OAAO,KAAK;AAC/F,IAAA,OAAO,IAAI;AACb;AAEA;AACA,MAAM,wBAAwB,GAAG,IAAI,GAAG,EAAU;AAElD;AACO,MAAM,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vB,QAAA,KAAK,qBAAqB;AAC1B,QAAA,KAAK,aAAa;AAClB,QAAA,KAAK,MAAM;AACX,QAAA,KAAK,MAAM;AACX,QAAA,KAAK,QAAQ;AACb,QAAA,KAAK,YAAY;AACf,YAAA,OAAO,IAAI;AACb,QAAA,KAAK,aAAa;AAClB,QAAA,KAAK,UAAU;AACf,QAAA,KAAK,YAAY;AACf,YAAA,OAAO,KAAK;AACd,QAAA;YACE,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC;AAAE,gBAAA,OAAO,IAAI;iBAC3C,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,EAAE;AACtF,gBAAA,OAAO,2BAA2B,CAAC,CAAC,CAAC;YACvC;iBAAO,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC,EAAE;AACjD,gBAAA,OAAO,uBAAuB,CAAC,CAAC,CAAC;YACnC;iBAAO,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC,EAAE;AACnD,gBAAA,OAAO,uBAAuB,CAAC,CAAC,CAAC;YACnC;iBAAO;;;AAGL,gBAAA,IAAI,CAAC,wBAAwB,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;oBAC9C,OAAO,CAAC,GAAG,CAAC,yBAAyB,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;oBACpD,wBAAwB,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;gBAC3C;YACF;;AAEJ,IAAA,OAAO,KAAK;AACd;;;;"}
1
+ {"version":3,"file":"final.cjs","sources":["../../src/core/final.ts"],"sourcesContent":["import type { Optional } from 'utility-types';\nimport type {\n BasicResourceData,\n ResourceData,\n} from './types';\nimport {\n getField,\n isNotNullResourceId,\n isNullResourceId,\n} from './types';\n\n/**\n * Function is used to guide multiple layers of caching in pl-client and derived pl-tree.\n *\n * This function defines expected resource-specific state mutation behaviour,\n * if it returns true, system will expect that this data will never change as long as resource exist.\n *\n * If resource data contain information about fields, if should be taken into account, fields are undefined,\n * \"final\" state should be calculated for \"basic\" part of resource data only.\n */\nexport type FinalResourceDataPredicate = (\n resourceData: Optional<ResourceData, 'fields'>\n) => boolean;\n\nfunction readyOrDuplicateOrError(r: ResourceData | BasicResourceData): boolean {\n return (\n r.resourceReady || isNotNullResourceId(r.originalResourceId) || isNotNullResourceId(r.error)\n );\n}\n\nfunction readyAndHasAllOutputsFilled(r: Optional<ResourceData, 'fields'>): boolean {\n if (!readyOrDuplicateOrError(r)) return false;\n if (!r.outputsLocked) return false;\n if (r.fields === undefined) return true; // if fields are not provided basic resource state is not expected to change in the future\n for (const f of r.fields)\n if (isNullResourceId(f.error) && (isNullResourceId(f.value) || !f.valueIsFinal)) return false;\n return true;\n}\n\n// solely for logging\nconst unknownResourceTypeNames = new Set<string>();\n\n/** Default implementation, defining behaviour for built-in resource types. */\nexport const DefaultFinalResourceDataPredicate: FinalResourceDataPredicate = (r): boolean => {\n switch (r.type.name) {\n case 'StreamManager': {\n if (!readyOrDuplicateOrError(r)) return false;\n if (r.fields === undefined) return true; // if fields are not provided basic resource state is not expected to change in the future\n if (isNotNullResourceId(r.error)) return true;\n const downloadable = getField(r as ResourceData, 'downloadable');\n const stream = getField(r as ResourceData, 'stream');\n return stream.value === downloadable.value;\n }\n case 'StdMap':\n case 'std/map':\n case 'EphStdMap':\n case 'PFrame':\n case 'ParquetChunk':\n case 'BContext':\n case 'BlockPackCustom':\n case 'BinaryMap':\n case 'BinaryValue':\n case 'BlobMap':\n case 'BResolveSingle':\n case 'BResolveSingleNoResult':\n case 'BQueryResult':\n case 'TengoTemplate':\n case 'TengoLib':\n case 'SoftwareInfo':\n case 'Dummy':\n return readyOrDuplicateOrError(r);\n case 'json/resourceError':\n return r.type.version === '1';\n case 'json/object':\n case 'json-gz/object':\n case 'json/string':\n case 'json/array':\n case 'json/number':\n case 'BContextEnd':\n case 'Frontend/FromUrl':\n case 'Frontend/FromFolder':\n case 'BObjectSpec':\n case 'Blob':\n case 'Null':\n case 'binary':\n case 'LSProvider':\n return true;\n case 'UserProject':\n case 'Projects':\n case 'ClientRoot':\n return false;\n default:\n if (r.type.name.startsWith('Blob/')) return true;\n else if (r.type.name.startsWith('BlobUpload/') || r.type.name.startsWith('BlobIndex/')) {\n return readyAndHasAllOutputsFilled(r);\n } else if (r.type.name.startsWith('PColumnData/')) {\n return readyOrDuplicateOrError(r);\n } else if (r.type.name.startsWith('StreamWorkdir/')) {\n return readyOrDuplicateOrError(r);\n } else {\n // Unknown resource type detected\n // Set used to log this message only once\n if (!unknownResourceTypeNames.has(r.type.name)) {\n console.log('UNKNOWN RESOURCE TYPE: ' + r.type.name);\n unknownResourceTypeNames.add(r.type.name);\n }\n }\n }\n return false;\n};\n"],"names":["isNotNullResourceId","isNullResourceId","getField"],"mappings":";;;;AAwBA,SAAS,uBAAuB,CAAC,CAAmC,EAAA;AAClE,IAAA,QACE,CAAC,CAAC,aAAa,IAAIA,yBAAmB,CAAC,CAAC,CAAC,kBAAkB,CAAC,IAAIA,yBAAmB,CAAC,CAAC,CAAC,KAAK,CAAC;AAEhG;AAEA,SAAS,2BAA2B,CAAC,CAAmC,EAAA;AACtE,IAAA,IAAI,CAAC,uBAAuB,CAAC,CAAC,CAAC;AAAE,QAAA,OAAO,KAAK;IAC7C,IAAI,CAAC,CAAC,CAAC,aAAa;AAAE,QAAA,OAAO,KAAK;AAClC,IAAA,IAAI,CAAC,CAAC,MAAM,KAAK,SAAS;QAAE,OAAO,IAAI,CAAC;AACxC,IAAA,KAAK,MAAM,CAAC,IAAI,CAAC,CAAC,MAAM;AACtB,QAAA,IAAIC,sBAAgB,CAAC,CAAC,CAAC,KAAK,CAAC,KAAKA,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C;oBACpD,wBAAwB,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;gBAC3C;YACF;;AAEJ,IAAA,OAAO,KAAK;AACd;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"final.d.ts","sourceRoot":"","sources":["../../src/core/final.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,EAEV,YAAY,EACb,MAAM,SAAS,CAAC;AAOjB;;;;;;;;GAQG;AACH,MAAM,MAAM,0BAA0B,GAAG,CACvC,YAAY,EAAE,QAAQ,CAAC,YAAY,EAAE,QAAQ,CAAC,KAC3C,OAAO,CAAC;AAoBb,8EAA8E;AAC9E,eAAO,MAAM,iCAAiC,EAAE,0BAiE/C,CAAC"}
1
+ {"version":3,"file":"final.d.ts","sourceRoot":"","sources":["../../src/core/final.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,EAEV,YAAY,EACb,MAAM,SAAS,CAAC;AAOjB;;;;;;;;GAQG;AACH,MAAM,MAAM,0BAA0B,GAAG,CACvC,YAAY,EAAE,QAAQ,CAAC,YAAY,EAAE,QAAQ,CAAC,KAC3C,OAAO,CAAC;AAoBb,8EAA8E;AAC9E,eAAO,MAAM,iCAAiC,EAAE,0BAkE/C,CAAC"}
@@ -35,6 +35,7 @@ const DefaultFinalResourceDataPredicate = (r) => {
35
35
  case 'std/map':
36
36
  case 'EphStdMap':
37
37
  case 'PFrame':
38
+ case 'ParquetChunk':
38
39
  case 'BContext':
39
40
  case 'BlockPackCustom':
40
41
  case 'BinaryMap':
@@ -81,7 +82,7 @@ const DefaultFinalResourceDataPredicate = (r) => {
81
82
  return readyOrDuplicateOrError(r);
82
83
  }
83
84
  else {
84
- // Unknonw resource type detected
85
+ // Unknown resource type detected
85
86
  // Set used to log this message only once
86
87
  if (!unknownResourceTypeNames.has(r.type.name)) {
87
88
  console.log('UNKNOWN RESOURCE TYPE: ' + r.type.name);
@@ -1 +1 @@
1
- {"version":3,"file":"final.js","sources":["../../src/core/final.ts"],"sourcesContent":["import type { Optional } from 'utility-types';\nimport type {\n BasicResourceData,\n ResourceData,\n} from './types';\nimport {\n getField,\n isNotNullResourceId,\n isNullResourceId,\n} from './types';\n\n/**\n * Function is used to guide multiple layers of caching in pl-client and derived pl-tree.\n *\n * This function defines expected resource-specific state mutation behaviour,\n * if it returns true, system will expect that this data will never change as long as resource exist.\n *\n * If resource data contain information about fields, if should be taken into account, fields are undefined,\n * \"final\" state should be calculated for \"basic\" part of resource data only.\n */\nexport type FinalResourceDataPredicate = (\n resourceData: Optional<ResourceData, 'fields'>\n) => boolean;\n\nfunction readyOrDuplicateOrError(r: ResourceData | BasicResourceData): boolean {\n return (\n r.resourceReady || isNotNullResourceId(r.originalResourceId) || isNotNullResourceId(r.error)\n );\n}\n\nfunction readyAndHasAllOutputsFilled(r: Optional<ResourceData, 'fields'>): boolean {\n if (!readyOrDuplicateOrError(r)) return false;\n if (!r.outputsLocked) return false;\n if (r.fields === undefined) return true; // if fields are not provided basic resource state is not expected to change in the future\n for (const f of r.fields)\n if (isNullResourceId(f.error) && (isNullResourceId(f.value) || !f.valueIsFinal)) return false;\n return true;\n}\n\n// solely for logging\nconst unknownResourceTypeNames = new Set<string>();\n\n/** Default implementation, defining behaviour for built-in resource types. */\nexport const DefaultFinalResourceDataPredicate: FinalResourceDataPredicate = (r): boolean => {\n switch (r.type.name) {\n case 'StreamManager': {\n if (!readyOrDuplicateOrError(r)) return false;\n if (r.fields === undefined) return true; // if fields are not provided basic resource state is not expected to change in the future\n if (isNotNullResourceId(r.error)) return true;\n const downloadable = getField(r as ResourceData, 'downloadable');\n const stream = getField(r as ResourceData, 'stream');\n return stream.value === downloadable.value;\n }\n case 'StdMap':\n case 'std/map':\n case 'EphStdMap':\n case 'PFrame':\n case 'BContext':\n case 'BlockPackCustom':\n case 'BinaryMap':\n case 'BinaryValue':\n case 'BlobMap':\n case 'BResolveSingle':\n case 'BResolveSingleNoResult':\n case 'BQueryResult':\n case 'TengoTemplate':\n case 'TengoLib':\n case 'SoftwareInfo':\n case 'Dummy':\n return readyOrDuplicateOrError(r);\n case 'json/resourceError':\n return r.type.version === '1';\n case 'json/object':\n case 'json-gz/object':\n case 'json/string':\n case 'json/array':\n case 'json/number':\n case 'BContextEnd':\n case 'Frontend/FromUrl':\n case 'Frontend/FromFolder':\n case 'BObjectSpec':\n case 'Blob':\n case 'Null':\n case 'binary':\n case 'LSProvider':\n return true;\n case 'UserProject':\n case 'Projects':\n case 'ClientRoot':\n return false;\n default:\n if (r.type.name.startsWith('Blob/')) return true;\n else if (r.type.name.startsWith('BlobUpload/') || r.type.name.startsWith('BlobIndex/')) {\n return readyAndHasAllOutputsFilled(r);\n } else if (r.type.name.startsWith('PColumnData/')) {\n return readyOrDuplicateOrError(r);\n } else if (r.type.name.startsWith('StreamWorkdir/')) {\n return readyOrDuplicateOrError(r);\n } else {\n // Unknonw resource type detected\n // Set used to log this message only once\n if (!unknownResourceTypeNames.has(r.type.name)) {\n console.log('UNKNOWN RESOURCE TYPE: ' + r.type.name);\n unknownResourceTypeNames.add(r.type.name);\n }\n }\n }\n return false;\n};\n"],"names":[],"mappings":";;AAwBA,SAAS,uBAAuB,CAAC,CAAmC,EAAA;AAClE,IAAA,QACE,CAAC,CAAC,aAAa,IAAI,mBAAmB,CAAC,CAAC,CAAC,kBAAkB,CAAC,IAAI,mBAAmB,CAAC,CAAC,CAAC,KAAK,CAAC;AAEhG;AAEA,SAAS,2BAA2B,CAAC,CAAmC,EAAA;AACtE,IAAA,IAAI,CAAC,uBAAuB,CAAC,CAAC,CAAC;AAAE,QAAA,OAAO,KAAK;IAC7C,IAAI,CAAC,CAAC,CAAC,aAAa;AAAE,QAAA,OAAO,KAAK;AAClC,IAAA,IAAI,CAAC,CAAC,MAAM,KAAK,SAAS;QAAE,OAAO,IAAI,CAAC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AAC,EAAE;oBAC9C,OAAO,CAAC,GAAG,CAAC,yBAAyB,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;oBACpD,wBAAwB,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;gBAC3C;YACF;;AAEJ,IAAA,OAAO,KAAK;AACd;;;;"}
1
+ {"version":3,"file":"final.js","sources":["../../src/core/final.ts"],"sourcesContent":["import type { Optional } from 'utility-types';\nimport type {\n BasicResourceData,\n ResourceData,\n} from './types';\nimport {\n getField,\n isNotNullResourceId,\n isNullResourceId,\n} from './types';\n\n/**\n * Function is used to guide multiple layers of caching in pl-client and derived pl-tree.\n *\n * This function defines expected resource-specific state mutation behaviour,\n * if it returns true, system will expect that this data will never change as long as resource exist.\n *\n * If resource data contain information about fields, if should be taken into account, fields are undefined,\n * \"final\" state should be calculated for \"basic\" part of resource data only.\n */\nexport type FinalResourceDataPredicate = (\n resourceData: Optional<ResourceData, 'fields'>\n) => boolean;\n\nfunction readyOrDuplicateOrError(r: ResourceData | BasicResourceData): boolean {\n return (\n r.resourceReady || isNotNullResourceId(r.originalResourceId) || isNotNullResourceId(r.error)\n );\n}\n\nfunction readyAndHasAllOutputsFilled(r: Optional<ResourceData, 'fields'>): boolean {\n if (!readyOrDuplicateOrError(r)) return false;\n if (!r.outputsLocked) return false;\n if (r.fields === undefined) return true; // if fields are not provided basic resource state is not expected to change in the future\n for (const f of r.fields)\n if (isNullResourceId(f.error) && (isNullResourceId(f.value) || !f.valueIsFinal)) return false;\n return true;\n}\n\n// solely for logging\nconst unknownResourceTypeNames = new Set<string>();\n\n/** Default implementation, defining behaviour for built-in resource types. */\nexport const DefaultFinalResourceDataPredicate: FinalResourceDataPredicate = (r): boolean => {\n switch (r.type.name) {\n case 'StreamManager': {\n if (!readyOrDuplicateOrError(r)) return false;\n if (r.fields === undefined) return true; // if fields are not provided basic resource state is not expected to change in the future\n if (isNotNullResourceId(r.error)) return true;\n const downloadable = getField(r as ResourceData, 'downloadable');\n const stream = getField(r as ResourceData, 'stream');\n return stream.value === downloadable.value;\n }\n case 'StdMap':\n case 'std/map':\n case 'EphStdMap':\n case 'PFrame':\n case 'ParquetChunk':\n case 'BContext':\n case 'BlockPackCustom':\n case 'BinaryMap':\n case 'BinaryValue':\n case 'BlobMap':\n case 'BResolveSingle':\n case 'BResolveSingleNoResult':\n case 'BQueryResult':\n case 'TengoTemplate':\n case 'TengoLib':\n case 'SoftwareInfo':\n case 'Dummy':\n return readyOrDuplicateOrError(r);\n case 'json/resourceError':\n return r.type.version === '1';\n case 'json/object':\n case 'json-gz/object':\n case 'json/string':\n case 'json/array':\n case 'json/number':\n case 'BContextEnd':\n case 'Frontend/FromUrl':\n case 'Frontend/FromFolder':\n case 'BObjectSpec':\n case 'Blob':\n case 'Null':\n case 'binary':\n case 'LSProvider':\n return true;\n case 'UserProject':\n case 'Projects':\n case 'ClientRoot':\n return false;\n default:\n if (r.type.name.startsWith('Blob/')) return true;\n else if (r.type.name.startsWith('BlobUpload/') || r.type.name.startsWith('BlobIndex/')) {\n return readyAndHasAllOutputsFilled(r);\n } else if (r.type.name.startsWith('PColumnData/')) {\n return readyOrDuplicateOrError(r);\n } else if (r.type.name.startsWith('StreamWorkdir/')) {\n return readyOrDuplicateOrError(r);\n } else {\n // Unknown resource type detected\n // Set used to log this message only once\n if (!unknownResourceTypeNames.has(r.type.name)) {\n console.log('UNKNOWN RESOURCE TYPE: ' + r.type.name);\n unknownResourceTypeNames.add(r.type.name);\n }\n }\n }\n return false;\n};\n"],"names":[],"mappings":";;AAwBA,SAAS,uBAAuB,CAAC,CAAmC,EAAA;AAClE,IAAA,QACE,CAAC,CAAC,aAAa,IAAI,mBAAmB,CAAC,CAAC,CAAC,kBAAkB,CAAC,IAAI,mBAAmB,CAAC,CAAC,CAAC,KAAK,CAAC;AAEhG;AAEA,SAAS,2BAA2B,CAAC,CAAmC,EAAA;AACtE,IAAA,IAAI,CAAC,uBAAuB,CAAC,CAAC,CAAC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AAC,UAAU,CAAC,gBAAgB,CAAC,EAAE;AACnD,gBAAA,OAAO,uBAAuB,CAAC,CAAC,CAAC;YACnC;iBAAO;;;AAGL,gBAAA,IAAI,CAAC,wBAAwB,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;oBAC9C,OAAO,CAAC,GAAG,CAAC,yBAAyB,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;oBACpD,wBAAwB,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;gBAC3C;YACF;;AAEJ,IAAA,OAAO,KAAK;AACd;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"status.cjs","sources":["../../../../../../../src/proto/github.com/googleapis/googleapis/google/rpc/status.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.0 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"github.com/googleapis/googleapis/google/rpc/status.proto\" (package \"google.rpc\", syntax proto3)\n// tslint:disable\n//\n// Copyright 2020 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n//\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { Any } from \"../../../../../google/protobuf/any\";\n/**\n * The `Status` type defines a logical error model that is suitable for\n * different programming environments, including REST APIs and RPC APIs. It is\n * used by [gRPC](https://github.com/grpc). Each `Status` message contains\n * three pieces of data: error code, error message, and error details.\n *\n * You can find out more about this error model and how to work with it in the\n * [API Design Guide](https://cloud.google.com/apis/design/errors).\n *\n * @generated from protobuf message google.rpc.Status\n */\nexport interface Status {\n /**\n * The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].\n *\n * @generated from protobuf field: int32 code = 1\n */\n code: number;\n /**\n * A developer-facing error message, which should be in English. Any\n * user-facing error message should be localized and sent in the\n * [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.\n *\n * @generated from protobuf field: string message = 2\n */\n message: string;\n /**\n * A list of messages that carry the error details. There is a common set of\n * message types for APIs to use.\n *\n * @generated from protobuf field: repeated google.protobuf.Any details = 3\n */\n details: Any[];\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Status$Type extends MessageType<Status> {\n constructor() {\n super(\"google.rpc.Status\", [\n { no: 1, name: \"code\", kind: \"scalar\", T: 5 /*ScalarType.INT32*/ },\n { no: 2, name: \"message\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"details\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Any }\n ]);\n }\n create(value?: PartialMessage<Status>): Status {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.code = 0;\n message.message = \"\";\n message.details = [];\n if (value !== undefined)\n reflectionMergePartial<Status>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Status): Status {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* int32 code */ 1:\n message.code = reader.int32();\n break;\n case /* string message */ 2:\n message.message = reader.string();\n break;\n case /* repeated google.protobuf.Any details */ 3:\n message.details.push(Any.internalBinaryRead(reader, reader.uint32(), options));\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: Status, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* int32 code = 1; */\n if (message.code !== 0)\n writer.tag(1, WireType.Varint).int32(message.code);\n /* string message = 2; */\n if (message.message !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.message);\n /* repeated google.protobuf.Any details = 3; */\n for (let i = 0; i < message.details.length; i++)\n Any.internalBinaryWrite(message.details[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message google.rpc.Status\n */\nexport const Status = new Status$Type();\n"],"names":["MessageType","Any","reflectionMergePartial","UnknownFieldHandler","WireType"],"mappings":";;;;;AA8DA;AACA,MAAM,WAAY,SAAQA,mBAAmB,CAAA;AACzC,IAAA,WAAA,GAAA;QACI,KAAK,CAAC,mBAAmB,EAAE;AACvB,YAAA,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,uBAAuB;AAClE,YAAA,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,wBAAwB;YACtE,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,0BAA0B,CAAC,EAAE,MAAMC,OAAG;AAC7F,SAAA,CAAC;I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AC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC;AACjF,QAAA,OAAO,MAAM;IACjB;AACH;AACD;;AAEG;AACI,MAAM,MAAM,GAAG,IAAI,WAAW;;;;"}
1
+ {"version":3,"file":"status.cjs","sources":["../../../../../../../src/proto/github.com/googleapis/googleapis/google/rpc/status.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"github.com/googleapis/googleapis/google/rpc/status.proto\" (package \"google.rpc\", syntax proto3)\n// tslint:disable\n//\n// Copyright 2020 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n//\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { Any } from \"../../../../../google/protobuf/any\";\n/**\n * The `Status` type defines a logical error model that is suitable for\n * different programming environments, including REST APIs and RPC APIs. It is\n * used by [gRPC](https://github.com/grpc). Each `Status` message contains\n * three pieces of data: error code, error message, and error details.\n *\n * You can find out more about this error model and how to work with it in the\n * [API Design Guide](https://cloud.google.com/apis/design/errors).\n *\n * @generated from protobuf message google.rpc.Status\n */\nexport interface Status {\n /**\n * The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].\n *\n * @generated from protobuf field: int32 code = 1\n */\n code: number;\n /**\n * A developer-facing error message, which should be in English. Any\n * user-facing error message should be localized and sent in the\n * [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.\n *\n * @generated from protobuf field: string message = 2\n */\n message: string;\n /**\n * A list of messages that carry the error details. There is a common set of\n * message types for APIs to use.\n *\n * @generated from protobuf field: repeated google.protobuf.Any details = 3\n */\n details: Any[];\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Status$Type extends MessageType<Status> {\n constructor() {\n super(\"google.rpc.Status\", [\n { no: 1, name: \"code\", kind: \"scalar\", T: 5 /*ScalarType.INT32*/ },\n { no: 2, name: \"message\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"details\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Any }\n ]);\n }\n create(value?: PartialMessage<Status>): Status {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.code = 0;\n message.message = \"\";\n message.details = [];\n if (value !== undefined)\n reflectionMergePartial<Status>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Status): Status {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* int32 code */ 1:\n message.code = reader.int32();\n break;\n case /* string message */ 2:\n message.message = reader.string();\n break;\n case /* repeated google.protobuf.Any details */ 3:\n message.details.push(Any.internalBinaryRead(reader, reader.uint32(), options));\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: Status, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* int32 code = 1; */\n if (message.code !== 0)\n writer.tag(1, WireType.Varint).int32(message.code);\n /* string message = 2; */\n if (message.message !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.message);\n /* repeated google.protobuf.Any details = 3; */\n for (let i = 0; i < message.details.length; i++)\n Any.internalBinaryWrite(message.details[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message google.rpc.Status\n */\nexport const Status = new Status$Type();\n"],"names":["MessageType","Any","reflectionMergePartial","UnknownFieldHandler","WireType"],"mappings":";;;;;AA8DA;AACA,MAAM,WAAY,SAAQA,mBAAmB,CAAA;AACzC,IAAA,WAAA,GAAA;QACI,KAAK,CAAC,mBAAmB,EAAE;AACvB,YAAA,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,uBAAuB;AAClE,YAAA,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,wBAAwB;YACtE,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,0BAA0B,CAAC,EAAE,MAAMC,OAAG;AAC7F,SAAA,CAAC;IACN;AACA,IAAA,MAAM,CAAC,KAA8B,EAAA;AACjC,QAAA,MAAM,OAAO,GAAG,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,gBAAiB,EAAE;AAClE,QAAA,OAAO,CAAC,IAAI,GAAG,CAAC;AAChB,QAAA,OAAO,CAAC,OAAO,GAAG,EAAE;AACpB,QAAA,OAAO,CAAC,OAAO,GAAG,EAAE;QACpB,IAAI,KAAK,KAA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OAAO,EAAE,QAAQ,EAAE,CAAC,CAAC;;QAE3G;AACA,QAAA,OAAO,OAAO;IAClB;AACA,IAAA,mBAAmB,CAAC,OAAe,EAAE,MAAqB,EAAE,OAA2B,EAAA;;AAEnF,QAAA,IAAI,OAAO,CAAC,IAAI,KAAK,CAAC;AAClB,YAAA,MAAM,CAAC,GAAG,CAAC,CAAC,EAAEC,gBAAQ,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;;AAEtD,QAAA,IAAI,OAAO,CAAC,OAAO,KAAK,EAAE;AACtB,YAAA,MAAM,CAAC,GAAG,CAAC,CAAC,EAAEA,gBAAQ,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC;;AAEnE,QAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,EAAE;AAC3C,YAAAH,OAAG,CAAC,mBAAmB,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,EAAEG,gBAAQ,CAAC,eAAe,CAAC,CAAC,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC,IAAI,EAAE;AAC/G,QAAA,IAAI,CAAC,GAAG,OAAO,CAAC,kBAAkB;QAClC,IAAI,CAAC,KAAK,KAAK;YACX,CAAC,CAAC,IAAI,IAAI,GAAGD,2BAAmB,CAAC,OAAO,GAAG,CAAC,EAAE,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC;AACjF,QAAA,OAAO,MAAM;IACjB;AACH;AACD;;AAEG;AACI,MAAM,MAAM,GAAG,IAAI,WAAW;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"status.js","sources":["../../../../../../../src/proto/github.com/googleapis/googleapis/google/rpc/status.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.0 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"github.com/googleapis/googleapis/google/rpc/status.proto\" (package \"google.rpc\", syntax proto3)\n// tslint:disable\n//\n// Copyright 2020 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n//\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { Any } from \"../../../../../google/protobuf/any\";\n/**\n * The `Status` type defines a logical error model that is suitable for\n * different programming environments, including REST APIs and RPC APIs. It is\n * used by [gRPC](https://github.com/grpc). Each `Status` message contains\n * three pieces of data: error code, error message, and error details.\n *\n * You can find out more about this error model and how to work with it in the\n * [API Design Guide](https://cloud.google.com/apis/design/errors).\n *\n * @generated from protobuf message google.rpc.Status\n */\nexport interface Status {\n /**\n * The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].\n *\n * @generated from protobuf field: int32 code = 1\n */\n code: number;\n /**\n * A developer-facing error message, which should be in English. Any\n * user-facing error message should be localized and sent in the\n * [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.\n *\n * @generated from protobuf field: string message = 2\n */\n message: string;\n /**\n * A list of messages that carry the error details. There is a common set of\n * message types for APIs to use.\n *\n * @generated from protobuf field: repeated google.protobuf.Any details = 3\n */\n details: Any[];\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Status$Type extends MessageType<Status> {\n constructor() {\n super(\"google.rpc.Status\", [\n { no: 1, name: \"code\", kind: \"scalar\", T: 5 /*ScalarType.INT32*/ },\n { no: 2, name: \"message\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"details\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Any }\n ]);\n }\n create(value?: PartialMessage<Status>): Status {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.code = 0;\n message.message = \"\";\n message.details = [];\n if (value !== undefined)\n reflectionMergePartial<Status>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Status): Status {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* int32 code */ 1:\n message.code = reader.int32();\n break;\n case /* string message */ 2:\n message.message = reader.string();\n break;\n case /* repeated google.protobuf.Any details */ 3:\n message.details.push(Any.internalBinaryRead(reader, reader.uint32(), options));\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: Status, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* int32 code = 1; */\n if (message.code !== 0)\n writer.tag(1, WireType.Varint).int32(message.code);\n /* string message = 2; */\n if (message.message !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.message);\n /* repeated google.protobuf.Any details = 3; */\n for (let i = 0; i < message.details.length; i++)\n Any.internalBinaryWrite(message.details[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message google.rpc.Status\n */\nexport const Status = new Status$Type();\n"],"names":[],"mappings":";;;AA8DA;AACA,MAAM,WAAY,SAAQ,WAAmB,CAAA;AACzC,IAAA,WAAA,GAAA;QACI,KAAK,CAAC,mBAAmB,EAAE;AACvB,YAAA,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,uBAAuB;AAClE,YAAA,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC,wBAAwB;YACtE,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,0BAA0B,CAAC,EAAE,MAAM,GAAG;AAC7F,SAAA,CAAC;IACN;AACA,IAAA,MAAM,CAAC,KAA8B,EAAA;AACjC,QAAA,MAAM,OAAO,GAAG,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,gBAAiB,EAAE;AAClE,QAAA,OAAO,CAAC,IAAI,GAAG,CAAC;AAChB,QAAA,OAAO,CAAC,OAAO,GAAG,EAAE;AACpB,QAAA,OAAO,CAAC,OAAO,GAAG,EAAE;QACpB,IAAI,KAAK,KAAK,SAAS;AACnB,YAAA,sBAAsB,CAAS,IAAI,EAAE,OAAO,EAAE,KAAK,CAAC;AACxD,QAAA,OAAO,OAAO;IAClB;AACA,IAAA,kBAAkB,CAAC,MAAqB,EAAE,MAAc,EAAE,OAA0B,EAAE,MAAe,EAAA;AACjG,QAAA,IAAI,OAAO,GAAG,MAAM,IAAI,IAAI,CAAC,MAAM,EAAE,EAAE,GAAG,GAAG,MAAM,CAAC,GAAG,GAAG,MAAM;AAChE,QAAA,OAAO,MAAM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A,IAAI,OAAO,CAAC,OAAO,KAAK,EAAE;AACtB,YAAA,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC;;AAEnE,QAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC,EAAE;AAC3C,YAAA,GAAG,CAAC,mBAAmB,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC,IAAI,EAAE;AAC/G,QAAA,IAAI,CAAC,GAAG,OAAO,CAAC,kBAAkB;QAClC,IAAI,CAAC,KAAK,KAAK;YACX,CAAC,CAAC,IAAI,IAAI,GAAG,mBAAmB,CAAC,OAAO,GAAG,CAAC,EAAE,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC;AACjF,QAAA,OAAO,MAAM;IACjB;AACH;AACD;;AAEG;AACI,MAAM,MAAM,GAAG,IAAI,WAAW;;;;"}
1
+ {"version":3,"file":"status.js","sources":["../../../../../../../src/proto/github.com/googleapis/googleapis/google/rpc/status.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none\n// @generated from protobuf file \"github.com/googleapis/googleapis/google/rpc/status.proto\" (package \"google.rpc\", syntax proto3)\n// tslint:disable\n//\n// Copyright 2020 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n//\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { MessageType } from \"@protobuf-ts/runtime\";\nimport { Any } from \"../../../../../google/protobuf/any\";\n/**\n * The `Status` type defines a logical error model that is suitable for\n * different programming environments, including REST APIs and RPC APIs. It is\n * used by [gRPC](https://github.com/grpc). Each `Status` message contains\n * three pieces of data: error code, error message, and error details.\n *\n * You can find out more about this error model and how to work with it in the\n * [API Design Guide](https://cloud.google.com/apis/design/errors).\n *\n * @generated from protobuf message google.rpc.Status\n */\nexport interface Status {\n /**\n * The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].\n *\n * @generated from protobuf field: int32 code = 1\n */\n code: number;\n /**\n * A developer-facing error message, which should be in English. Any\n * user-facing error message should be localized and sent in the\n * [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.\n *\n * @generated from protobuf field: string message = 2\n */\n message: string;\n /**\n * A list of messages that carry the error details. There is a common set of\n * message types for APIs to use.\n *\n * @generated from protobuf field: repeated google.protobuf.Any details = 3\n */\n details: Any[];\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass Status$Type extends MessageType<Status> {\n constructor() {\n super(\"google.rpc.Status\", [\n { no: 1, name: \"code\", kind: \"scalar\", T: 5 /*ScalarType.INT32*/ },\n { no: 2, name: \"message\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"details\", kind: \"message\", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Any }\n ]);\n }\n create(value?: PartialMessage<Status>): Status {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.code = 0;\n message.message = \"\";\n message.details = [];\n if (value !== undefined)\n reflectionMergePartial<Status>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Status): Status {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* int32 code */ 1:\n message.code = reader.int32();\n break;\n case /* string message */ 2:\n message.message = reader.string();\n break;\n case /* repeated google.protobuf.Any details */ 3:\n message.details.push(Any.internalBinaryRead(reader, reader.uint32(), options));\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: Status, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* int32 code = 1; */\n if (message.code !== 0)\n writer.tag(1, WireType.Varint).int32(message.code);\n /* string message = 2; */\n if (message.message !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.message);\n /* repeated google.protobuf.Any details = 3; */\n for (let i = 0; i < message.details.length; i++)\n Any.internalBinaryWrite(message.details[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message google.rpc.Status\n */\nexport const Status = new Status$Type();\n"],"names":[],"mappings":";;;AA8DA;AACA,MAAM,WAAY,SAAQ,WAAmB,CAAA;AACzC,IAAA,WAAA,GAAA;QACI,KAAK,CAAC,mBAAmB,EAAE;AACvB,YAAA,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,C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,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,CAAC,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC,IAAI,EAAE;AAC/G,QAAA,IAAI,CAAC,GAAG,OAAO,CAAC,kBAAkB;QAClC,IAAI,CAAC,KAAK,KAAK;YACX,CAAC,CAAC,IAAI,IAAI,GAAG,mBAAmB,CAAC,OAAO,GAAG,CAAC,EAAE,IAAI,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC;AACjF,QAAA,OAAO,MAAM;IACjB;AACH;AACD;;AAEG;AACI,MAAM,MAAM,GAAG,IAAI,WAAW;;;;"}
@@ -8,7 +8,7 @@ var resource_types = require('./resource_types.cjs');
8
8
  var base_types = require('./base_types.cjs');
9
9
  var status = require('../../../../googleapis/googleapis/google/rpc/status.cjs');
10
10
 
11
- // @generated by protobuf-ts 2.11.0 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
11
+ // @generated by protobuf-ts 2.11.1 with parameter client_generic,optimize_speed,generate_dependencies,force_server_none
12
12
  // @generated from protobuf file "github.com/milaboratory/pl/plapi/plapiproto/api.proto" (package "MiLaboratories.PL.API", syntax proto3)
13
13
  // tslint:disable
14
14
  /**
@@ -12469,7 +12469,10 @@ class MaintenanceAPI_Ping_Response$Type extends runtime.MessageType {
12469
12469
  { no: 2, name: "core_full_version", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
12470
12470
  { no: 3, name: "server_info", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
12471
12471
  { no: 4, name: "compression", kind: "enum", T: () => ["MiLaboratories.PL.API.MaintenanceAPI.Ping.Response.Compression", exports.MaintenanceAPI_Ping_Response_Compression] },
12472
- { no: 5, name: "instance_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
12472
+ { no: 5, name: "instance_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
12473
+ { no: 6, name: "platform", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
12474
+ { no: 7, name: "os", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
12475
+ { no: 8, name: "arch", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
12473
12476
  ]);
12474
12477
  }
12475
12478
  create(value) {
@@ -12479,6 +12482,9 @@ class MaintenanceAPI_Ping_Response$Type extends runtime.MessageType {
12479
12482
  message.serverInfo = "";
12480
12483
  message.compression = 0;
12481
12484
  message.instanceId = "";
12485
+ message.platform = "";
12486
+ message.os = "";
12487
+ message.arch = "";
12482
12488
  if (value !== undefined)
12483
12489
  runtime.reflectionMergePartial(this, message, value);
12484
12490
  return message;
@@ -12503,6 +12509,15 @@ class MaintenanceAPI_Ping_Response$Type extends runtime.MessageType {
12503
12509
  case /* string instance_id */ 5:
12504
12510
  message.instanceId = reader.string();
12505
12511
  break;
12512
+ case /* string platform */ 6:
12513
+ message.platform = reader.string();
12514
+ break;
12515
+ case /* string os */ 7:
12516
+ message.os = reader.string();
12517
+ break;
12518
+ case /* string arch */ 8:
12519
+ message.arch = reader.string();
12520
+ break;
12506
12521
  default:
12507
12522
  let u = options.readUnknownField;
12508
12523
  if (u === "throw")
@@ -12530,6 +12545,15 @@ class MaintenanceAPI_Ping_Response$Type extends runtime.MessageType {
12530
12545
  /* string instance_id = 5; */
12531
12546
  if (message.instanceId !== "")
12532
12547
  writer.tag(5, runtime.WireType.LengthDelimited).string(message.instanceId);
12548
+ /* string platform = 6; */
12549
+ if (message.platform !== "")
12550
+ writer.tag(6, runtime.WireType.LengthDelimited).string(message.platform);
12551
+ /* string os = 7; */
12552
+ if (message.os !== "")
12553
+ writer.tag(7, runtime.WireType.LengthDelimited).string(message.os);
12554
+ /* string arch = 8; */
12555
+ if (message.arch !== "")
12556
+ writer.tag(8, runtime.WireType.LengthDelimited).string(message.arch);
12533
12557
  let u = options.writeUnknownFields;
12534
12558
  if (u !== false)
12535
12559
  (u == true ? runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);