@stryke/capnp 0.12.46 → 0.12.48

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 (97) hide show
  1. package/bin/capnpc.mjs.map +1 -1
  2. package/dist/capnp-es.GpvEvMIK-BsgDzeBH.mjs +12 -0
  3. package/dist/capnp-es.GpvEvMIK-BsgDzeBH.mjs.map +1 -0
  4. package/dist/capnp-es.GpvEvMIK-xNDcbmgx.cjs +11 -0
  5. package/dist/compile-ChbJ-p6B.cjs +169 -0
  6. package/dist/compile-DJUj4hs3.mjs +163 -0
  7. package/dist/compile-DJUj4hs3.mjs.map +1 -0
  8. package/{schemas/packages/capnp/src/compile.d.mts → dist/compile-DccxA7WZ.d.cts} +4 -4
  9. package/{schemas/packages/capnp/src/compile.d.mts.map → dist/compile-DccxA7WZ.d.cts.map} +1 -1
  10. package/{schemas/src/compile.d.cts → dist/compile-UkKIpqrK.d.mts} +4 -4
  11. package/dist/compile-UkKIpqrK.d.mts.map +1 -0
  12. package/dist/compile.cjs +1 -1
  13. package/dist/compile.d.cts +3 -40
  14. package/dist/compile.d.mts +3 -40
  15. package/dist/compile.mjs +1 -2
  16. package/dist/dist-C1gSYYrg.cjs +1 -0
  17. package/dist/dist-CK47iMja.mjs +2 -0
  18. package/dist/dist-CK47iMja.mjs.map +1 -0
  19. package/dist/helpers-BoKbpcuO.mjs +27 -0
  20. package/dist/helpers-BoKbpcuO.mjs.map +1 -0
  21. package/dist/helpers-DSMRKdw1.cjs +26 -0
  22. package/dist/helpers.cjs +1 -1
  23. package/dist/helpers.d.cts +1 -1
  24. package/dist/helpers.d.mts +1 -1
  25. package/dist/helpers.mjs +1 -2
  26. package/dist/index.cjs +1 -1
  27. package/dist/index.d.cts +2 -2
  28. package/dist/index.d.mts +2 -2
  29. package/dist/index.mjs +1 -1
  30. package/dist/rpc-helpers.cjs +1 -1
  31. package/dist/rpc-helpers.mjs +1 -1
  32. package/dist/rpc-helpers.mjs.map +1 -1
  33. package/dist/types-BujoAx-K.mjs +2 -0
  34. package/dist/types-BujoAx-K.mjs.map +1 -0
  35. package/{schemas/packages/capnp/src/types.d.mts → dist/types-D03SjfBL.d.mts} +2 -2
  36. package/{schemas/packages/capnp/src/types.d.mts.map → dist/types-D03SjfBL.d.mts.map} +1 -1
  37. package/{schemas/src/types.d.cts → dist/types-D52qMMoK.d.cts} +2 -2
  38. package/dist/types-D52qMMoK.d.cts.map +1 -0
  39. package/dist/types-D6FuBB1k.cjs +1 -0
  40. package/dist/types.cjs +1 -1
  41. package/dist/types.d.cts +2 -55
  42. package/dist/types.d.mts +2 -55
  43. package/dist/types.mjs +1 -2
  44. package/package.json +7 -7
  45. package/schemas/index-BAJMwFip.d.mts +96 -0
  46. package/schemas/index-BAJMwFip.d.mts.map +1 -0
  47. package/schemas/index-b7dam4EA.d.cts +96 -0
  48. package/schemas/index-b7dam4EA.d.cts.map +1 -0
  49. package/schemas/persistent.cjs +1 -1
  50. package/schemas/persistent.d.cts +1 -1
  51. package/schemas/persistent.d.mts +1 -1
  52. package/schemas/persistent.mjs +1 -1
  53. package/schemas/persistent.mjs.map +1 -1
  54. package/schemas/rpc-twoparty.cjs +1 -1
  55. package/schemas/rpc-twoparty.d.cts +1 -1
  56. package/schemas/rpc-twoparty.d.mts +1 -1
  57. package/schemas/rpc-twoparty.mjs +1 -1
  58. package/schemas/rpc-twoparty.mjs.map +1 -1
  59. package/schemas/rpc.cjs +1 -1
  60. package/schemas/rpc.d.cts +1 -1
  61. package/schemas/rpc.d.mts +1 -1
  62. package/schemas/rpc.mjs +1 -1
  63. package/schemas/rpc.mjs.map +1 -1
  64. package/schemas/schema.cjs +1 -1
  65. package/schemas/schema.d.cts +1 -1
  66. package/schemas/schema.d.mts +1 -1
  67. package/schemas/schema.mjs +1 -1
  68. package/schemas/schema.mjs.map +1 -1
  69. package/schemas/src-CGrmR2BO.cjs +11 -0
  70. package/schemas/src-DqIy7I3p.mjs +12 -0
  71. package/schemas/src-DqIy7I3p.mjs.map +1 -0
  72. package/dist/_virtual/rolldown_runtime.cjs +0 -1
  73. package/dist/_virtual/rolldown_runtime.mjs +0 -1
  74. package/dist/compile.d.cts.map +0 -1
  75. package/dist/compile.d.mts.map +0 -1
  76. package/dist/compile.mjs.map +0 -1
  77. package/dist/helpers.mjs.map +0 -1
  78. package/dist/packages/convert/src/to-array.cjs +0 -1
  79. package/dist/packages/convert/src/to-array.mjs +0 -2
  80. package/dist/packages/convert/src/to-array.mjs.map +0 -1
  81. package/dist/types.d.cts.map +0 -1
  82. package/dist/types.d.mts.map +0 -1
  83. package/dist/types.mjs.map +0 -1
  84. package/schemas/_virtual/rolldown_runtime.cjs +0 -1
  85. package/schemas/_virtual/rolldown_runtime.mjs +0 -1
  86. package/schemas/packages/capnp/src/compile.cjs +0 -1
  87. package/schemas/packages/capnp/src/compile.mjs +0 -1
  88. package/schemas/packages/capnp/src/helpers.cjs +0 -1
  89. package/schemas/packages/capnp/src/helpers.mjs +0 -1
  90. package/schemas/packages/capnp/src/index.cjs +0 -1
  91. package/schemas/packages/capnp/src/index.d.mts +0 -13
  92. package/schemas/packages/capnp/src/index.d.mts.map +0 -1
  93. package/schemas/packages/capnp/src/index.mjs +0 -1
  94. package/schemas/src/compile.d.cts.map +0 -1
  95. package/schemas/src/index.d.cts +0 -13
  96. package/schemas/src/index.d.cts.map +0 -1
  97. package/schemas/src/types.d.cts.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.mjs","names":[],"sources":["../../src/types.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Stryke\n\n This code was released as part of the Stryke project. Stryke\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/stryke.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/stryke\n Documentation: https://docs.stormsoftware.com/projects/stryke\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\n/* eslint-disable camelcase */\n\nimport type {\n CodeGeneratorRequest_RequestedFile_Import,\n Field,\n Node\n} from \"capnp-es/capnp/schema\";\n// eslint-disable-next-line ts/consistent-type-imports\nimport { ParsedCommandLine } from \"typescript\";\n\nexport interface CodeGeneratorFileContext {\n // inputs\n readonly nodes: Node[];\n readonly imports: CodeGeneratorRequest_RequestedFile_Import[];\n\n // outputs\n concreteLists: Array<[string, Field]>;\n generatedNodeIds: Set<string>;\n generatedResultsPromiseIds: Set<bigint>;\n tsPath: string;\n codeParts?: string[];\n\n constructor: any;\n\n toString: () => string;\n}\n\nexport class CodeGeneratorContext {\n files: CodeGeneratorFileContext[] = [];\n}\n\nexport interface CapnpcCLIOptions {\n noTs?: boolean;\n js?: boolean;\n dts?: boolean;\n noDts?: boolean;\n schema?: string;\n output?: string;\n importPath?: string;\n tsconfig?: string;\n skipGenerateId?: boolean;\n noStandardImport?: boolean;\n projectRoot?: string;\n workspaceRoot?: string;\n tty?: boolean;\n}\n\nexport type CapnpcOptions = Omit<CapnpcCLIOptions, \"tsconfig\" | \"schema\"> & {\n schemas: string | string[];\n} & (\n | {\n tsconfig: ParsedCommandLine;\n tsconfigPath?: string;\n }\n | {\n tsconfig?: ParsedCommandLine;\n tsconfigPath: string;\n }\n );\n\nexport type CapnpcResolvedOptions = Omit<\n CapnpcOptions,\n | \"noTs\"\n | \"noDts\"\n | \"schemas\"\n | \"tsconfigPath\"\n | \"output\"\n | \"importPath\"\n | \"projectRoot\"\n | \"workspaceRoot\"\n> &\n Required<Pick<CapnpcOptions, \"output\" | \"projectRoot\" | \"workspaceRoot\">> & {\n ts: boolean;\n importPath: string[];\n schemas: string[];\n tsconfig: ParsedCommandLine;\n };\n\nexport interface CapnpcResult {\n ctx: CodeGeneratorContext;\n files: Map<string, string>;\n}\n"],"mappings":"AA6CA,IAAa,EAAb,KAAkC,CAChC,MAAoC,EAAE"}
@@ -1 +0,0 @@
1
- var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},s=(n,r,a)=>(a=n==null?{}:e(i(n)),o(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));exports.__toESM=s;
@@ -1 +0,0 @@
1
- var e=Object.defineProperty,t=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,r=Object.prototype.hasOwnProperty,i=(t,n)=>{let r={};for(var i in t)e(r,i,{get:t[i],enumerable:!0});return n&&e(r,Symbol.toStringTag,{value:`Module`}),r},a=(i,a,o,s)=>{if(a&&typeof a==`object`||typeof a==`function`)for(var c=n(a),l=0,u=c.length,d;l<u;l++)d=c[l],!r.call(i,d)&&d!==o&&e(i,d,{get:(e=>a[e]).bind(null,d),enumerable:!(s=t(a,d))||s.enumerable});return i},o=(t,n,r,i)=>{i&&(e(t,Symbol.toStringTag,{value:`Module`}),r&&e(r,Symbol.toStringTag,{value:`Module`})),a(t,n,`default`),r&&a(r,n,`default`)};export{i as __export,o as __reExport};
@@ -1 +0,0 @@
1
- const e=require(`../../../_virtual/rolldown_runtime.cjs`);require(`./helpers.cjs`),require(`@stryke/fs/exists`),require(`defu`);
@@ -1 +0,0 @@
1
- import"./helpers.mjs";import"@stryke/fs/exists";import"defu";import{Buffer as e}from"node:buffer";export{};
@@ -1 +0,0 @@
1
- require(`@stryke/fs/exists`),require(`typescript`),require(`@stryke/fs/json`),require(`@stryke/fs/list-files`),require(`@stryke/path/file-path-fns`),require(`@stryke/path/join-paths`);
@@ -1 +0,0 @@
1
- import"@stryke/fs/exists";import"typescript";import"@stryke/fs/json";import"@stryke/fs/list-files";import"@stryke/path/file-path-fns";import"@stryke/path/join-paths";export{};
@@ -1 +0,0 @@
1
- const e=require(`../../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash_503a440bd2bef41c0cb22819bc4ced5a7f04993fb999f0d944e284220f14916b_typescript@5.9.3/node_modules/capnp-es/dist/shared/capnp-es.0-_cOx6D.cjs`),t=require(`../../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash_503a440bd2bef41c0cb22819bc4ced5a7f04993fb999f0d944e284220f14916b_typescript@5.9.3/node_modules/capnp-es/dist/shared/capnp-es.BvfUH5E6.cjs`),n=require(`../../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash_503a440bd2bef41c0cb22819bc4ced5a7f04993fb999f0d944e284220f14916b_typescript@5.9.3/node_modules/capnp-es/dist/shared/capnp-es.GpvEvMIK.cjs`);require(`./compile.cjs`);const r=require(`../../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash_503a440bd2bef41c0cb22819bc4ced5a7f04993fb999f0d944e284220f14916b_typescript@5.9.3/node_modules/capnp-es/dist/shared/capnp-es.UAt3nLGq.cjs`),i=require(`../../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash_503a440bd2bef41c0cb22819bc4ced5a7f04993fb999f0d944e284220f14916b_typescript@5.9.3/node_modules/capnp-es/dist/index.cjs`);
@@ -1,13 +0,0 @@
1
- import { __export, __reExport } from "../../../_virtual/rolldown_runtime.mjs";
2
- import { CapnpcCLIOptions, CapnpcOptions, CapnpcResolvedOptions, CapnpcResult, CodeGeneratorContext, CodeGeneratorFileContext } from "./types.mjs";
3
- import { capnpc, compile } from "./compile.mjs";
4
- export * from "capnp-es";
5
-
6
- //#region src/index.d.ts
7
- declare namespace index_d_exports {
8
- export { CapnpcCLIOptions, CapnpcOptions, CapnpcResolvedOptions, CapnpcResult, CodeGeneratorContext, CodeGeneratorFileContext, capnpc, compile };
9
- }
10
- import * as import_capnp_es from "capnp-es";
11
- //#endregion
12
- export { import_capnp_es as index_d_exports };
13
- //# sourceMappingURL=index.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../../../../../src/index.ts"],"sourcesContent":[],"mappings":""}
@@ -1 +0,0 @@
1
- import{Data as e,ErrorClient as t,List as n,ListElementSize as r,ObjectSize as i,Orphan as a,Pointer as o,PointerType as s,Struct as c,Text as l,clientOrNull as u}from"../../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash_503a440bd2bef41c0cb22819bc4ced5a7f04993fb999f0d944e284220f14916b_typescript@5.9.3/node_modules/capnp-es/dist/shared/capnp-es.0-_cOx6D.mjs";import{CompositeList as d,getBitMask as f,getUint16Mask as p,getUint8Mask as m}from"../../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash_503a440bd2bef41c0cb22819bc4ced5a7f04993fb999f0d944e284220f14916b_typescript@5.9.3/node_modules/capnp-es/dist/shared/capnp-es.BvfUH5E6.mjs";import{Message as h,readRawPointer as g}from"../../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash_503a440bd2bef41c0cb22819bc4ced5a7f04993fb999f0d944e284220f14916b_typescript@5.9.3/node_modules/capnp-es/dist/shared/capnp-es.GpvEvMIK.mjs";import"./compile.mjs";import{Deferred as _,Interface as v,Pipeline as y,Registry as b,Server as x,copyCall as S,isDataCall as C,placeParams as w}from"../../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash_503a440bd2bef41c0cb22819bc4ced5a7f04993fb999f0d944e284220f14916b_typescript@5.9.3/node_modules/capnp-es/dist/shared/capnp-es.UAt3nLGq.mjs";import{PointerList as T,Void as E,utils as D}from"../../../node_modules/.pnpm/capnp-es@0.0.11_patch_hash_503a440bd2bef41c0cb22819bc4ced5a7f04993fb999f0d944e284220f14916b_typescript@5.9.3/node_modules/capnp-es/dist/index.mjs";export{};
@@ -1 +0,0 @@
1
- {"version":3,"file":"compile.d.cts","names":[],"sources":["../../../src/compile.ts"],"sourcesContent":[],"mappings":";;;;;;;;;AAqCA;;;AAEG,iBAFmB,MAAA,CAEnB,OAAA,EADQ,qBACR,CAAA,EAAA,OAAA,CAAQ,YAAR,CAAA;;AA0EH;;;;;;iBAAsB,OAAA,UAAiB,iBAAiB,gBAAa;;;oBAAA,sBAAA,CAAA;;;MAAA,SAAA,OAAA,oEAAA;MAAA,aAAA,OAAA,CAAA,CAAA,MAAA,+BAAA,CAAA"}
@@ -1,13 +0,0 @@
1
- import { __export, __reExport } from "../_virtual/rolldown_runtime.cjs";
2
- import { CapnpcCLIOptions, CapnpcOptions, CapnpcResolvedOptions, CapnpcResult, CodeGeneratorContext, CodeGeneratorFileContext } from "./types.cjs";
3
- import { capnpc, compile } from "./compile.cjs";
4
- export * from "capnp-es";
5
-
6
- //#region src/index.d.ts
7
- declare namespace index_d_exports {
8
- export { CapnpcCLIOptions, CapnpcOptions, CapnpcResolvedOptions, CapnpcResult, CodeGeneratorContext, CodeGeneratorFileContext, capnpc, compile };
9
- }
10
- import * as import_capnp_es from "capnp-es";
11
- //#endregion
12
- export { import_capnp_es as index_d_exports };
13
- //# sourceMappingURL=index.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../../../src/index.ts"],"sourcesContent":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.cts","names":[],"sources":["../../../src/types.ts"],"sourcesContent":[],"mappings":";;;;UA4BiB,wBAAA;kBAEC;EAFD,SAAA,OAAA,EAGG,yCAHqB,EAAA;EAEvB,aAAA,EAID,KAJC,CAAA,CAAA,MAAA,EAIc,KAJd,CAAA,CAAA;EACE,gBAAA,EAIA,GAJA,CAAA,MAAA,CAAA;EAGY,0BAAA,EAEF,GAFE,CAAA,MAAA,CAAA;EAAf,MAAA,EAAA,MAAA;EACG,SAAA,CAAA,EAAA,MAAA,EAAA;EACU,WAAA,EAAA,GAAA;EAAG,QAAA,EAAA,GAAA,GAAA,MAAA;AASjC;AAIiB,cAJJ,oBAAA,CAIoB;EAgBrB,KAAA,EAnBH,wBAmBgB,EAAA;;AAAG,UAhBX,gBAAA,CAgBW;EAIV,IAAA,CAAA,EAAA,OAAA;EAIC,EAAA,CAAA,EAAA,OAAA;EAAiB,GAAA,CAAA,EAAA,OAAA;EAKxB,KAAA,CAAA,EAAA,OAAA;EACV,MAAA,CAAA,EAAA,MAAA;EADkC,MAAA,CAAA,EAAA,MAAA;EAWpB,UAAA,CAAA,EAAA,MAAA;EAAL,QAAA,CAAA,EAAA,MAAA;EAAT,cAAA,CAAA,EAAA,OAAA;EAIY,gBAAA,CAAA,EAAA,OAAA;EAAiB,WAAA,CAAA,EAAA,MAAA;EAGd,aAAA,CAAA,EAAY,MAAA;;;KA/BjB,aAAA,GAAgB,KAAK;;;YAIf;;;aAIC;;;KAKP,qBAAA,GAAwB,KAClC,4HAUA,SAAS,KAAK;;;;YAIF;;UAGG,YAAA;OACV;SACE"}