chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:34:48 +08:00
commit 77bb5bf71f
3762 changed files with 353249 additions and 0 deletions
@@ -0,0 +1,17 @@
import * as sdk from '@botpress/sdk'
import interfaceWithEntities from './bp_modules/interface-with-entities'
import * as packageJson from './package.json'
export default new sdk.IntegrationDefinition({
name: packageJson.integrationName,
version: '1.0.0',
entities: {
customItem: {
schema: sdk.z.object({
id: sdk.z.string(),
name: sdk.z.string().optional(),
color: sdk.z.string().optional(),
}),
},
},
}).extend(interfaceWithEntities, ({ entities }) => ({ entities: { item: entities.customItem } }))
@@ -0,0 +1,18 @@
{
"name": "cli-fixtures-integration-with-entity-dependency",
"integrationName": "cli-fixtures-integration-with-entity-dependency",
"scripts": {
"check:type": "tsc --noEmit"
},
"private": true,
"dependencies": {
"@botpress/sdk": "workspace:*"
},
"devDependencies": {
"@types/node": "^22.16.4",
"typescript": "^5.6.3"
},
"bpDependencies": {
"interface-with-entities": "../../interfaces/interface-with-entities"
}
}
@@ -0,0 +1,19 @@
import * as bp from '.botpress'
export default new bp.Integration({
register() {
throw new Error('Not implemented')
},
unregister() {
throw new Error('Not implemented')
},
actions: {
manipulateItem() {
throw new Error('Not implemented')
},
},
channels: {},
handler() {
throw new Error('Not implemented')
},
})
@@ -0,0 +1,28 @@
{
"compilerOptions": {
"lib": ["es2022"],
"module": "commonjs",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"moduleResolution": "node",
"allowUnusedLabels": false,
"allowUnreachableCode": false,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noUncheckedIndexedAccess": true,
"noUnusedParameters": true,
"target": "es2017",
"paths": { "*": ["./*"] },
"outDir": "dist",
"checkJs": false,
"incremental": true,
"exactOptionalPropertyTypes": false,
"resolveJsonModule": true,
"noPropertyAccessFromIndexSignature": false,
"noUnusedLocals": false
},
"include": [".botpress/**/*", "src/**/*", "*.ts", "*.json"]
}