@dxos/client-protocol 0.9.1-main.c7dcc2e112 → 0.9.1-staging.ee54ba693a
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/lib/browser/{chunk-46734GVM.mjs → chunk-3SERD2CK.mjs} +3 -2
- package/dist/lib/browser/{chunk-46734GVM.mjs.map → chunk-3SERD2CK.mjs.map} +3 -3
- package/dist/lib/browser/index.mjs +1 -1
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/types/index.mjs +1 -1
- package/dist/lib/node-esm/{chunk-UTEDAJQA.mjs → chunk-YDC7XBNG.mjs} +3 -2
- package/dist/lib/node-esm/{chunk-UTEDAJQA.mjs.map → chunk-YDC7XBNG.mjs.map} +3 -3
- package/dist/lib/node-esm/index.mjs +1 -1
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/lib/node-esm/types/index.mjs +1 -1
- package/dist/types/src/types/SpaceProperties.d.ts +8 -14
- package/dist/types/src/types/SpaceProperties.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +12 -12
- package/src/types/SpaceProperties.ts +3 -6
|
@@ -29,11 +29,12 @@ var SpacePropertiesSchema = Schema.Struct({
|
|
|
29
29
|
iconHue: Schema.optional(Schema.String),
|
|
30
30
|
hue: Schema.optional(Schema.String)
|
|
31
31
|
});
|
|
32
|
-
var SpaceProperties =
|
|
32
|
+
var SpaceProperties = class extends Type.makeObject(DXN.make("org.dxos.type.spaceProperties", "0.1.0"))(SpacePropertiesSchema.pipe(Annotation.HiddenAnnotation.set(true))) {
|
|
33
|
+
};
|
|
33
34
|
|
|
34
35
|
export {
|
|
35
36
|
ComputeEnvironment,
|
|
36
37
|
SpacePropertiesSchema,
|
|
37
38
|
SpaceProperties
|
|
38
39
|
};
|
|
39
|
-
//# sourceMappingURL=chunk-
|
|
40
|
+
//# sourceMappingURL=chunk-3SERD2CK.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/types/SpaceProperties.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport * as Schema from 'effect/Schema';\n\nimport { Annotation, DXN, Feed, Ref, Type } from '@dxos/echo';\n\n/**\n * Where do triggers get executed.\n */\nexport const ComputeEnvironment = Schema.Literal('disabled', 'local', 'edge');\nexport type ComputeEnvironment = Schema.Schema.Type<typeof ComputeEnvironment>;\n\nexport const SpacePropertiesSchema = Schema.Struct({\n //\n // System properties.\n //\n\n // TODO(burdon): Change to mode (no booleans?)\n // TODO(wittjosiah): Make optional with default value.\n edgeReplication: Schema.optional(Schema.Boolean),\n\n /**\n * @deprecated\n */\n invocationTraceFeed: Schema.optional(Ref.Ref(Feed.Feed)),\n\n /**\n * Preference for trigger execution.\n * *disabled* - triggers do not run locally or on EDGE.\n * *local* - triggers are executed locally on the client, edge is not running triggers.\n * *edge* - triggers are executed on the edge, triggers are not run locally.\n */\n computeEnvironment: Schema.optional(ComputeEnvironment),\n\n //\n // User properties.\n //\n\n name: Schema.optional(Schema.String),\n description: Schema.optional(Schema.String),\n icon: Schema.optional(Schema.String),\n iconHue: Schema.optional(Schema.String),\n hue: Schema.optional(Schema.String),\n});\n\nexport type SpacePropertiesSchema = Schema.Schema.Type<typeof SpacePropertiesSchema>;\n\n// TODO(burdon): Pipe Schem.optional, or partial to entire struct to make everything optional?\n// TODO(burdon): Is separate schema def required for forms? Can it be extracted from SpaceProperties?\nexport
|
|
5
|
-
"mappings": ";AAIA,YAAYA,YAAY;AAExB,SAASC,YAAYC,KAAKC,MAAMC,KAAKC,YAAY;AAK1C,IAAMC,qBAA4BC,eAAQ,YAAY,SAAS,MAAA;AAG/D,IAAMC,wBAA+BC,cAAO;;;;;;EAOjDC,iBAAwBC,gBAAgBC,cAAO;;;;EAK/CC,qBAA4BF,gBAASP,IAAIA,IAAID,KAAKA,IAAI,CAAA;;;;;;;EAQtDW,oBAA2BH,gBAASL,kBAAAA;;;;EAMpCS,MAAaJ,gBAAgBK,aAAM;EACnCC,aAAoBN,gBAAgBK,aAAM;EAC1CE,MAAaP,gBAAgBK,aAAM;EACnCG,SAAgBR,gBAAgBK,aAAM;EACtCI,KAAYT,gBAAgBK,aAAM;AACpC,CAAA;AAMO,IAAMK,
|
|
6
|
-
"names": ["Schema", "Annotation", "DXN", "Feed", "Ref", "Type", "ComputeEnvironment", "Literal", "SpacePropertiesSchema", "Struct", "edgeReplication", "optional", "Boolean", "invocationTraceFeed", "computeEnvironment", "name", "String", "description", "icon", "iconHue", "hue", "SpaceProperties", "
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport * as Schema from 'effect/Schema';\n\nimport { Annotation, DXN, Feed, Ref, Type } from '@dxos/echo';\n\n/**\n * Where do triggers get executed.\n */\nexport const ComputeEnvironment = Schema.Literal('disabled', 'local', 'edge');\nexport type ComputeEnvironment = Schema.Schema.Type<typeof ComputeEnvironment>;\n\nexport const SpacePropertiesSchema = Schema.Struct({\n //\n // System properties.\n //\n\n // TODO(burdon): Change to mode (no booleans?)\n // TODO(wittjosiah): Make optional with default value.\n edgeReplication: Schema.optional(Schema.Boolean),\n\n /**\n * @deprecated\n */\n invocationTraceFeed: Schema.optional(Ref.Ref(Feed.Feed)),\n\n /**\n * Preference for trigger execution.\n * *disabled* - triggers do not run locally or on EDGE.\n * *local* - triggers are executed locally on the client, edge is not running triggers.\n * *edge* - triggers are executed on the edge, triggers are not run locally.\n */\n computeEnvironment: Schema.optional(ComputeEnvironment),\n\n //\n // User properties.\n //\n\n name: Schema.optional(Schema.String),\n description: Schema.optional(Schema.String),\n icon: Schema.optional(Schema.String),\n iconHue: Schema.optional(Schema.String),\n hue: Schema.optional(Schema.String),\n});\n\nexport type SpacePropertiesSchema = Schema.Schema.Type<typeof SpacePropertiesSchema>;\n\n// TODO(burdon): Pipe Schem.optional, or partial to entire struct to make everything optional?\n// TODO(burdon): Is separate schema def required for forms? Can it be extracted from SpaceProperties?\nexport class SpaceProperties extends Type.makeObject<SpaceProperties>(\n DXN.make('org.dxos.type.spaceProperties', '0.1.0'),\n)(SpacePropertiesSchema.pipe(Annotation.HiddenAnnotation.set(true))) {}\n"],
|
|
5
|
+
"mappings": ";AAIA,YAAYA,YAAY;AAExB,SAASC,YAAYC,KAAKC,MAAMC,KAAKC,YAAY;AAK1C,IAAMC,qBAA4BC,eAAQ,YAAY,SAAS,MAAA;AAG/D,IAAMC,wBAA+BC,cAAO;;;;;;EAOjDC,iBAAwBC,gBAAgBC,cAAO;;;;EAK/CC,qBAA4BF,gBAASP,IAAIA,IAAID,KAAKA,IAAI,CAAA;;;;;;;EAQtDW,oBAA2BH,gBAASL,kBAAAA;;;;EAMpCS,MAAaJ,gBAAgBK,aAAM;EACnCC,aAAoBN,gBAAgBK,aAAM;EAC1CE,MAAaP,gBAAgBK,aAAM;EACnCG,SAAgBR,gBAAgBK,aAAM;EACtCI,KAAYT,gBAAgBK,aAAM;AACpC,CAAA;AAMO,IAAMK,kBAAN,cAA8BhB,KAAKiB,WACxCpB,IAAIqB,KAAK,iCAAiC,OAAA,CAAA,EAC1Cf,sBAAsBgB,KAAKvB,WAAWwB,iBAAiBC,IAAI,IAAA,CAAA,CAAA,EAAA;AAAS;",
|
|
6
|
+
"names": ["Schema", "Annotation", "DXN", "Feed", "Ref", "Type", "ComputeEnvironment", "Literal", "SpacePropertiesSchema", "Struct", "edgeReplication", "optional", "Boolean", "invocationTraceFeed", "computeEnvironment", "name", "String", "description", "icon", "iconHue", "hue", "SpaceProperties", "makeObject", "make", "pipe", "HiddenAnnotation", "set"]
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/client.ts":{"bytes":626,"imports":[],"format":"esm"},"src/config.ts":{"bytes":7251,"imports":[],"format":"esm"},"src/invitations/encoder.ts":{"bytes":5726,"imports":[{"path":"base-x","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true}],"format":"esm"},"src/invitations/invitations.ts":{"bytes":9220,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true}],"format":"esm"},"src/invitations/index.ts":{"bytes":470,"imports":[{"path":"src/invitations/encoder.ts","kind":"import-statement","original":"./encoder"},{"path":"src/invitations/invitations.ts","kind":"import-statement","original":"./invitations"}],"format":"esm"},"src/service.ts":{"bytes":9540,"imports":[{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true}],"format":"esm"},"src/space.ts":{"bytes":8390,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true}],"format":"esm"},"src/timeouts.ts":{"bytes":3335,"imports":[],"format":"esm"},"src/types/SpaceProperties.ts":{"bytes":
|
|
1
|
+
{"inputs":{"src/client.ts":{"bytes":626,"imports":[],"format":"esm"},"src/config.ts":{"bytes":7251,"imports":[],"format":"esm"},"src/invitations/encoder.ts":{"bytes":5726,"imports":[{"path":"base-x","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true}],"format":"esm"},"src/invitations/invitations.ts":{"bytes":9220,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true}],"format":"esm"},"src/invitations/index.ts":{"bytes":470,"imports":[{"path":"src/invitations/encoder.ts","kind":"import-statement","original":"./encoder"},{"path":"src/invitations/invitations.ts","kind":"import-statement","original":"./invitations"}],"format":"esm"},"src/service.ts":{"bytes":9540,"imports":[{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true}],"format":"esm"},"src/space.ts":{"bytes":8390,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true}],"format":"esm"},"src/timeouts.ts":{"bytes":3335,"imports":[],"format":"esm"},"src/types/SpaceProperties.ts":{"bytes":5730,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"format":"esm"},"src/types/index.ts":{"bytes":395,"imports":[{"path":"src/types/SpaceProperties.ts","kind":"import-statement","original":"./SpaceProperties"}],"format":"esm"},"src/index.ts":{"bytes":1008,"imports":[{"path":"src/client.ts","kind":"import-statement","original":"./client"},{"path":"src/config.ts","kind":"import-statement","original":"./config"},{"path":"src/invitations/index.ts","kind":"import-statement","original":"./invitations"},{"path":"src/service.ts","kind":"import-statement","original":"./service"},{"path":"src/space.ts","kind":"import-statement","original":"./space"},{"path":"src/timeouts.ts","kind":"import-statement","original":"./timeouts"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"}},"outputs":{"dist/lib/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":23973},"dist/lib/browser/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-3SERD2CK.mjs","kind":"import-statement"},{"path":"base-x","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true}],"exports":["AUTHENTICATION_CODE_LENGTH","AUTH_TIMEOUT","AuthenticatingInvitation","CREATE_SPACE_TIMEOUT","CancellableInvitation","ClientServicesProviderResource","ComputeEnvironment","DEFAULT_CLIENT_CHANNEL","DEFAULT_INTERNAL_CHANNEL","DEFAULT_PROFILE","DEFAULT_SHELL_CHANNEL","DEFAULT_VAULT_URL","DEFAULT_WORKER_BROADCAST_CHANNEL","DXEnv","DX_CACHE","DX_CONFIG","DX_DATA","DX_RUNTIME","DX_STATE","EXPECTED_CONFIG_VERSION","IMPORT_SPACE_TIMEOUT","INVITATION_TIMEOUT","InvitationEncoder","LOAD_CONTROL_FEEDS_TIMEOUT","LOAD_PROPERTIES_TIMEOUT","PROXY_CONNECTION_TIMEOUT","RESOURCE_LOCK_TIMEOUT","SPACE_TAG","STATUS_TIMEOUT","SpaceProperties","SpacePropertiesSchema","SpaceSchema","appServiceBundle","clientServiceBundle","defaultConfig","getExpirationTime","getProfileConfigPath","getProfilePath","iframeServiceBundle","isSpace","shellServiceBundle","workerServiceBundle","wrapObservable"],"entryPoint":"src/index.ts","inputs":{"src/client.ts":{"bytesInOutput":97},"src/index.ts":{"bytesInOutput":0},"src/config.ts":{"bytesInOutput":1181},"src/invitations/encoder.ts":{"bytesInOutput":1355},"src/invitations/invitations.ts":{"bytesInOutput":1877},"src/service.ts":{"bytesInOutput":1552},"src/space.ts":{"bytesInOutput":332},"src/timeouts.ts":{"bytesInOutput":256}},"bytes":7878},"dist/lib/browser/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/browser/types/index.mjs":{"imports":[{"path":"dist/lib/browser/chunk-3SERD2CK.mjs","kind":"import-statement"}],"exports":["ComputeEnvironment","SpaceProperties","SpacePropertiesSchema"],"entryPoint":"src/types/index.ts","inputs":{},"bytes":218},"dist/lib/browser/chunk-3SERD2CK.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2803},"dist/lib/browser/chunk-3SERD2CK.mjs":{"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"exports":["ComputeEnvironment","SpaceProperties","SpacePropertiesSchema"],"inputs":{"src/types/SpaceProperties.ts":{"bytesInOutput":1249},"src/types/index.ts":{"bytesInOutput":0}},"bytes":1403}}}
|
|
@@ -31,11 +31,12 @@ var SpacePropertiesSchema = Schema.Struct({
|
|
|
31
31
|
iconHue: Schema.optional(Schema.String),
|
|
32
32
|
hue: Schema.optional(Schema.String)
|
|
33
33
|
});
|
|
34
|
-
var SpaceProperties =
|
|
34
|
+
var SpaceProperties = class extends Type.makeObject(DXN.make("org.dxos.type.spaceProperties", "0.1.0"))(SpacePropertiesSchema.pipe(Annotation.HiddenAnnotation.set(true))) {
|
|
35
|
+
};
|
|
35
36
|
|
|
36
37
|
export {
|
|
37
38
|
ComputeEnvironment,
|
|
38
39
|
SpacePropertiesSchema,
|
|
39
40
|
SpaceProperties
|
|
40
41
|
};
|
|
41
|
-
//# sourceMappingURL=chunk-
|
|
42
|
+
//# sourceMappingURL=chunk-YDC7XBNG.mjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/types/SpaceProperties.ts"],
|
|
4
|
-
"sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport * as Schema from 'effect/Schema';\n\nimport { Annotation, DXN, Feed, Ref, Type } from '@dxos/echo';\n\n/**\n * Where do triggers get executed.\n */\nexport const ComputeEnvironment = Schema.Literal('disabled', 'local', 'edge');\nexport type ComputeEnvironment = Schema.Schema.Type<typeof ComputeEnvironment>;\n\nexport const SpacePropertiesSchema = Schema.Struct({\n //\n // System properties.\n //\n\n // TODO(burdon): Change to mode (no booleans?)\n // TODO(wittjosiah): Make optional with default value.\n edgeReplication: Schema.optional(Schema.Boolean),\n\n /**\n * @deprecated\n */\n invocationTraceFeed: Schema.optional(Ref.Ref(Feed.Feed)),\n\n /**\n * Preference for trigger execution.\n * *disabled* - triggers do not run locally or on EDGE.\n * *local* - triggers are executed locally on the client, edge is not running triggers.\n * *edge* - triggers are executed on the edge, triggers are not run locally.\n */\n computeEnvironment: Schema.optional(ComputeEnvironment),\n\n //\n // User properties.\n //\n\n name: Schema.optional(Schema.String),\n description: Schema.optional(Schema.String),\n icon: Schema.optional(Schema.String),\n iconHue: Schema.optional(Schema.String),\n hue: Schema.optional(Schema.String),\n});\n\nexport type SpacePropertiesSchema = Schema.Schema.Type<typeof SpacePropertiesSchema>;\n\n// TODO(burdon): Pipe Schem.optional, or partial to entire struct to make everything optional?\n// TODO(burdon): Is separate schema def required for forms? Can it be extracted from SpaceProperties?\nexport
|
|
5
|
-
"mappings": ";;;AAIA,YAAYA,YAAY;AAExB,SAASC,YAAYC,KAAKC,MAAMC,KAAKC,YAAY;AAK1C,IAAMC,qBAA4BC,eAAQ,YAAY,SAAS,MAAA;AAG/D,IAAMC,wBAA+BC,cAAO;;;;;;EAOjDC,iBAAwBC,gBAAgBC,cAAO;;;;EAK/CC,qBAA4BF,gBAASP,IAAIA,IAAID,KAAKA,IAAI,CAAA;;;;;;;EAQtDW,oBAA2BH,gBAASL,kBAAAA;;;;EAMpCS,MAAaJ,gBAAgBK,aAAM;EACnCC,aAAoBN,gBAAgBK,aAAM;EAC1CE,MAAaP,gBAAgBK,aAAM;EACnCG,SAAgBR,gBAAgBK,aAAM;EACtCI,KAAYT,gBAAgBK,aAAM;AACpC,CAAA;AAMO,IAAMK,
|
|
6
|
-
"names": ["Schema", "Annotation", "DXN", "Feed", "Ref", "Type", "ComputeEnvironment", "Literal", "SpacePropertiesSchema", "Struct", "edgeReplication", "optional", "Boolean", "invocationTraceFeed", "computeEnvironment", "name", "String", "description", "icon", "iconHue", "hue", "SpaceProperties", "
|
|
4
|
+
"sourcesContent": ["//\n// Copyright 2024 DXOS.org\n//\n\nimport * as Schema from 'effect/Schema';\n\nimport { Annotation, DXN, Feed, Ref, Type } from '@dxos/echo';\n\n/**\n * Where do triggers get executed.\n */\nexport const ComputeEnvironment = Schema.Literal('disabled', 'local', 'edge');\nexport type ComputeEnvironment = Schema.Schema.Type<typeof ComputeEnvironment>;\n\nexport const SpacePropertiesSchema = Schema.Struct({\n //\n // System properties.\n //\n\n // TODO(burdon): Change to mode (no booleans?)\n // TODO(wittjosiah): Make optional with default value.\n edgeReplication: Schema.optional(Schema.Boolean),\n\n /**\n * @deprecated\n */\n invocationTraceFeed: Schema.optional(Ref.Ref(Feed.Feed)),\n\n /**\n * Preference for trigger execution.\n * *disabled* - triggers do not run locally or on EDGE.\n * *local* - triggers are executed locally on the client, edge is not running triggers.\n * *edge* - triggers are executed on the edge, triggers are not run locally.\n */\n computeEnvironment: Schema.optional(ComputeEnvironment),\n\n //\n // User properties.\n //\n\n name: Schema.optional(Schema.String),\n description: Schema.optional(Schema.String),\n icon: Schema.optional(Schema.String),\n iconHue: Schema.optional(Schema.String),\n hue: Schema.optional(Schema.String),\n});\n\nexport type SpacePropertiesSchema = Schema.Schema.Type<typeof SpacePropertiesSchema>;\n\n// TODO(burdon): Pipe Schem.optional, or partial to entire struct to make everything optional?\n// TODO(burdon): Is separate schema def required for forms? Can it be extracted from SpaceProperties?\nexport class SpaceProperties extends Type.makeObject<SpaceProperties>(\n DXN.make('org.dxos.type.spaceProperties', '0.1.0'),\n)(SpacePropertiesSchema.pipe(Annotation.HiddenAnnotation.set(true))) {}\n"],
|
|
5
|
+
"mappings": ";;;AAIA,YAAYA,YAAY;AAExB,SAASC,YAAYC,KAAKC,MAAMC,KAAKC,YAAY;AAK1C,IAAMC,qBAA4BC,eAAQ,YAAY,SAAS,MAAA;AAG/D,IAAMC,wBAA+BC,cAAO;;;;;;EAOjDC,iBAAwBC,gBAAgBC,cAAO;;;;EAK/CC,qBAA4BF,gBAASP,IAAIA,IAAID,KAAKA,IAAI,CAAA;;;;;;;EAQtDW,oBAA2BH,gBAASL,kBAAAA;;;;EAMpCS,MAAaJ,gBAAgBK,aAAM;EACnCC,aAAoBN,gBAAgBK,aAAM;EAC1CE,MAAaP,gBAAgBK,aAAM;EACnCG,SAAgBR,gBAAgBK,aAAM;EACtCI,KAAYT,gBAAgBK,aAAM;AACpC,CAAA;AAMO,IAAMK,kBAAN,cAA8BhB,KAAKiB,WACxCpB,IAAIqB,KAAK,iCAAiC,OAAA,CAAA,EAC1Cf,sBAAsBgB,KAAKvB,WAAWwB,iBAAiBC,IAAI,IAAA,CAAA,CAAA,EAAA;AAAS;",
|
|
6
|
+
"names": ["Schema", "Annotation", "DXN", "Feed", "Ref", "Type", "ComputeEnvironment", "Literal", "SpacePropertiesSchema", "Struct", "edgeReplication", "optional", "Boolean", "invocationTraceFeed", "computeEnvironment", "name", "String", "description", "icon", "iconHue", "hue", "SpaceProperties", "makeObject", "make", "pipe", "HiddenAnnotation", "set"]
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/client.ts":{"bytes":626,"imports":[],"format":"esm"},"src/config.ts":{"bytes":7251,"imports":[],"format":"esm"},"src/invitations/encoder.ts":{"bytes":5726,"imports":[{"path":"base-x","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true}],"format":"esm"},"src/invitations/invitations.ts":{"bytes":9220,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true}],"format":"esm"},"src/invitations/index.ts":{"bytes":470,"imports":[{"path":"src/invitations/encoder.ts","kind":"import-statement","original":"./encoder"},{"path":"src/invitations/invitations.ts","kind":"import-statement","original":"./invitations"}],"format":"esm"},"src/service.ts":{"bytes":9540,"imports":[{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true}],"format":"esm"},"src/space.ts":{"bytes":8390,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true}],"format":"esm"},"src/timeouts.ts":{"bytes":3335,"imports":[],"format":"esm"},"src/types/SpaceProperties.ts":{"bytes":
|
|
1
|
+
{"inputs":{"src/client.ts":{"bytes":626,"imports":[],"format":"esm"},"src/config.ts":{"bytes":7251,"imports":[],"format":"esm"},"src/invitations/encoder.ts":{"bytes":5726,"imports":[{"path":"base-x","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true}],"format":"esm"},"src/invitations/invitations.ts":{"bytes":9220,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true}],"format":"esm"},"src/invitations/index.ts":{"bytes":470,"imports":[{"path":"src/invitations/encoder.ts","kind":"import-statement","original":"./encoder"},{"path":"src/invitations/invitations.ts","kind":"import-statement","original":"./invitations"}],"format":"esm"},"src/service.ts":{"bytes":9540,"imports":[{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true}],"format":"esm"},"src/space.ts":{"bytes":8390,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true}],"format":"esm"},"src/timeouts.ts":{"bytes":3335,"imports":[],"format":"esm"},"src/types/SpaceProperties.ts":{"bytes":5730,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"format":"esm"},"src/types/index.ts":{"bytes":395,"imports":[{"path":"src/types/SpaceProperties.ts","kind":"import-statement","original":"./SpaceProperties"}],"format":"esm"},"src/index.ts":{"bytes":1008,"imports":[{"path":"src/client.ts","kind":"import-statement","original":"./client"},{"path":"src/config.ts","kind":"import-statement","original":"./config"},{"path":"src/invitations/index.ts","kind":"import-statement","original":"./invitations"},{"path":"src/service.ts","kind":"import-statement","original":"./service"},{"path":"src/space.ts","kind":"import-statement","original":"./space"},{"path":"src/timeouts.ts","kind":"import-statement","original":"./timeouts"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":23974},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-YDC7XBNG.mjs","kind":"import-statement"},{"path":"base-x","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/client/services","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto","kind":"import-statement","external":true},{"path":"@dxos/rpc","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true}],"exports":["AUTHENTICATION_CODE_LENGTH","AUTH_TIMEOUT","AuthenticatingInvitation","CREATE_SPACE_TIMEOUT","CancellableInvitation","ClientServicesProviderResource","ComputeEnvironment","DEFAULT_CLIENT_CHANNEL","DEFAULT_INTERNAL_CHANNEL","DEFAULT_PROFILE","DEFAULT_SHELL_CHANNEL","DEFAULT_VAULT_URL","DEFAULT_WORKER_BROADCAST_CHANNEL","DXEnv","DX_CACHE","DX_CONFIG","DX_DATA","DX_RUNTIME","DX_STATE","EXPECTED_CONFIG_VERSION","IMPORT_SPACE_TIMEOUT","INVITATION_TIMEOUT","InvitationEncoder","LOAD_CONTROL_FEEDS_TIMEOUT","LOAD_PROPERTIES_TIMEOUT","PROXY_CONNECTION_TIMEOUT","RESOURCE_LOCK_TIMEOUT","SPACE_TAG","STATUS_TIMEOUT","SpaceProperties","SpacePropertiesSchema","SpaceSchema","appServiceBundle","clientServiceBundle","defaultConfig","getExpirationTime","getProfileConfigPath","getProfilePath","iframeServiceBundle","isSpace","shellServiceBundle","workerServiceBundle","wrapObservable"],"entryPoint":"src/index.ts","inputs":{"src/client.ts":{"bytesInOutput":97},"src/index.ts":{"bytesInOutput":0},"src/config.ts":{"bytesInOutput":1181},"src/invitations/encoder.ts":{"bytesInOutput":1355},"src/invitations/invitations.ts":{"bytesInOutput":1877},"src/service.ts":{"bytesInOutput":1552},"src/space.ts":{"bytesInOutput":332},"src/timeouts.ts":{"bytesInOutput":256}},"bytes":7970},"dist/lib/node-esm/types/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":93},"dist/lib/node-esm/types/index.mjs":{"imports":[{"path":"dist/lib/node-esm/chunk-YDC7XBNG.mjs","kind":"import-statement"}],"exports":["ComputeEnvironment","SpaceProperties","SpacePropertiesSchema"],"entryPoint":"src/types/index.ts","inputs":{},"bytes":310},"dist/lib/node-esm/chunk-YDC7XBNG.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2805},"dist/lib/node-esm/chunk-YDC7XBNG.mjs":{"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"exports":["ComputeEnvironment","SpaceProperties","SpacePropertiesSchema"],"inputs":{"src/types/SpaceProperties.ts":{"bytesInOutput":1249},"src/types/index.ts":{"bytesInOutput":0}},"bytes":1496}}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Schema from 'effect/Schema';
|
|
2
|
-
import { Ref, Type } from '@dxos/echo';
|
|
2
|
+
import { Feed, Ref, Type } from '@dxos/echo';
|
|
3
3
|
/**
|
|
4
4
|
* Where do triggers get executed.
|
|
5
5
|
*/
|
|
@@ -10,11 +10,7 @@ export declare const SpacePropertiesSchema: Schema.Struct<{
|
|
|
10
10
|
/**
|
|
11
11
|
* @deprecated
|
|
12
12
|
*/
|
|
13
|
-
invocationTraceFeed: Schema.optional<Ref.RefSchema<
|
|
14
|
-
readonly name?: string | undefined;
|
|
15
|
-
readonly kind?: string | undefined;
|
|
16
|
-
readonly namespace?: "data" | "trace" | undefined;
|
|
17
|
-
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown>>;
|
|
13
|
+
invocationTraceFeed: Schema.optional<Ref.RefSchema<Feed.Feed & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown>>;
|
|
18
14
|
/**
|
|
19
15
|
* Preference for trigger execution.
|
|
20
16
|
* *disabled* - triggers do not run locally or on EDGE.
|
|
@@ -29,19 +25,17 @@ export declare const SpacePropertiesSchema: Schema.Struct<{
|
|
|
29
25
|
hue: Schema.optional<typeof Schema.String>;
|
|
30
26
|
}>;
|
|
31
27
|
export type SpacePropertiesSchema = Schema.Schema.Type<typeof SpacePropertiesSchema>;
|
|
32
|
-
|
|
28
|
+
declare const SpaceProperties_base: Type.ObjClass<SpaceProperties, {
|
|
33
29
|
readonly edgeReplication?: boolean | undefined;
|
|
34
|
-
readonly invocationTraceFeed?: import("@dxos/echo/internal").Ref<
|
|
35
|
-
readonly name?: string | undefined;
|
|
36
|
-
readonly kind?: string | undefined;
|
|
37
|
-
readonly namespace?: "data" | "trace" | undefined;
|
|
38
|
-
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown> | undefined;
|
|
30
|
+
readonly invocationTraceFeed?: import("@dxos/echo/internal").Ref<Feed.Feed & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown> | undefined;
|
|
39
31
|
readonly computeEnvironment?: "disabled" | "edge" | "local" | undefined;
|
|
40
32
|
readonly name?: string | undefined;
|
|
41
33
|
readonly description?: string | undefined;
|
|
42
34
|
readonly icon?: string | undefined;
|
|
43
35
|
readonly iconHue?: string | undefined;
|
|
44
36
|
readonly hue?: string | undefined;
|
|
45
|
-
},
|
|
46
|
-
export
|
|
37
|
+
}, {}>;
|
|
38
|
+
export declare class SpaceProperties extends SpaceProperties_base {
|
|
39
|
+
}
|
|
40
|
+
export {};
|
|
47
41
|
//# sourceMappingURL=SpaceProperties.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpaceProperties.d.ts","sourceRoot":"","sources":["../../../../src/types/SpaceProperties.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,
|
|
1
|
+
{"version":3,"file":"SpaceProperties.d.ts","sourceRoot":"","sources":["../../../../src/types/SpaceProperties.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAmB,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAE9D;;GAEG;AACH,eAAO,MAAM,kBAAkB,+CAA8C,CAAC;AAC9E,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE/E,eAAO,MAAM,qBAAqB;;IAShC;;OAEG;;IAGH;;;;;OAKG;;;;;;;EAYH,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,qBAAqB,CAAC,CAAC;;;;;;;;;;;AAIrF,qBAAa,eAAgB,SAAQ,oBAE+B;CAAG"}
|