@dxos/cli 0.8.4-main.406dc2a → 0.8.4-main.548089c
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/dist/src/commands/debug/diagnostics.d.ts +0 -1
- package/dist/src/commands/debug/diagnostics.d.ts.map +1 -1
- package/dist/src/commands/debug/generate.d.ts +0 -1
- package/dist/src/commands/debug/generate.d.ts.map +1 -1
- package/dist/src/commands/debug/status.d.ts +0 -1
- package/dist/src/commands/debug/status.d.ts.map +1 -1
- package/dist/src/commands/device/list.d.ts +0 -1
- package/dist/src/commands/device/list.d.ts.map +1 -1
- package/dist/src/commands/device/update.d.ts +0 -1
- package/dist/src/commands/device/update.d.ts.map +1 -1
- package/dist/src/commands/edge/status.d.ts +0 -1
- package/dist/src/commands/edge/status.d.ts.map +1 -1
- package/dist/src/commands/function/trigger/list.d.ts +2 -3
- package/dist/src/commands/function/trigger/list.d.ts.map +1 -1
- package/dist/src/commands/function/trigger/list.js +5 -5
- package/dist/src/commands/function/trigger/list.js.map +1 -1
- package/dist/src/commands/function/watch.d.ts +0 -1
- package/dist/src/commands/function/watch.d.ts.map +1 -1
- package/dist/src/commands/function/watch.js +5 -4
- package/dist/src/commands/function/watch.js.map +1 -1
- package/dist/src/commands/halo/create.d.ts +0 -1
- package/dist/src/commands/halo/create.d.ts.map +1 -1
- package/dist/src/commands/halo/credential/list.d.ts +0 -1
- package/dist/src/commands/halo/credential/list.d.ts.map +1 -1
- package/dist/src/commands/halo/join.d.ts +0 -1
- package/dist/src/commands/halo/join.d.ts.map +1 -1
- package/dist/src/commands/halo/recovery/use.d.ts +0 -1
- package/dist/src/commands/halo/recovery/use.d.ts.map +1 -1
- package/dist/src/commands/halo/share.d.ts +0 -1
- package/dist/src/commands/halo/share.d.ts.map +1 -1
- package/dist/src/commands/halo/update.d.ts +0 -1
- package/dist/src/commands/halo/update.d.ts.map +1 -1
- package/dist/src/commands/info.d.ts +0 -1
- package/dist/src/commands/info.d.ts.map +1 -1
- package/dist/src/commands/profile/import.d.ts +0 -1
- package/dist/src/commands/profile/import.d.ts.map +1 -1
- package/dist/src/commands/profile/inspect.d.ts +0 -1
- package/dist/src/commands/profile/inspect.d.ts.map +1 -1
- package/dist/src/commands/reset/index.d.ts +0 -1
- package/dist/src/commands/reset/index.d.ts.map +1 -1
- package/dist/src/commands/reset/index.js +0 -8
- package/dist/src/commands/reset/index.js.map +1 -1
- package/dist/src/commands/space/join.d.ts +0 -1
- package/dist/src/commands/space/join.d.ts.map +1 -1
- package/dist/src/commands/space/list.d.ts +0 -1
- package/dist/src/commands/space/list.d.ts.map +1 -1
- package/dist/src/commands/space/members.d.ts +0 -1
- package/dist/src/commands/space/members.d.ts.map +1 -1
- package/dist/src/commands/space/query.d.ts +0 -1
- package/dist/src/commands/space/query.d.ts.map +1 -1
- package/dist/src/commands/space/schema/list.d.ts +0 -1
- package/dist/src/commands/space/schema/list.d.ts.map +1 -1
- package/dist/src/commands/space/share.d.ts +0 -1
- package/dist/src/commands/space/share.d.ts.map +1 -1
- package/dist/src/commands/tunnel/index.d.ts +0 -1
- package/dist/src/commands/tunnel/index.d.ts.map +1 -1
- package/dist/src/commands/tunnel/list.d.ts +0 -1
- package/dist/src/commands/tunnel/list.d.ts.map +1 -1
- package/dist/src/util/function/lookup.d.ts +3 -2
- package/dist/src/util/function/lookup.d.ts.map +1 -1
- package/dist/src/util/function/lookup.js +3 -2
- package/dist/src/util/function/lookup.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/oclif.manifest.json +212 -1240
- package/package.json +28 -28
- package/dist/src/commands/agent/agent.node.test.d.ts +0 -2
- package/dist/src/commands/agent/agent.node.test.d.ts.map +0 -1
- package/dist/src/commands/agent/agent.node.test.js +0 -178
- package/dist/src/commands/agent/agent.node.test.js.map +0 -1
- package/dist/src/commands/agent/invitations.d.ts +0 -20
- package/dist/src/commands/agent/invitations.d.ts.map +0 -1
- package/dist/src/commands/agent/invitations.js +0 -88
- package/dist/src/commands/agent/invitations.js.map +0 -1
- package/dist/src/commands/agent/list.d.ts +0 -22
- package/dist/src/commands/agent/list.d.ts.map +0 -1
- package/dist/src/commands/agent/list.js +0 -45
- package/dist/src/commands/agent/list.js.map +0 -1
- package/dist/src/commands/agent/restart.d.ts +0 -21
- package/dist/src/commands/agent/restart.d.ts.map +0 -1
- package/dist/src/commands/agent/restart.js +0 -26
- package/dist/src/commands/agent/restart.js.map +0 -1
- package/dist/src/commands/agent/start.d.ts +0 -33
- package/dist/src/commands/agent/start.d.ts.map +0 -1
- package/dist/src/commands/agent/start.js +0 -204
- package/dist/src/commands/agent/start.js.map +0 -1
- package/dist/src/commands/agent/status.d.ts +0 -19
- package/dist/src/commands/agent/status.d.ts.map +0 -1
- package/dist/src/commands/agent/status.js +0 -30
- package/dist/src/commands/agent/status.js.map +0 -1
- package/dist/src/commands/agent/stop.d.ts +0 -22
- package/dist/src/commands/agent/stop.d.ts.map +0 -1
- package/dist/src/commands/agent/stop.js +0 -49
- package/dist/src/commands/agent/stop.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lookup.d.ts","sourceRoot":"","sources":["../../../../src/util/function/lookup.ts"],"names":[],"mappings":"AAIA,OAAO,EAAU,KAAK,KAAK,EAAW,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"lookup.d.ts","sourceRoot":"","sources":["../../../../src/util/function/lookup.ts"],"names":[],"mappings":"AAIA,OAAO,EAAU,KAAK,KAAK,EAAW,MAAM,mBAAmB,CAAC;AAIhE,eAAO,MAAM,0BAA0B,GAAU,OAAO,KAAK,EAAE,aAAa,MAAM;;;;;;;;;;;;;;;;;eAMjF,CAAC"}
|
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
// Copyright 2025 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
import { Filter, getMeta } from '@dxos/client/echo';
|
|
5
|
-
import {
|
|
5
|
+
import { getUserFunctionIdInMetadata } from '@dxos/functions';
|
|
6
|
+
import { Function } from '@dxos/functions';
|
|
6
7
|
export const findFunctionByDeploymentId = async (space, functionId) => {
|
|
7
8
|
if (!functionId) {
|
|
8
9
|
return undefined;
|
|
9
10
|
}
|
|
10
|
-
const functions = await space.db.query(Filter.type(
|
|
11
|
+
const functions = await space.db.query(Filter.type(Function.Function)).run();
|
|
11
12
|
return functions.objects.find((fn) => getUserFunctionIdInMetadata(getMeta(fn)) === functionId);
|
|
12
13
|
};
|
|
13
14
|
//# sourceMappingURL=lookup.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lookup.js","sourceRoot":"","sources":["../../../../src/util/function/lookup.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;AAEF,OAAO,EAAE,MAAM,EAAc,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"lookup.js","sourceRoot":"","sources":["../../../../src/util/function/lookup.ts"],"names":[],"mappings":"AAAA,EAAE;AACF,0BAA0B;AAC1B,EAAE;AAEF,OAAO,EAAE,MAAM,EAAc,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EAAE,2BAA2B,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,MAAM,CAAC,MAAM,0BAA0B,GAAG,KAAK,EAAE,KAAY,EAAE,UAAmB,EAAE,EAAE;IACpF,IAAI,CAAC,UAAU,EAAE,CAAC;QAChB,OAAO,SAAS,CAAC;IACnB,CAAC;IACD,MAAM,SAAS,GAAG,MAAM,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;IAC7E,OAAO,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,2BAA2B,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,KAAK,UAAU,CAAC,CAAC;AACjG,CAAC,CAAC"}
|