@osdk/cli 0.0.13 → 0.0.15

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 (145) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/bin/osdk.mjs +1 -1
  3. package/build/js/{chunk-2DJZUIFP.js → chunk-MGT3UGXW.mjs} +1 -1
  4. package/build/js/{chunk-FE6HR4TN.js → chunk-TSZWWATC.mjs} +4 -4
  5. package/build/js/chunk-TSZWWATC.mjs.map +1 -0
  6. package/build/js/{chunk-KSJ4QHUS.cjs → chunk-UOKM237I.cjs} +3 -3
  7. package/build/js/chunk-UOKM237I.cjs.map +1 -0
  8. package/build/js/{chunk-4D6JZ4TL.js → chunk-XIJ2ZQRX.mjs} +1 -1
  9. package/build/js/handleGenerate-XM72AL6J.cjs +32 -0
  10. package/build/js/handleGenerate-XM72AL6J.cjs.map +1 -0
  11. package/build/js/handleGenerate-ZHO53G62.mjs +10 -0
  12. package/build/js/handleGenerate-ZHO53G62.mjs.map +1 -0
  13. package/build/js/handleSiteDeploy-257ZNTYA.cjs +12 -0
  14. package/build/js/{handleSiteDeploy-YNRVWKWR.js → handleSiteDeploy-QCMJWAYI.mjs} +4 -4
  15. package/build/js/{handleSiteDeploy-YNRVWKWR.js.map → handleSiteDeploy-QCMJWAYI.mjs.map} +1 -1
  16. package/build/js/index.cjs +2 -2
  17. package/build/js/index.cjs.map +1 -1
  18. package/build/js/index.mjs +11 -0
  19. package/build/js/index.mjs.map +1 -0
  20. package/build/js/{siteDeleteCommand-XZF4TDGA.cjs → siteDeleteCommand-NY5W7NE3.cjs} +3 -3
  21. package/build/js/{siteDeleteCommand-PN2LUAZA.js → siteDeleteCommand-ZKHKGVVF.mjs} +4 -4
  22. package/build/js/{siteDeleteCommand-PN2LUAZA.js.map → siteDeleteCommand-ZKHKGVVF.mjs.map} +1 -1
  23. package/build/js/{siteUploadCommand-LF4U2XI6.cjs → siteUploadCommand-OHSOCUL6.cjs} +3 -3
  24. package/build/js/{siteUploadCommand-MCV3ZQAW.js → siteUploadCommand-PZEJVKRE.mjs} +4 -4
  25. package/build/js/{siteUploadCommand-MCV3ZQAW.js.map → siteUploadCommand-PZEJVKRE.mjs.map} +1 -1
  26. package/build/js/{siteVersionsCommand-N33FEMLE.cjs → siteVersionsCommand-IE5QH56U.cjs} +3 -3
  27. package/build/js/{siteVersionsCommand-ZAZVGVKV.js → siteVersionsCommand-NVJD5BDH.mjs} +4 -4
  28. package/build/js/{siteVersionsCommand-ZAZVGVKV.js.map → siteVersionsCommand-NVJD5BDH.mjs.map} +1 -1
  29. package/build/types/commands/typescript/generate/TypescriptGenerateArgs.d.ts +2 -0
  30. package/build/types/generated/artifacts-admin/ArtifactsAdminService/clearDeletedUserRepositories.d.ts +4 -0
  31. package/build/types/generated/artifacts-admin/ArtifactsAdminService/getContainerRegistryDomain.d.ts +3 -0
  32. package/build/types/generated/artifacts-sites/ArtifactsSitesAdminV2Service/clearDeployedVersion.d.ts +6 -0
  33. package/build/types/generated/artifacts-sites/ArtifactsSitesAdminV2Service/getContentSecurityPolicyAdditions.d.ts +5 -0
  34. package/build/types/generated/artifacts-sites/ArtifactsSitesAdminV2Service/getDeployedVersion.d.ts +5 -0
  35. package/build/types/generated/artifacts-sites/ArtifactsSitesAdminV2Service/getRegisteredSiteDomains.d.ts +6 -0
  36. package/build/types/generated/artifacts-sites/ArtifactsSitesAdminV2Service/getRequestedSiteDomains.d.ts +7 -0
  37. package/build/types/generated/artifacts-sites/ArtifactsSitesAdminV2Service/previewContentSecurityPolicy.d.ts +5 -0
  38. package/build/types/generated/artifacts-sites/ArtifactsSitesAdminV2Service/putContentSecurityPolicyAdditions.d.ts +5 -0
  39. package/build/types/generated/artifacts-sites/ArtifactsSitesAdminV2Service/requestSiteDomainForRepository.d.ts +8 -0
  40. package/build/types/generated/artifacts-sites/ArtifactsSitesAdminV2Service/unregisterSiteDomain.d.ts +8 -0
  41. package/build/types/generated/artifacts-sites/ArtifactsSitesAdminV2Service/updateDeployedVersion.d.ts +5 -0
  42. package/build/types/generated/artifacts-sites/ContentSecurityPolicyAdditions.d.ts +1 -1
  43. package/build/types/generated/artifacts-sites/ControlPanelManagedDomainInfo.d.ts +6 -0
  44. package/build/types/generated/artifacts-sites/SitesDomainRegistryService/getRegisteredDomains.d.ts +3 -0
  45. package/package.json +12 -7
  46. package/build/js/chunk-FE6HR4TN.js.map +0 -1
  47. package/build/js/chunk-KSJ4QHUS.cjs.map +0 -1
  48. package/build/js/handleGenerate-BUJOID4C.js +0 -10
  49. package/build/js/handleGenerate-BUJOID4C.js.map +0 -1
  50. package/build/js/handleGenerate-SY3UD5UA.cjs +0 -32
  51. package/build/js/handleGenerate-SY3UD5UA.cjs.map +0 -1
  52. package/build/js/handleSiteDeploy-F77NQQTE.cjs +0 -12
  53. package/build/js/index.js +0 -11
  54. package/build/js/index.js.map +0 -1
  55. package/build/types/generated/object-set-watcher/AllPropertiesPropertySet.d.ts +0 -2
  56. package/build/types/generated/object-set-watcher/Arg.d.ts +0 -4
  57. package/build/types/generated/object-set-watcher/AuditedObjectSetSubscribeRequests.d.ts +0 -4
  58. package/build/types/generated/object-set-watcher/AuditedObjectSetSubscribeResponse.d.ts +0 -1
  59. package/build/types/generated/object-set-watcher/AuditedObjectSetSubscribeResponses.d.ts +0 -4
  60. package/build/types/generated/object-set-watcher/BaseVersion.d.ts +0 -1
  61. package/build/types/generated/object-set-watcher/BatchEnableWatcherRequest.d.ts +0 -4
  62. package/build/types/generated/object-set-watcher/Error.d.ts +0 -6
  63. package/build/types/generated/object-set-watcher/ErrorName.d.ts +0 -1
  64. package/build/types/generated/object-set-watcher/FilterValue.d.ts +0 -1
  65. package/build/types/generated/object-set-watcher/Message.d.ts +0 -11
  66. package/build/types/generated/object-set-watcher/ObjectSetChanged.d.ts +0 -5
  67. package/build/types/generated/object-set-watcher/ObjectSetContext.d.ts +0 -4
  68. package/build/types/generated/object-set-watcher/ObjectSetFilterContext.d.ts +0 -5
  69. package/build/types/generated/object-set-watcher/ObjectSetRid.d.ts +0 -1
  70. package/build/types/generated/object-set-watcher/ObjectSetStreamSubscribeRequest.d.ts +0 -8
  71. package/build/types/generated/object-set-watcher/ObjectSetStreamSubscribeRequests.d.ts +0 -6
  72. package/build/types/generated/object-set-watcher/ObjectSetSubscribeRequest.d.ts +0 -7
  73. package/build/types/generated/object-set-watcher/ObjectSetSubscribeRequests.d.ts +0 -6
  74. package/build/types/generated/object-set-watcher/ObjectSetSubscribeResponse.d.ts +0 -16
  75. package/build/types/generated/object-set-watcher/ObjectSetSubscribeResponses.d.ts +0 -6
  76. package/build/types/generated/object-set-watcher/ObjectSetUpdates.d.ts +0 -6
  77. package/build/types/generated/object-set-watcher/ObjectSetWatchService/batchEnableWatcher.d.ts +0 -3
  78. package/build/types/generated/object-set-watcher/ObjectSetWatchService.d.ts +0 -1
  79. package/build/types/generated/object-set-watcher/ObjectTypeRid.d.ts +0 -1
  80. package/build/types/generated/object-set-watcher/PatchOffset.d.ts +0 -1
  81. package/build/types/generated/object-set-watcher/PropertyId.d.ts +0 -1
  82. package/build/types/generated/object-set-watcher/PropertySelection.d.ts +0 -6
  83. package/build/types/generated/object-set-watcher/PropertySet.d.ts +0 -11
  84. package/build/types/generated/object-set-watcher/PropertyTypeRid.d.ts +0 -1
  85. package/build/types/generated/object-set-watcher/PropertyTypeRidPropertySelection.d.ts +0 -4
  86. package/build/types/generated/object-set-watcher/QosError.d.ts +0 -2
  87. package/build/types/generated/object-set-watcher/RefreshObjectSet.d.ts +0 -4
  88. package/build/types/generated/object-set-watcher/RequestId.d.ts +0 -1
  89. package/build/types/generated/object-set-watcher/SelectedPropertiesPropertySet.d.ts +0 -4
  90. package/build/types/generated/object-set-watcher/StreamMessage.d.ts +0 -16
  91. package/build/types/generated/object-set-watcher/SubscriptionError.d.ts +0 -4
  92. package/build/types/generated/object-set-watcher/SubscriptionId.d.ts +0 -1
  93. package/build/types/generated/object-set-watcher/SubscriptionSuccess.d.ts +0 -4
  94. package/build/types/generated/object-set-watcher/UnresolvedFilterParameterId.d.ts +0 -1
  95. package/build/types/generated/object-set-watcher/index.d.ts +0 -41
  96. package/build/types/generated/object-set-watcher/object/DatasourceRid.d.ts +0 -1
  97. package/build/types/generated/object-set-watcher/object/FoundryObject.d.ts +0 -14
  98. package/build/types/generated/object-set-watcher/object/ObjectKey.d.ts +0 -3
  99. package/build/types/generated/object-set-watcher/object/ObjectTypeRid.d.ts +0 -1
  100. package/build/types/generated/object-set-watcher/object/ObjectVersion.d.ts +0 -1
  101. package/build/types/generated/object-set-watcher/object/PropertyRid.d.ts +0 -1
  102. package/build/types/generated/object-set-watcher/object/PropertyValue.d.ts +0 -2
  103. package/build/types/generated/object-set-watcher/object/index.d.ts +0 -7
  104. package/build/types/generated/object-set-watcher/types/Attachment.d.ts +0 -1
  105. package/build/types/generated/object-set-watcher/types/Byte.d.ts +0 -1
  106. package/build/types/generated/object-set-watcher/types/CatalogFileReference.d.ts +0 -7
  107. package/build/types/generated/object-set-watcher/types/Ciphertext.d.ts +0 -1
  108. package/build/types/generated/object-set-watcher/types/DatasetFileReference.d.ts +0 -5
  109. package/build/types/generated/object-set-watcher/types/DatasetRid.d.ts +0 -1
  110. package/build/types/generated/object-set-watcher/types/Date.d.ts +0 -1
  111. package/build/types/generated/object-set-watcher/types/Decimal.d.ts +0 -1
  112. package/build/types/generated/object-set-watcher/types/DecimalType.d.ts +0 -4
  113. package/build/types/generated/object-set-watcher/types/Float.d.ts +0 -1
  114. package/build/types/generated/object-set-watcher/types/Geohash.d.ts +0 -1
  115. package/build/types/generated/object-set-watcher/types/Geoshape.d.ts +0 -1
  116. package/build/types/generated/object-set-watcher/types/GeotimeSeriesId.d.ts +0 -1
  117. package/build/types/generated/object-set-watcher/types/GeotimeSeriesIntegrationRid.d.ts +0 -1
  118. package/build/types/generated/object-set-watcher/types/GeotimeSeriesReference.d.ts +0 -6
  119. package/build/types/generated/object-set-watcher/types/Long.d.ts +0 -1
  120. package/build/types/generated/object-set-watcher/types/Marking.d.ts +0 -1
  121. package/build/types/generated/object-set-watcher/types/MarkingType.d.ts +0 -1
  122. package/build/types/generated/object-set-watcher/types/MediaItemReference.d.ts +0 -6
  123. package/build/types/generated/object-set-watcher/types/MediaItemRid.d.ts +0 -1
  124. package/build/types/generated/object-set-watcher/types/MediaReference.d.ts +0 -6
  125. package/build/types/generated/object-set-watcher/types/MediaSetRid.d.ts +0 -1
  126. package/build/types/generated/object-set-watcher/types/MediaSetViewRid.d.ts +0 -1
  127. package/build/types/generated/object-set-watcher/types/MediaValueReference.d.ts +0 -16
  128. package/build/types/generated/object-set-watcher/types/MediaViewItemReference.d.ts +0 -8
  129. package/build/types/generated/object-set-watcher/types/MimeType.d.ts +0 -1
  130. package/build/types/generated/object-set-watcher/types/Null.d.ts +0 -2
  131. package/build/types/generated/object-set-watcher/types/PrimitiveType.d.ts +0 -1
  132. package/build/types/generated/object-set-watcher/types/Short.d.ts +0 -1
  133. package/build/types/generated/object-set-watcher/types/Timestamp.d.ts +0 -1
  134. package/build/types/generated/object-set-watcher/types/TransactionRid.d.ts +0 -1
  135. package/build/types/generated/object-set-watcher/types/Value.d.ts +0 -105
  136. package/build/types/generated/object-set-watcher/types/ValueType.d.ts +0 -25
  137. package/build/types/generated/object-set-watcher/types/Vector.d.ts +0 -1
  138. package/build/types/generated/object-set-watcher/types/VectorType.d.ts +0 -3
  139. package/build/types/generated/object-set-watcher/types/index.d.ts +0 -35
  140. /package/build/js/{chunk-2DJZUIFP.js.map → chunk-MGT3UGXW.mjs.map} +0 -0
  141. /package/build/js/{chunk-4D6JZ4TL.js.map → chunk-XIJ2ZQRX.mjs.map} +0 -0
  142. /package/build/js/{handleSiteDeploy-F77NQQTE.cjs.map → handleSiteDeploy-257ZNTYA.cjs.map} +0 -0
  143. /package/build/js/{siteDeleteCommand-XZF4TDGA.cjs.map → siteDeleteCommand-NY5W7NE3.cjs.map} +0 -0
  144. /package/build/js/{siteUploadCommand-LF4U2XI6.cjs.map → siteUploadCommand-OHSOCUL6.cjs.map} +0 -0
  145. /package/build/js/{siteVersionsCommand-N33FEMLE.cjs.map → siteVersionsCommand-IE5QH56U.cjs.map} +0 -0
@@ -1,12 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkKSJ4QHUS_cjs = require('./chunk-KSJ4QHUS.cjs');
4
- require('./chunk-V4QJCMF6.cjs');
5
- require('./chunk-X6QW63OH.cjs');
6
- var consola = require('consola');
7
-
8
- async function f({siteVersion:t,appRid:c,baseUrl:i,clearVersion:n}){let o=await chunkKSJ4QHUS_cjs.d.fetchWebsiteRepositoryRid(i,c),s=chunkKSJ4QHUS_cjs.c(i,"/artifacts/api");t?await chunkKSJ4QHUS_cjs.a.updateDeployedVersion(s,o,{siteVersion:{version:t}}):n&&await chunkKSJ4QHUS_cjs.a.clearDeployedVersion(s,o),consola.consola.success("Deploy successful");}
9
-
10
- module.exports = f;
11
- //# sourceMappingURL=out.js.map
12
- //# sourceMappingURL=handleSiteDeploy-F77NQQTE.cjs.map
package/build/js/index.js DELETED
@@ -1,11 +0,0 @@
1
- import { a as a$1 } from './chunk-2DJZUIFP.js';
2
- import './chunk-4D6JZ4TL.js';
3
- import V from 'yargs';
4
- import { hideBin } from 'yargs/helpers';
5
- import * as p from 'fs';
6
-
7
- var g={command:"delete",describe:"Delete an uploaded version",builder:e=>e.option("siteVersion",{type:"string",demandOption:!0}).option("dir",{type:"string"}),handler:async e=>{await(await import('./siteDeleteCommand-PN2LUAZA.js')).default(e);}},t=g;var y={command:"deploy",describe:"Deploy an uploaded version",builder:e=>e.options({siteVersion:{type:"string",conflicts:"clearVersion"},undeploy:{alias:"clearVersion",description:"Causes the site to no longer be deployed",type:"boolean",conflicts:"siteVersion"}}).group(["siteVersion","clearVersion"],"Version To Deploy (requires one of)"),handler:async e=>{await(await import('./handleSiteDeploy-YNRVWKWR.js')).default(e);}},a=y;var b={command:"upload",describe:"Upload an application version",builder:e=>e.option("siteVersion",{type:"string",demandOption:!0}).option("dir",{type:"string"}),handler:async e=>{await(await import('./siteUploadCommand-MCV3ZQAW.js')).default(e);}},i=b;var w={command:"versions",describe:"List application versions",builder:e=>e,handler:async e=>{await(await import('./siteVersionsCommand-ZAZVGVKV.js')).default(e);}},s=w;var v={command:"site",describe:"Manage your site",builder:e=>e.options({appRid:{type:"string",demandOption:!0,coerce:n=>n},baseUrl:{type:"string",demandOption:!0}}).group(["appRid","baseUrl"],"Common Arguments").command(s).command(i).command(t).command(a).demandCommand(),handler:async e=>{}},d=v;var x={command:"generate",describe:"Generate typescript from ontology",builder:e=>e.options({outDir:{type:"string",description:"Where to place the generated files",demandOption:!0},ontologyPath:{description:"path to the ontology wire json",type:"string",demandOption:!0}}).group(["outDir","ontologyPath"],"Version To Deploy (requires one of)"),handler:async e=>{await(await import('./handleGenerate-BUJOID4C.js')).default(e);}},m=x;var h={command:"typescript",describe:"Manage code",builder:e=>e.command(m).demandCommand(),handler:async e=>{}},c=h;async function l(){let{findUp:e}=await import('find-up'),n=await e("package.json",{cwd:import.meta.url});if(!n)return "(unknown version. No package.json found)";let o=JSON.parse(await p.promises.readFile(n,"utf-8"));return o.version?`v${o.version}`:"(unknown version. No version in package.json found)"}var u=!0;async function f(e){if(u){let o=(await import('consola')).consola;o.info(`Palantir OSDK CLI ${await l()}`),o.level=3+e.verbose,o.level>3&&o.debug(`Verbose logging enabled (${o.level===4?"debug":"trace"})`),console.log(),u=!1;}}async function D(e=process.argv){let n=V(hideBin(e)).env("OSDK").version(!1).option("verbose",{alias:"v",type:"boolean",description:"Enable verbose logging",count:!0}).demandCommand().middleware(f,!0).strict().command({command:"unstable",aliases:["experimental"],builder:async o=>o.command(d).command(c).demandCommand(),handler:o=>{}});try{return n.parseAsync()}catch(o){o instanceof a$1&&(await import('consola')).consola.error(o.message);}}
8
-
9
- export { D as cli };
10
- //# sourceMappingURL=out.js.map
11
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/cli.ts","../../src/commands/site/delete/index.ts","../../src/commands/site/deploy/index.ts","../../src/commands/site/upload/index.ts","../../src/commands/site/versions/index.ts","../../src/commands/site/index.ts","../../src/commands/typescript/generate/generate.ts","../../src/commands/typescript/index.ts","../../src/readCliVersionFromPackageJson.ts","../../src/yargs/logVersionMiddleware.ts"],"names":["yargs","hideBin","command","argv","args","delete_default","deploy_default","upload_default","versions_default","site","a","site_default","generate_default","typescript_default","fs","readCliVersionFromPackageJson","findUp","result","packageJson","firstTime","logVersionMiddleware","consola","cli","base","_args","e","ExitProcessError"],"mappings":"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","sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\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 */\n\nimport yargs from \"yargs\";\nimport { hideBin } from \"yargs/helpers\";\nimport site from \"./commands/site/index.js\";\nimport typescript from \"./commands/typescript/index.js\";\nimport { ExitProcessError } from \"./ExitProcessError.js\";\nimport { logVersionMiddleware } from \"./yargs/logVersionMiddleware.js\";\nexport async function cli(args = process.argv) {\n const base = yargs(hideBin(args)).env(\"OSDK\").version(false).option(\"verbose\", {\n alias: \"v\",\n type: \"boolean\",\n description: \"Enable verbose logging\",\n count: true\n }).demandCommand().middleware(logVersionMiddleware, true).strict().command({\n command: \"unstable\",\n aliases: [\"experimental\"],\n builder: async argv => {\n return argv.command(site).command(typescript).demandCommand();\n },\n handler: _args => {}\n });\n try {\n return base.parseAsync();\n } catch (e) {\n if (e instanceof ExitProcessError) {\n const Consola = await import(\"consola\");\n Consola.consola.error(e.message);\n }\n }\n}","/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\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 */\n\nexport const command = {\n command: \"delete\",\n describe: \"Delete an uploaded version\",\n builder: argv => {\n return argv.option(\"siteVersion\", {\n type: \"string\",\n demandOption: true\n }).option(\"dir\", {\n type: \"string\"\n });\n },\n handler: async args => {\n const command = await import(\"./siteDeleteCommand.mjs\");\n await command.default(args);\n }\n};\nexport default command;","/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\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 */\n\nexport const command = {\n command: \"deploy\",\n describe: \"Deploy an uploaded version\",\n builder: argv => {\n return argv.options({\n \"siteVersion\": {\n type: \"string\",\n conflicts: \"clearVersion\"\n // group: \"Deploy Version\",\n // implies: { \"clearVersion\": \"false\" },\n },\n\n undeploy: {\n alias: \"clearVersion\",\n description: \"Causes the site to no longer be deployed\",\n type: \"boolean\",\n conflicts: \"siteVersion\"\n // group: \"Deploy Version\",\n // implies: { \"siteVersion\": \"\" },\n }\n }).group([\"siteVersion\", \"clearVersion\"], \"Version To Deploy (requires one of)\");\n\n // .check((args) => {\n // if (\n // (args.siteVersion && args.clearVersion)\n // || (!args.siteVersion && args.clearVersion == undefined)\n // ) {\n // // consola.error(\"Only one of --siteVersion or --clearVersion may be provided\");\n // throw new Error(\n // \"Only one of --siteVersion or --clearVersion may be provided\",\n // );\n // }\n // });\n },\n\n handler: async args => {\n const command = await import(\"./handleSiteDeploy.mjs\");\n await command.default(args);\n }\n};\nexport default command;","/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\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 */\n\nexport const command = {\n command: \"upload\",\n describe: \"Upload an application version\",\n builder: argv => {\n return argv.option(\"siteVersion\", {\n type: \"string\",\n demandOption: true\n }).option(\"dir\", {\n type: \"string\"\n });\n },\n handler: async args => {\n const command = await import(\"./siteUploadCommand.mjs\");\n await command.default(args);\n }\n};\nexport default command;","/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\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 */\n\nexport const command = {\n command: \"versions\",\n describe: \"List application versions\",\n builder: argv => {\n return argv;\n },\n handler: async args => {\n const command = await import(\"./siteVersionsCommand.mjs\");\n await command.default(args);\n }\n};\nexport default command;","/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\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 */\n\nimport siteDelete from \"./delete/index.js\";\nimport siteDeploy from \"./deploy/index.js\";\nimport upload from \"./upload/index.js\";\nimport versions from \"./versions/index.js\";\nconst site = {\n command: \"site\",\n describe: \"Manage your site\",\n builder: argv => {\n return argv.options({\n appRid: {\n type: \"string\",\n demandOption: true,\n coerce: a => a\n },\n baseUrl: {\n type: \"string\",\n demandOption: true\n }\n }).group([\"appRid\", \"baseUrl\"], \"Common Arguments\").command(versions).command(upload).command(siteDelete).command(siteDeploy).demandCommand();\n },\n handler: async args => {}\n};\nexport default site;","/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\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 */\n\nexport const command = {\n command: \"generate\",\n describe: \"Generate typescript from ontology\",\n builder: argv => {\n return argv.options({\n \"outDir\": {\n type: \"string\",\n description: \"Where to place the generated files\",\n demandOption: true\n },\n ontologyPath: {\n description: \"path to the ontology wire json\",\n type: \"string\",\n demandOption: true\n }\n }).group([\"outDir\", \"ontologyPath\"], \"Version To Deploy (requires one of)\");\n },\n handler: async args => {\n const command = await import(\"./handleGenerate.mjs\");\n await command.default(args);\n }\n};\nexport default command;","/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\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 */\n\nimport generate from \"./generate/generate.js\";\nconst site = {\n command: \"typescript\",\n describe: \"Manage code\",\n builder: argv => {\n return argv.command(generate).demandCommand();\n },\n handler: async args => {}\n};\nexport default site;","/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\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 */\n\nimport * as fs from \"node:fs\";\nexport async function readCliVersionFromPackageJson() {\n const {\n findUp\n } = await import(\"find-up\");\n const result = await findUp(\"package.json\", {\n cwd: import.meta.url\n });\n if (!result) {\n return \"(unknown version. No package.json found)\";\n }\n const packageJson = JSON.parse(await fs.promises.readFile(result, \"utf-8\"));\n if (packageJson.version) {\n return `v${packageJson.version}`;\n } else {\n return \"(unknown version. No version in package.json found)\";\n }\n}","/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\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 */\n\nimport { readCliVersionFromPackageJson } from \"../readCliVersionFromPackageJson.js\";\nlet firstTime = true;\nexport async function logVersionMiddleware(args) {\n if (firstTime) {\n const Consola = await import(\"consola\");\n // This will be called before any command is executed\n const consola = Consola.consola;\n consola.info(`Palantir OSDK CLI ${await readCliVersionFromPackageJson()}`);\n consola.level = 3 + args.verbose; // so 1 -v is debug logs and -vv is trace\n if (consola.level > 3) {\n consola.debug(`Verbose logging enabled (${consola.level === 4 ? \"debug\" : \"trace\"})`);\n }\n\n // eslint-disable-next-line no-console\n console.log(); // Not consola. Just want a blank line\n firstTime = false;\n }\n}"]}
@@ -1,2 +0,0 @@
1
- export interface AllPropertiesPropertySet {
2
- }
@@ -1,4 +0,0 @@
1
- export interface Arg {
2
- name: string;
3
- value: string;
4
- }
@@ -1,4 +0,0 @@
1
- import type { ObjectSetRid } from "./ObjectSetRid.js";
2
- export interface AuditedObjectSetSubscribeRequests {
3
- requests: Array<ObjectSetRid>;
4
- }
@@ -1 +0,0 @@
1
- export type AuditedObjectSetSubscribeResponse = "SUCCESS" | "ERROR" | "QOS";
@@ -1,4 +0,0 @@
1
- import type { AuditedObjectSetSubscribeResponse } from "./AuditedObjectSetSubscribeResponse.js";
2
- export interface AuditedObjectSetSubscribeResponses {
3
- responses: Array<AuditedObjectSetSubscribeResponse>;
4
- }
@@ -1 +0,0 @@
1
- export type BaseVersion = string;
@@ -1,4 +0,0 @@
1
- import type { ObjectTypeRid } from "./ObjectTypeRid.js";
2
- export interface BatchEnableWatcherRequest {
3
- requests: Array<ObjectTypeRid>;
4
- }
@@ -1,6 +0,0 @@
1
- import type { Arg } from "./Arg.js";
2
- import type { ErrorName } from "./ErrorName.js";
3
- export interface Error {
4
- error: ErrorName;
5
- args: Array<Arg>;
6
- }
@@ -1 +0,0 @@
1
- export type ErrorName = string;
@@ -1 +0,0 @@
1
- export type FilterValue = any;
@@ -1,11 +0,0 @@
1
- import type { ObjectSetChanged } from "./ObjectSetChanged.js";
2
- import type { ObjectSetSubscribeResponses } from "./ObjectSetSubscribeResponses.js";
3
- export interface Message_subscribeResponses {
4
- type: "subscribeResponses";
5
- subscribeResponses: ObjectSetSubscribeResponses;
6
- }
7
- export interface Message_objectSetChanged {
8
- type: "objectSetChanged";
9
- objectSetChanged: ObjectSetChanged;
10
- }
11
- export type Message = Message_subscribeResponses | Message_objectSetChanged;
@@ -1,5 +0,0 @@
1
- import type { SubscriptionId } from "./SubscriptionId.js";
2
- export interface ObjectSetChanged {
3
- id: SubscriptionId;
4
- confidenceValue: string;
5
- }
@@ -1,4 +0,0 @@
1
- import type { ObjectSetFilterContext } from "./ObjectSetFilterContext.js";
2
- export interface ObjectSetContext {
3
- objectSetFilterContext: ObjectSetFilterContext | undefined;
4
- }
@@ -1,5 +0,0 @@
1
- import type { FilterValue } from "./FilterValue.js";
2
- import type { UnresolvedFilterParameterId } from "./UnresolvedFilterParameterId.js";
3
- export interface ObjectSetFilterContext {
4
- parameterOverrides: Map<UnresolvedFilterParameterId, FilterValue>;
5
- }
@@ -1 +0,0 @@
1
- export type ObjectSetRid = string;
@@ -1,8 +0,0 @@
1
- import type { ObjectSetContext } from "./ObjectSetContext.js";
2
- import type { ObjectSetRid } from "./ObjectSetRid.js";
3
- import type { PropertySet } from "./PropertySet.js";
4
- export interface ObjectSetStreamSubscribeRequest {
5
- objectSet: ObjectSetRid;
6
- objectSetContext: ObjectSetContext;
7
- propertySet: PropertySet | undefined;
8
- }
@@ -1,6 +0,0 @@
1
- import type { ObjectSetStreamSubscribeRequest } from "./ObjectSetStreamSubscribeRequest.js";
2
- import type { RequestId } from "./RequestId.js";
3
- export interface ObjectSetStreamSubscribeRequests {
4
- requests: Array<ObjectSetStreamSubscribeRequest>;
5
- id: RequestId;
6
- }
@@ -1,7 +0,0 @@
1
- import type { ObjectSetContext } from "./ObjectSetContext.js";
2
- import type { ObjectSetRid } from "./ObjectSetRid.js";
3
- export interface ObjectSetSubscribeRequest {
4
- objectSet: ObjectSetRid;
5
- objectSetContext: ObjectSetContext;
6
- watchAllLinks: boolean | undefined;
7
- }
@@ -1,6 +0,0 @@
1
- import type { ObjectSetSubscribeRequest } from "./ObjectSetSubscribeRequest.js";
2
- import type { RequestId } from "./RequestId.js";
3
- export interface ObjectSetSubscribeRequests {
4
- requests: Array<ObjectSetSubscribeRequest>;
5
- id: RequestId;
6
- }
@@ -1,16 +0,0 @@
1
- import type { QosError } from "./QosError.js";
2
- import type { SubscriptionError } from "./SubscriptionError.js";
3
- import type { SubscriptionSuccess } from "./SubscriptionSuccess.js";
4
- export interface ObjectSetSubscribeResponse_success {
5
- type: "success";
6
- success: SubscriptionSuccess;
7
- }
8
- export interface ObjectSetSubscribeResponse_error {
9
- type: "error";
10
- error: SubscriptionError;
11
- }
12
- export interface ObjectSetSubscribeResponse_qos {
13
- type: "qos";
14
- qos: QosError;
15
- }
16
- export type ObjectSetSubscribeResponse = ObjectSetSubscribeResponse_success | ObjectSetSubscribeResponse_error | ObjectSetSubscribeResponse_qos;
@@ -1,6 +0,0 @@
1
- import type { ObjectSetSubscribeResponse } from "./ObjectSetSubscribeResponse.js";
2
- import type { RequestId } from "./RequestId.js";
3
- export interface ObjectSetSubscribeResponses {
4
- responses: Array<ObjectSetSubscribeResponse>;
5
- id: RequestId;
6
- }
@@ -1,6 +0,0 @@
1
- import type { FoundryObject } from "./object/FoundryObject.js";
2
- import type { SubscriptionId } from "./SubscriptionId.js";
3
- export interface ObjectSetUpdates {
4
- id: SubscriptionId;
5
- objects: Array<FoundryObject>;
6
- }
@@ -1,3 +0,0 @@
1
- import { type ConjureContext } from "conjure-lite";
2
- import type { BatchEnableWatcherRequest } from "../BatchEnableWatcherRequest.js";
3
- export declare function batchEnableWatcher(ctx: ConjureContext, request: BatchEnableWatcherRequest): Promise<void>;
@@ -1 +0,0 @@
1
- export { batchEnableWatcher } from "./ObjectSetWatchService/batchEnableWatcher.js";
@@ -1 +0,0 @@
1
- export type ObjectTypeRid = string;
@@ -1 +0,0 @@
1
- export type PatchOffset = number;
@@ -1 +0,0 @@
1
- export type PropertyId = string;
@@ -1,6 +0,0 @@
1
- import type { PropertyTypeRidPropertySelection } from "./PropertyTypeRidPropertySelection.js";
2
- export interface PropertySelection_propertyTypeRid {
3
- type: "propertyTypeRid";
4
- propertyTypeRid: PropertyTypeRidPropertySelection;
5
- }
6
- export type PropertySelection = PropertySelection_propertyTypeRid;
@@ -1,11 +0,0 @@
1
- import type { AllPropertiesPropertySet } from "./AllPropertiesPropertySet.js";
2
- import type { SelectedPropertiesPropertySet } from "./SelectedPropertiesPropertySet.js";
3
- export interface PropertySet_selected {
4
- type: "selected";
5
- selected: SelectedPropertiesPropertySet;
6
- }
7
- export interface PropertySet_allProperties {
8
- type: "allProperties";
9
- allProperties: AllPropertiesPropertySet;
10
- }
11
- export type PropertySet = PropertySet_selected | PropertySet_allProperties;
@@ -1 +0,0 @@
1
- export type PropertyTypeRid = string;
@@ -1,4 +0,0 @@
1
- import type { PropertyTypeRid } from "./PropertyTypeRid.js";
2
- export interface PropertyTypeRidPropertySelection {
3
- propertyTypeRids: Array<PropertyTypeRid>;
4
- }
@@ -1,2 +0,0 @@
1
- export interface QosError {
2
- }
@@ -1,4 +0,0 @@
1
- import type { SubscriptionId } from "./SubscriptionId.js";
2
- export interface RefreshObjectSet {
3
- id: SubscriptionId;
4
- }
@@ -1 +0,0 @@
1
- export type RequestId = string;
@@ -1,4 +0,0 @@
1
- import type { PropertySelection } from "./PropertySelection.js";
2
- export interface SelectedPropertiesPropertySet {
3
- propertySelection: PropertySelection;
4
- }
@@ -1,16 +0,0 @@
1
- import type { ObjectSetSubscribeResponses } from "./ObjectSetSubscribeResponses.js";
2
- import type { ObjectSetUpdates } from "./ObjectSetUpdates.js";
3
- import type { RefreshObjectSet } from "./RefreshObjectSet.js";
4
- export interface StreamMessage_subscribeResponses {
5
- type: "subscribeResponses";
6
- subscribeResponses: ObjectSetSubscribeResponses;
7
- }
8
- export interface StreamMessage_objectSetChanged {
9
- type: "objectSetChanged";
10
- objectSetChanged: ObjectSetUpdates;
11
- }
12
- export interface StreamMessage_refreshObjectSet {
13
- type: "refreshObjectSet";
14
- refreshObjectSet: RefreshObjectSet;
15
- }
16
- export type StreamMessage = StreamMessage_subscribeResponses | StreamMessage_objectSetChanged | StreamMessage_refreshObjectSet;
@@ -1,4 +0,0 @@
1
- import type { Error } from "./Error.js";
2
- export interface SubscriptionError {
3
- errors: Array<Error>;
4
- }
@@ -1 +0,0 @@
1
- export type SubscriptionId = string;
@@ -1,4 +0,0 @@
1
- import type { SubscriptionId } from "./SubscriptionId.js";
2
- export interface SubscriptionSuccess {
3
- id: SubscriptionId;
4
- }
@@ -1 +0,0 @@
1
- export type UnresolvedFilterParameterId = string;
@@ -1,41 +0,0 @@
1
- export * as ObjectSetWatchService from "./ObjectSetWatchService.js";
2
- export type { AllPropertiesPropertySet } from "./AllPropertiesPropertySet.js";
3
- export type { Arg } from "./Arg.js";
4
- export type { AuditedObjectSetSubscribeRequests } from "./AuditedObjectSetSubscribeRequests.js";
5
- export type { AuditedObjectSetSubscribeResponse } from "./AuditedObjectSetSubscribeResponse.js";
6
- export type { AuditedObjectSetSubscribeResponses } from "./AuditedObjectSetSubscribeResponses.js";
7
- export type { BaseVersion } from "./BaseVersion.js";
8
- export type { BatchEnableWatcherRequest } from "./BatchEnableWatcherRequest.js";
9
- export type { Error } from "./Error.js";
10
- export type { ErrorName } from "./ErrorName.js";
11
- export type { FilterValue } from "./FilterValue.js";
12
- export type { Message } from "./Message.js";
13
- export type { ObjectSetChanged } from "./ObjectSetChanged.js";
14
- export type { ObjectSetContext } from "./ObjectSetContext.js";
15
- export type { ObjectSetFilterContext } from "./ObjectSetFilterContext.js";
16
- export type { ObjectSetRid } from "./ObjectSetRid.js";
17
- export type { ObjectSetStreamSubscribeRequest } from "./ObjectSetStreamSubscribeRequest.js";
18
- export type { ObjectSetStreamSubscribeRequests } from "./ObjectSetStreamSubscribeRequests.js";
19
- export type { ObjectSetSubscribeRequest } from "./ObjectSetSubscribeRequest.js";
20
- export type { ObjectSetSubscribeRequests } from "./ObjectSetSubscribeRequests.js";
21
- export type { ObjectSetSubscribeResponse } from "./ObjectSetSubscribeResponse.js";
22
- export type { ObjectSetSubscribeResponses } from "./ObjectSetSubscribeResponses.js";
23
- export type { ObjectSetUpdates } from "./ObjectSetUpdates.js";
24
- export type { ObjectTypeRid } from "./ObjectTypeRid.js";
25
- export type { PatchOffset } from "./PatchOffset.js";
26
- export type { PropertyId } from "./PropertyId.js";
27
- export type { PropertySelection } from "./PropertySelection.js";
28
- export type { PropertySet } from "./PropertySet.js";
29
- export type { PropertyTypeRid } from "./PropertyTypeRid.js";
30
- export type { PropertyTypeRidPropertySelection } from "./PropertyTypeRidPropertySelection.js";
31
- export type { QosError } from "./QosError.js";
32
- export type { RefreshObjectSet } from "./RefreshObjectSet.js";
33
- export type { RequestId } from "./RequestId.js";
34
- export type { SelectedPropertiesPropertySet } from "./SelectedPropertiesPropertySet.js";
35
- export type { StreamMessage } from "./StreamMessage.js";
36
- export type { SubscriptionError } from "./SubscriptionError.js";
37
- export type { SubscriptionId } from "./SubscriptionId.js";
38
- export type { SubscriptionSuccess } from "./SubscriptionSuccess.js";
39
- export type { UnresolvedFilterParameterId } from "./UnresolvedFilterParameterId.js";
40
- export * as object from "./object/index.js";
41
- export * as types from "./types/index.js";
@@ -1 +0,0 @@
1
- export type DatasourceRid = string;
@@ -1,14 +0,0 @@
1
- import type { DatasourceRid } from "./DatasourceRid.js";
2
- import type { ObjectKey } from "./ObjectKey.js";
3
- import type { ObjectTypeRid } from "./ObjectTypeRid.js";
4
- import type { ObjectVersion } from "./ObjectVersion.js";
5
- import type { PropertyRid } from "./PropertyRid.js";
6
- import type { PropertyValue } from "./PropertyValue.js";
7
- export interface FoundryObject {
8
- type: ObjectTypeRid;
9
- key: ObjectKey;
10
- datasources: Array<DatasourceRid>;
11
- properties: Map<PropertyRid, PropertyValue>;
12
- alive: boolean;
13
- version: ObjectVersion;
14
- }
@@ -1,3 +0,0 @@
1
- import type { PropertyRid } from "./PropertyRid.js";
2
- import type { PropertyValue } from "./PropertyValue.js";
3
- export type ObjectKey = Map<PropertyRid, PropertyValue>;
@@ -1 +0,0 @@
1
- export type ObjectTypeRid = string;
@@ -1 +0,0 @@
1
- export type ObjectVersion = Blob;
@@ -1 +0,0 @@
1
- export type PropertyRid = string;
@@ -1,2 +0,0 @@
1
- import type { Value } from "../types/Value.js";
2
- export type PropertyValue = Value;
@@ -1,7 +0,0 @@
1
- export type { DatasourceRid } from "./DatasourceRid.js";
2
- export type { FoundryObject } from "./FoundryObject.js";
3
- export type { ObjectKey } from "./ObjectKey.js";
4
- export type { ObjectTypeRid } from "./ObjectTypeRid.js";
5
- export type { ObjectVersion } from "./ObjectVersion.js";
6
- export type { PropertyRid } from "./PropertyRid.js";
7
- export type { PropertyValue } from "./PropertyValue.js";
@@ -1 +0,0 @@
1
- export type Attachment = string;
@@ -1 +0,0 @@
1
- export type Byte = string;
@@ -1,7 +0,0 @@
1
- import type { DatasetRid } from "./DatasetRid.js";
2
- import type { TransactionRid } from "./TransactionRid.js";
3
- export interface CatalogFileReference {
4
- datasetRid: DatasetRid;
5
- endTransactionRid: TransactionRid;
6
- logicalFilePath: string;
7
- }
@@ -1 +0,0 @@
1
- export type Ciphertext = string;
@@ -1,5 +0,0 @@
1
- import type { CatalogFileReference } from "./CatalogFileReference.js";
2
- export interface DatasetFileReference {
3
- fileReference: CatalogFileReference;
4
- thumbnailReference: CatalogFileReference | undefined;
5
- }
@@ -1 +0,0 @@
1
- export type DatasetRid = string;
@@ -1 +0,0 @@
1
- export type Date = any;
@@ -1 +0,0 @@
1
- export type Decimal = string;
@@ -1,4 +0,0 @@
1
- export interface DecimalType {
2
- precision: string;
3
- scale: string;
4
- }
@@ -1 +0,0 @@
1
- export type Float = string;
@@ -1 +0,0 @@
1
- export type Geohash = string;
@@ -1 +0,0 @@
1
- export type Geoshape = any;
@@ -1 +0,0 @@
1
- export type GeotimeSeriesId = string;
@@ -1 +0,0 @@
1
- export type GeotimeSeriesIntegrationRid = string;
@@ -1,6 +0,0 @@
1
- import type { GeotimeSeriesId } from "./GeotimeSeriesId.js";
2
- import type { GeotimeSeriesIntegrationRid } from "./GeotimeSeriesIntegrationRid.js";
3
- export interface GeotimeSeriesReference {
4
- seriesId: GeotimeSeriesId;
5
- geotimeSeriesIntegrationRid: GeotimeSeriesIntegrationRid;
6
- }
@@ -1 +0,0 @@
1
- export type Long = string;
@@ -1 +0,0 @@
1
- export type Marking = string;
@@ -1 +0,0 @@
1
- export type MarkingType = "MANDATORY" | "CBAC";
@@ -1,6 +0,0 @@
1
- import type { MediaItemRid } from "./MediaItemRid.js";
2
- import type { MediaSetRid } from "./MediaSetRid.js";
3
- export interface MediaItemReference {
4
- mediaSetRid: MediaSetRid;
5
- mediaItemRid: MediaItemRid;
6
- }
@@ -1 +0,0 @@
1
- export type MediaItemRid = string;
@@ -1,6 +0,0 @@
1
- import type { MediaValueReference } from "./MediaValueReference.js";
2
- import type { MimeType } from "./MimeType.js";
3
- export interface MediaReference {
4
- mimeType: MimeType;
5
- reference: MediaValueReference;
6
- }
@@ -1 +0,0 @@
1
- export type MediaSetRid = string;
@@ -1 +0,0 @@
1
- export type MediaSetViewRid = string;
@@ -1,16 +0,0 @@
1
- import type { DatasetFileReference } from "./DatasetFileReference.js";
2
- import type { MediaItemReference } from "./MediaItemReference.js";
3
- import type { MediaViewItemReference } from "./MediaViewItemReference.js";
4
- export interface MediaValueReference_mediaSetItem {
5
- type: "mediaSetItem";
6
- mediaSetItem: MediaItemReference;
7
- }
8
- export interface MediaValueReference_mediaSetViewItem {
9
- type: "mediaSetViewItem";
10
- mediaSetViewItem: MediaViewItemReference;
11
- }
12
- export interface MediaValueReference_immutableDatasetFile {
13
- type: "immutableDatasetFile";
14
- immutableDatasetFile: DatasetFileReference;
15
- }
16
- export type MediaValueReference = MediaValueReference_mediaSetItem | MediaValueReference_mediaSetViewItem | MediaValueReference_immutableDatasetFile;
@@ -1,8 +0,0 @@
1
- import type { MediaItemRid } from "./MediaItemRid.js";
2
- import type { MediaSetRid } from "./MediaSetRid.js";
3
- import type { MediaSetViewRid } from "./MediaSetViewRid.js";
4
- export interface MediaViewItemReference {
5
- mediaSetRid: MediaSetRid;
6
- mediaSetViewRid: MediaSetViewRid;
7
- mediaItemRid: MediaItemRid;
8
- }
@@ -1 +0,0 @@
1
- export type MimeType = string;
@@ -1,2 +0,0 @@
1
- export interface Null {
2
- }
@@ -1 +0,0 @@
1
- export type PrimitiveType = "ATTACHMENT" | "BINARY" | "BOOLEAN" | "BYTE" | "DATE" | "DOUBLE" | "FLOAT" | "GEOHASH" | "GEOSHAPE" | "GEOTIME_SERIES_REFERENCE" | "INTEGER" | "LONG" | "SHORT" | "STRING" | "TIMESTAMP" | "CIPHERTEXT" | "MEDIA_REFERENCE";
@@ -1 +0,0 @@
1
- export type Short = string;
@@ -1 +0,0 @@
1
- export type Timestamp = any;
@@ -1 +0,0 @@
1
- export type TransactionRid = string;