@ibgib/ts-gib 0.5.10 → 0.5.12
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/V1/types.d.mts +27 -4
- package/dist/V1/types.d.mts.map +1 -1
- package/dist/V1/types.mjs +2 -0
- package/dist/V1/types.mjs.map +1 -1
- package/package.json +2 -2
- package/src/V1/types.mts +26 -3
package/dist/V1/types.d.mts
CHANGED
|
@@ -61,15 +61,18 @@ export declare enum Rel8n {
|
|
|
61
61
|
ancestor = "ancestor",
|
|
62
62
|
dna = "dna",
|
|
63
63
|
identity = "identity",
|
|
64
|
-
tjp = "tjp"
|
|
64
|
+
tjp = "tjp",
|
|
65
|
+
secret = "secret",
|
|
66
|
+
encryption = "encryption"
|
|
65
67
|
}
|
|
66
68
|
/**
|
|
67
69
|
* shape of named edges (hard links) to other ibgibs which forms a dependency
|
|
68
70
|
* graph (DAG) in V1.
|
|
69
71
|
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
72
|
+
* Note that all rel8ns are open-ended, because this is how rel8ns actually
|
|
73
|
+
* exist. For example, consider that any relationship conceived nowadays in CS
|
|
74
|
+
* as one-to-one, actually can be thought of as many-to-many when considering
|
|
75
|
+
* multiple timelines.
|
|
73
76
|
*/
|
|
74
77
|
export interface IbGibRel8ns_V1 extends IbGibRel8ns {
|
|
75
78
|
/**
|
|
@@ -79,20 +82,24 @@ export interface IbGibRel8ns_V1 extends IbGibRel8ns {
|
|
|
79
82
|
* depending on use case, this could only be a single pointer to the most
|
|
80
83
|
* recent past (like a linked list or blockchain), or it could be the entire
|
|
81
84
|
* history from inception of the ibgib.
|
|
85
|
+
* @optional
|
|
82
86
|
*/
|
|
83
87
|
[Rel8n.past]?: IbGibAddr[];
|
|
84
88
|
/**
|
|
85
89
|
* associate the owner/producer of the ibgib. not in use atow (02/2024), so
|
|
86
90
|
* this may change or be yagni. the keystone structure will solve this.
|
|
91
|
+
* @optional
|
|
87
92
|
*/
|
|
88
93
|
[Rel8n.identity]?: IbGibAddr[];
|
|
89
94
|
/**
|
|
90
95
|
* when an ibgib is forked, this is the parent.
|
|
96
|
+
* @optional
|
|
91
97
|
*/
|
|
92
98
|
[Rel8n.ancestor]?: IbGibAddr[];
|
|
93
99
|
/**
|
|
94
100
|
* points to the dna that are the history of applied transforms that got the
|
|
95
101
|
* ibgib to its current state.
|
|
102
|
+
* @optional
|
|
96
103
|
*/
|
|
97
104
|
[Rel8n.dna]?: IbGibAddr[];
|
|
98
105
|
/**
|
|
@@ -100,8 +107,24 @@ export interface IbGibRel8ns_V1 extends IbGibRel8ns {
|
|
|
100
107
|
*
|
|
101
108
|
* this is set if either uuid or timestamp tjp setting is used when the most
|
|
102
109
|
* recent transform was applied.
|
|
110
|
+
* @optional
|
|
103
111
|
*/
|
|
104
112
|
[Rel8n.tjp]?: IbGibAddr[];
|
|
113
|
+
/**
|
|
114
|
+
* if there is any encryption related to this ibgib, most likely for
|
|
115
|
+
* enciphering one or more properties in the ibgib's `ib` and/or `data`
|
|
116
|
+
* properties, the associated secret(s) can be linked here.
|
|
117
|
+
* @optional
|
|
118
|
+
*/
|
|
119
|
+
[Rel8n.secret]?: IbGibAddr[];
|
|
120
|
+
/**
|
|
121
|
+
* if there is any encryption related to this ibgib, most likely for
|
|
122
|
+
* enciphering one or more properties in the ibgib's `ib` and/or `data`
|
|
123
|
+
* properties, the encryption ibgibs (which hold encryption details like
|
|
124
|
+
* encryption algorithm + parameterization) can be linked here.
|
|
125
|
+
* @optional
|
|
126
|
+
*/
|
|
127
|
+
[Rel8n.encryption]?: IbGibAddr[];
|
|
105
128
|
}
|
|
106
129
|
/**
|
|
107
130
|
* combined shape of the overall v1 ibgib. it has an ib, gib, data, and rel8ns. */
|
package/dist/V1/types.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.mts","sourceRoot":"","sources":["../../src/V1/types.mts"],"names":[],"mappings":"AAAA;;;;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
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.mjs","sourceRoot":"","sources":["../../src/V1/types.mts"],"names":[],"mappings":"AA2DA;;GAEG;AACH,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"types.mjs","sourceRoot":"","sources":["../../src/V1/types.mts"],"names":[],"mappings":"AA2DA;;GAEG;AACH,MAAM,CAAN,IAAY,KAQX;AARD,WAAY,KAAK;IACb,sBAAa,CAAA;IACb,8BAAqB,CAAA;IACrB,oBAAW,CAAA;IACX,8BAAqB,CAAA;IACrB,oBAAW,CAAA;IACX,0BAAiB,CAAA;IACjB,kCAAyB,CAAA;AAC7B,CAAC,EARW,KAAK,KAAL,KAAK,QAQhB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ibgib/ts-gib",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.12",
|
|
4
4
|
"description": "ibgib library with low-level graphing-related substrate functionality, e.g. creating raw ibgibs and transformations. node19+ needed for heavily-used webcrypto hashing isomorphically consumed in node and browsers (apps).",
|
|
5
5
|
"repository": {
|
|
6
6
|
"url": "https://gitlab.com/ibgib/ts-gib",
|
|
@@ -61,6 +61,6 @@
|
|
|
61
61
|
"access": "public"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@ibgib/helper-gib": "^0.0.
|
|
64
|
+
"@ibgib/helper-gib": "^0.0.24"
|
|
65
65
|
}
|
|
66
66
|
}
|
package/src/V1/types.mts
CHANGED
|
@@ -66,14 +66,17 @@ export enum Rel8n {
|
|
|
66
66
|
dna = 'dna',
|
|
67
67
|
identity = 'identity',
|
|
68
68
|
tjp = 'tjp',
|
|
69
|
+
secret = 'secret',
|
|
70
|
+
encryption = 'encryption',
|
|
69
71
|
}
|
|
70
72
|
/**
|
|
71
73
|
* shape of named edges (hard links) to other ibgibs which forms a dependency
|
|
72
74
|
* graph (DAG) in V1.
|
|
73
75
|
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
76
|
+
* Note that all rel8ns are open-ended, because this is how rel8ns actually
|
|
77
|
+
* exist. For example, consider that any relationship conceived nowadays in CS
|
|
78
|
+
* as one-to-one, actually can be thought of as many-to-many when considering
|
|
79
|
+
* multiple timelines.
|
|
77
80
|
*/
|
|
78
81
|
export interface IbGibRel8ns_V1 extends IbGibRel8ns {
|
|
79
82
|
/**
|
|
@@ -83,20 +86,24 @@ export interface IbGibRel8ns_V1 extends IbGibRel8ns {
|
|
|
83
86
|
* depending on use case, this could only be a single pointer to the most
|
|
84
87
|
* recent past (like a linked list or blockchain), or it could be the entire
|
|
85
88
|
* history from inception of the ibgib.
|
|
89
|
+
* @optional
|
|
86
90
|
*/
|
|
87
91
|
[Rel8n.past]?: IbGibAddr[];
|
|
88
92
|
/**
|
|
89
93
|
* associate the owner/producer of the ibgib. not in use atow (02/2024), so
|
|
90
94
|
* this may change or be yagni. the keystone structure will solve this.
|
|
95
|
+
* @optional
|
|
91
96
|
*/
|
|
92
97
|
[Rel8n.identity]?: IbGibAddr[];
|
|
93
98
|
/**
|
|
94
99
|
* when an ibgib is forked, this is the parent.
|
|
100
|
+
* @optional
|
|
95
101
|
*/
|
|
96
102
|
[Rel8n.ancestor]?: IbGibAddr[];
|
|
97
103
|
/**
|
|
98
104
|
* points to the dna that are the history of applied transforms that got the
|
|
99
105
|
* ibgib to its current state.
|
|
106
|
+
* @optional
|
|
100
107
|
*/
|
|
101
108
|
[Rel8n.dna]?: IbGibAddr[];
|
|
102
109
|
/**
|
|
@@ -104,8 +111,24 @@ export interface IbGibRel8ns_V1 extends IbGibRel8ns {
|
|
|
104
111
|
*
|
|
105
112
|
* this is set if either uuid or timestamp tjp setting is used when the most
|
|
106
113
|
* recent transform was applied.
|
|
114
|
+
* @optional
|
|
107
115
|
*/
|
|
108
116
|
[Rel8n.tjp]?: IbGibAddr[];
|
|
117
|
+
/**
|
|
118
|
+
* if there is any encryption related to this ibgib, most likely for
|
|
119
|
+
* enciphering one or more properties in the ibgib's `ib` and/or `data`
|
|
120
|
+
* properties, the associated secret(s) can be linked here.
|
|
121
|
+
* @optional
|
|
122
|
+
*/
|
|
123
|
+
[Rel8n.secret]?: IbGibAddr[];
|
|
124
|
+
/**
|
|
125
|
+
* if there is any encryption related to this ibgib, most likely for
|
|
126
|
+
* enciphering one or more properties in the ibgib's `ib` and/or `data`
|
|
127
|
+
* properties, the encryption ibgibs (which hold encryption details like
|
|
128
|
+
* encryption algorithm + parameterization) can be linked here.
|
|
129
|
+
* @optional
|
|
130
|
+
*/
|
|
131
|
+
[Rel8n.encryption]?: IbGibAddr[];
|
|
109
132
|
}
|
|
110
133
|
/**
|
|
111
134
|
* combined shape of the overall v1 ibgib. it has an ib, gib, data, and rel8ns. */
|