Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bahrus committed Jul 7, 2024
1 parent 91212b0 commit b360d7a
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 4 deletions.
2 changes: 1 addition & 1 deletion be-invoking.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import {config as beCnfg} from 'be-enhanced/config.js';
import {BE, BEConfig} from 'be-enhanced/BE.js';
import {Actions, AllProps, AP, ElevatingParameters, PAP} from './types';
import {IEnhancement, BEAllProps, EnhancementInfo, EMC} from 'trans-render/be/types';
import { Specifier } from 'trans-render/dss/types';
import {dispatchEvent as de} from 'trans-render/positractions/dispatchEvent.js';
import {Actions, AP} from './types';

class BeInvoking extends BE implements Actions {
de = de;
Expand Down
18 changes: 17 additions & 1 deletion behivior.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
const dependencyPart = String.raw `^(?<dependencyPart>.*)`;
const dssKeys = [['dependencyPart', 'remoteSpecifiers[]']];
export const emc = {
base: 'be-invoking',
map: {},
map: {
'0.0': {
instanceOf: 'Object$entences',
objValMapsTo: '.',
regExpExts: {
parsedStatements: [
{
regExp: dependencyPart,
defaultVals: {},
dssKeys,
}
]
}
}
},
enhPropKey: 'beInvoking',
importEnh: async () => {
const { BeInvoking } = await import('./be-invoking.js');
Expand Down
18 changes: 17 additions & 1 deletion behivior.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,26 @@
import {BeHive, EMC, seed, MountObserver} from 'be-hive/be-hive.js';
import {AP} from './types';

const dependencyPart = String.raw `^(?<dependencyPart>.*)`;

const dssKeys = [['dependencyPart', 'remoteSpecifiers[]']] as [string, string][];

export const emc: EMC<any, AP> = {
base: 'be-invoking',
map: {

'0.0':{
instanceOf: 'Object$entences',
objValMapsTo: '.',
regExpExts: {
parsedStatements: [
{
regExp: dependencyPart,
defaultVals: {},
dssKeys,
}
]
}
}
},
enhPropKey: 'beInvoking',
importEnh: async() => {
Expand Down
7 changes: 6 additions & 1 deletion types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ export interface EndUserProps extends IEnhancement{
}

export interface AP extends EndUserProps{

parsedStatements?: Array<InvokingParameters>,
rawStatements?: Array<string>,
}

export type AllProps = AP;
Expand All @@ -15,4 +16,8 @@ export type PAP = Partial<AP>
export type ProPAP = Promise<PAP>

export interface Actions{
}

export interface InvokingParameters {

}

0 comments on commit b360d7a

Please sign in to comment.