@osdk/foundry.notepad 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/browser/_components.d.ts +290 -0
- package/build/browser/_components.d.ts.map +1 -0
- package/build/browser/_components.js +17 -0
- package/build/browser/_components.js.map +1 -0
- package/build/browser/_errors.d.ts +271 -0
- package/build/browser/_errors.d.ts.map +1 -0
- package/build/browser/_errors.js +17 -0
- package/build/browser/_errors.js.map +1 -0
- package/build/browser/index.d.ts +7 -0
- package/build/browser/index.d.ts.map +1 -0
- package/build/browser/index.js +20 -0
- package/build/browser/index.js.map +1 -0
- package/build/browser/public/ExportJob.d.ts +34 -0
- package/build/browser/public/ExportJob.d.ts.map +1 -0
- package/build/browser/public/ExportJob.js +43 -0
- package/build/browser/public/ExportJob.js.map +1 -0
- package/build/browser/public/File.d.ts +19 -0
- package/build/browser/public/File.d.ts.map +1 -0
- package/build/browser/public/File.js +30 -0
- package/build/browser/public/File.js.map +1 -0
- package/build/browser/public/GenerationJob.d.ts +36 -0
- package/build/browser/public/GenerationJob.d.ts.map +1 -0
- package/build/browser/public/GenerationJob.js +42 -0
- package/build/browser/public/GenerationJob.js.map +1 -0
- package/build/browser/public/Template.d.ts +25 -0
- package/build/browser/public/Template.d.ts.map +1 -0
- package/build/browser/public/Template.js +35 -0
- package/build/browser/public/Template.js.map +1 -0
- package/build/esm/_components.d.ts +290 -0
- package/build/esm/_components.d.ts.map +1 -0
- package/build/esm/_components.js +17 -0
- package/build/esm/_components.js.map +1 -0
- package/build/esm/_errors.d.ts +271 -0
- package/build/esm/_errors.d.ts.map +1 -0
- package/build/esm/_errors.js +17 -0
- package/build/esm/_errors.js.map +1 -0
- package/build/esm/index.d.ts +7 -0
- package/build/esm/index.d.ts.map +1 -0
- package/build/esm/index.js +20 -0
- package/build/esm/index.js.map +1 -0
- package/build/esm/public/ExportJob.d.ts +34 -0
- package/build/esm/public/ExportJob.d.ts.map +1 -0
- package/build/esm/public/ExportJob.js +43 -0
- package/build/esm/public/ExportJob.js.map +1 -0
- package/build/esm/public/File.d.ts +19 -0
- package/build/esm/public/File.d.ts.map +1 -0
- package/build/esm/public/File.js +30 -0
- package/build/esm/public/File.js.map +1 -0
- package/build/esm/public/GenerationJob.d.ts +36 -0
- package/build/esm/public/GenerationJob.d.ts.map +1 -0
- package/build/esm/public/GenerationJob.js +42 -0
- package/build/esm/public/GenerationJob.js.map +1 -0
- package/build/esm/public/Template.d.ts +25 -0
- package/build/esm/public/Template.d.ts.map +1 -0
- package/build/esm/public/Template.js +35 -0
- package/build/esm/public/Template.js.map +1 -0
- package/package.json +65 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Template.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_generate","generate","$ctx","args"],"sources":["Template.js"],"sourcesContent":["/*\n * Copyright 2024 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 */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _generate = [1, \"/v2/notepad/templates/{0}/generate\", 3];\n/**\n * Creates a new GenerationJob. The template generation job will produce new document content by applying\n * template parameters to an existing template. If the GenerationJob succeeds, the resulting contents can\n * be saved as a new Document or exported to a File.\n *\n * The user must have the api:notepad-write scope to create GenerationJobs. Once created a GenerationJob\n * is only accessible to the user that created it.\n *\n * @alpha\n *\n * Required Scopes: [api:notepad-write]\n * URL: /v2/notepad/templates/{templateRid}/generate\n */\nexport function generate($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _generate, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,SAAS,GAAG,CAAC,CAAC,EAAE,oCAAoC,EAAE,CAAC,CAAC;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,QAAQA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACpC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,SAAS,EAAE,GAAGG,IAAI,CAAC;AAC1D","ignoreList":[]}
|
package/package.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@osdk/foundry.notepad",
|
|
3
|
+
"version": "0.0.0",
|
|
4
|
+
"license": "Apache-2.0",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/palantir/foundry-platform-typescript.git"
|
|
8
|
+
},
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"browser": "./build/browser/index.js",
|
|
12
|
+
"import": "./build/esm/index.js",
|
|
13
|
+
"default": "./build/esm/index.js"
|
|
14
|
+
},
|
|
15
|
+
"./*": {
|
|
16
|
+
"browser": "./build/browser/public/*.js",
|
|
17
|
+
"import": "./build/esm/public/*.js",
|
|
18
|
+
"default": "./build/esm/public/*.js"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@osdk/shared.client": "^1.0.1",
|
|
23
|
+
"@osdk/shared.client2": "^1.0.0",
|
|
24
|
+
"@osdk/shared.net.platformapi": "~1.5.0",
|
|
25
|
+
"@osdk/foundry.filesystem": "2.37.0",
|
|
26
|
+
"@osdk/foundry.ontologies": "2.37.0",
|
|
27
|
+
"@osdk/foundry.core": "2.37.0"
|
|
28
|
+
},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"typescript": "^5.5.4",
|
|
31
|
+
"@osdk/monorepo.tsconfig": "~0.0.0"
|
|
32
|
+
},
|
|
33
|
+
"publishConfig": {
|
|
34
|
+
"access": "public"
|
|
35
|
+
},
|
|
36
|
+
"files": [
|
|
37
|
+
"build/cjs",
|
|
38
|
+
"build/esm",
|
|
39
|
+
"build/browser",
|
|
40
|
+
"CHANGELOG.md",
|
|
41
|
+
"package.json",
|
|
42
|
+
"templates",
|
|
43
|
+
"*.d.ts"
|
|
44
|
+
],
|
|
45
|
+
"module": "./build/esm/index.js",
|
|
46
|
+
"types": "./build/esm/index.d.ts",
|
|
47
|
+
"sls": {
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"com.palantir.foundry.api:api-gateway": {
|
|
50
|
+
"minVersion": "1.1354.0",
|
|
51
|
+
"maxVersion": "1.x.x",
|
|
52
|
+
"optional": false
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"type": "module",
|
|
57
|
+
"scripts": {
|
|
58
|
+
"check-attw": "monorepo.tool.attw esm",
|
|
59
|
+
"check-spelling": "cspell --quiet .",
|
|
60
|
+
"clean": "rm -rf lib dist types build tsconfig.tsbuildinfo",
|
|
61
|
+
"fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)",
|
|
62
|
+
"lint": "eslint . && dprint check --config $(find-up dprint.json)",
|
|
63
|
+
"transpile": "monorepo.tool.transpile"
|
|
64
|
+
}
|
|
65
|
+
}
|