@dialecte/plc 0.0.1 → 0.0.3

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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dialecte.config.d.ts","sourceRoot":"","sources":["../../src/config/dialecte.config.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,aAAa;;CAEG,CAAA;AAG7B,eAAO,MAAM,mBAAmB;;;;;;;CAOG,CAAA;AAEnC,eAAO,MAAM,cAAc;;;;;CAEjB,CAAA;AAEV,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAaM,CAAA;AAEtC,MAAM,MAAM,MAAM,GAAG,QAAQ,CAAC,OAAO,mBAAmB,CAAC,CAAA"}
@@ -0,0 +1,34 @@
1
+ import { Config } from './dialecte.config';
2
+ import { PLC_EXTENSION_MODULES } from '../extensions';
3
+ import type * as Core from '@dialecte/core';
4
+ type PlcExtensions = Core.MergedExtensions<typeof PLC_EXTENSION_MODULES>;
5
+ export declare namespace Plc {
6
+ type Project<GenericCustomModules extends Core.ExtensionModules = Record<never, never>> = Core.Project<Config, PlcExtensions & GenericCustomModules>;
7
+ type Document = Core.Document<Config, PlcExtensions>;
8
+ type Context = Core.Context<Config>;
9
+ type Query = Core.Query<Config> & Core.QueryExtensions<PlcExtensions>;
10
+ type Transaction = Core.Transaction<Config> & Core.AllExtensions<PlcExtensions>;
11
+ type TransactionHooks = Core.TransactionHooks<Config>;
12
+ type ElementsOf = Core.ElementsOf<Config>;
13
+ type Ref<GenericElement extends ElementsOf> = Core.Ref<Config, GenericElement>;
14
+ type AttributesValueObjectOf<GenericElement extends ElementsOf> = Core.AttributesValueObjectOf<Config, GenericElement>;
15
+ type AttributesOf<GenericElement extends ElementsOf> = Core.AttributesOf<Config, GenericElement>;
16
+ type FullAttributeObjectOf<GenericElement extends ElementsOf> = Core.FullAttributeObjectOf<Config, GenericElement>;
17
+ type ChildrenOf<GenericElement extends ElementsOf> = Core.ChildrenOf<Config, GenericElement>;
18
+ type ParentsOf<GenericElement extends ElementsOf> = Core.ParentsOf<Config, GenericElement>;
19
+ type DescendantsOf<GenericElement extends ElementsOf> = Core.DescendantsOf<Config, GenericElement>;
20
+ type AncestorsOf<GenericElement extends ElementsOf> = Core.AncestorsOf<Config, GenericElement>;
21
+ type RootElementOf = Core.RootElementOf<Config>;
22
+ type SingletonElementsOf = Core.SingletonElementsOf<Config>;
23
+ type Operation = Core.Operation<Config>;
24
+ type RawRecord<GenericElement extends ElementsOf> = Core.RawRecord<Config, GenericElement>;
25
+ type TrackedRecord<GenericElement extends ElementsOf> = Core.TrackedRecord<Config, GenericElement>;
26
+ type TreeRecord<GenericElement extends ElementsOf> = Core.TreeRecord<Config, GenericElement>;
27
+ type ParentRelationship<GenericElement extends ElementsOf> = Core.ParentRelationship<Config, GenericElement>;
28
+ type ChildRelationship<GenericElement extends ElementsOf> = Core.ChildRelationship<Config, GenericElement>;
29
+ type Attribute<GenericElement extends ElementsOf> = Core.Attribute<Config, GenericElement>;
30
+ type QualifiedAttribute<GenericElement extends ElementsOf> = Core.QualifiedAttribute<Config, GenericElement>;
31
+ type CloneMapping = Core.CloneMapping<Config>;
32
+ }
33
+ export {};
34
+ //# sourceMappingURL=hydrated.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hydrated.types.d.ts","sourceRoot":"","sources":["../../src/config/hydrated.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAA;AACzD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C,KAAK,aAAa,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAExE,yBAAiB,GAAG,CAAC;IACpB,KAAY,OAAO,CAAC,oBAAoB,SAAS,IAAI,CAAC,gBAAgB,GAAG,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,IAC5F,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,aAAa,GAAG,oBAAoB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A;IACD,KAAY,WAAW,CAAC,cAAc,SAAS,UAAU,IAAI,IAAI,CAAC,WAAW,CAC5E,MAAM,EACN,cAAc,CACd,CAAA;IACD,KAAY,aAAa,GAAG,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,CAAA;IACtD,KAAY,mBAAmB,GAAG,IAAI,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAA;IAGlE,KAAY,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAA;IAG9C,KAAY,SAAS,CAAC,cAAc,SAAS,UAAU,IAAI,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,cAAc,CAAC,CAAA;IACjG,KAAY,aAAa,CAAC,cAAc,SAAS,UAAU,IAAI,IAAI,CAAC,aAAa,CAChF,MAAM,EACN,cAAc,CACd,CAAA;IACD,KAAY,UAAU,CAAC,cAAc,SAAS,UAAU,IAAI,IAAI,CAAC,UAAU,CAC1E,MAAM,EACN,cAAc,CACd,CAAA;IAED,KAAY,kBAAkB,CAAC,cAAc,SAAS,UAAU,IAAI,IAAI,CAAC,kBAAkB,CAC1F,MAAM,EACN,cAAc,CACd,CAAA;IACD,KAAY,iBAAiB,CAAC,cAAc,SAAS,UAAU,IAAI,IAAI,CAAC,iBAAiB,CACxF,MAAM,EACN,cAAc,CACd,CAAA;IAED,KAAY,SAAS,CAAC,cAAc,SAAS,UAAU,IAAI,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,cAAc,CAAC,CAAA;IACjG,KAAY,kBAAkB,CAAC,cAAc,SAAS,UAAU,IAAI,IAAI,CAAC,kBAAkB,CAC1F,MAAM,EACN,cAAc,CACd,CAAA;IAGD,KAAY,YAAY,GAAG,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,CAAA;CACpD"}
@@ -0,0 +1,3 @@
1
+ export * from './dialecte.config';
2
+ export type * from './hydrated.types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,mBAAmB,kBAAkB,CAAA"}