@tricoteuses/senat 0.2.3 → 0.3.2
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/LICENSE.md +2 -2
- package/README.md +0 -169
- package/lib/index.d.ts +1 -0
- package/lib/index.js +111 -35
- package/lib/index.mjs +1 -0
- package/lib/inserters.js +97 -167
- package/lib/inserters.mjs +360 -0
- package/lib/raw_types/ameli.js +4 -2
- package/lib/raw_types/ameli.mjs +2 -0
- package/lib/raw_types/debats.js +4 -2
- package/lib/raw_types/debats.mjs +2 -0
- package/lib/raw_types/dosleg.js +3 -1
- package/lib/raw_types/dosleg.mjs +2 -0
- package/lib/raw_types/questions.js +1 -1
- package/{src/raw_types/questions.ts → lib/raw_types/questions.mjs} +1 -3
- package/lib/raw_types/sens.js +4 -2
- package/lib/raw_types/sens.mjs +2 -0
- package/lib/types/ameli.js +5 -1
- package/lib/types/ameli.mjs +1 -0
- package/lib/types/debats.js +3 -1
- package/lib/types/debats.mjs +1 -0
- package/lib/types/dosleg.js +3 -1
- package/lib/types/dosleg.mjs +1 -0
- package/lib/types/questions.js +1 -1
- package/lib/types/questions.mjs +1 -0
- package/lib/types/sens.js +3 -1
- package/lib/types/sens.mjs +1 -0
- package/package.json +26 -33
- package/.eslintrc.js +0 -24
- package/babel.config.js +0 -39
- package/prettier.config.js +0 -4
- package/src/index.ts +0 -30
- package/src/inserters.ts +0 -520
- package/src/raw_types/ameli.ts +0 -655
- package/src/raw_types/debats.ts +0 -161
- package/src/raw_types/dosleg.ts +0 -2351
- package/src/raw_types/sens.ts +0 -3101
- package/src/types/ameli.ts +0 -7
- package/src/types/debats.ts +0 -3
- package/src/types/dosleg.ts +0 -132
- package/src/types/questions.ts +0 -0
- package/src/types/sens.ts +0 -12
- package/tsconfig.json +0 -67
package/src/types/ameli.ts
DELETED
package/src/types/debats.ts
DELETED
package/src/types/dosleg.ts
DELETED
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
import { txt_ameliFields } from "../raw_types/ameli"
|
|
2
|
-
import {
|
|
3
|
-
ass as Ass,
|
|
4
|
-
aud,
|
|
5
|
-
audFields,
|
|
6
|
-
auteur,
|
|
7
|
-
date_seance,
|
|
8
|
-
date_seanceFields as dateSeanceFields,
|
|
9
|
-
deccoc as DecCoc,
|
|
10
|
-
denrap as DenRap,
|
|
11
|
-
docatt,
|
|
12
|
-
docattFields,
|
|
13
|
-
ecr,
|
|
14
|
-
ecrFields,
|
|
15
|
-
etaloi as EtaLoi,
|
|
16
|
-
lecass,
|
|
17
|
-
lecassFields,
|
|
18
|
-
lecassrap,
|
|
19
|
-
lecture,
|
|
20
|
-
lectureFields,
|
|
21
|
-
loi,
|
|
22
|
-
org as Org,
|
|
23
|
-
oritxt as OriTxt,
|
|
24
|
-
qua as Qua,
|
|
25
|
-
rap,
|
|
26
|
-
raporg as RapOrg,
|
|
27
|
-
raporgFields,
|
|
28
|
-
scr as Scr,
|
|
29
|
-
texte,
|
|
30
|
-
texteFields,
|
|
31
|
-
typatt as TypAtt,
|
|
32
|
-
typlec as TypLec,
|
|
33
|
-
typloi as TypLoi,
|
|
34
|
-
typtxt as TypTxt,
|
|
35
|
-
typurl as TypUrl,
|
|
36
|
-
typurlFields,
|
|
37
|
-
} from "../raw_types/dosleg"
|
|
38
|
-
import { Debat } from "./debats"
|
|
39
|
-
import { TxtAmeli } from "./ameli"
|
|
40
|
-
|
|
41
|
-
export {
|
|
42
|
-
Ass,
|
|
43
|
-
DecCoc,
|
|
44
|
-
DenRap,
|
|
45
|
-
EtaLoi,
|
|
46
|
-
Org,
|
|
47
|
-
OriTxt,
|
|
48
|
-
Qua,
|
|
49
|
-
RapOrg,
|
|
50
|
-
Scr,
|
|
51
|
-
TypAtt,
|
|
52
|
-
TypLec,
|
|
53
|
-
TypLoi,
|
|
54
|
-
TypTxt,
|
|
55
|
-
TypUrl,
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export interface Aud extends aud {
|
|
59
|
-
org?: Org
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
export interface Auteur extends auteur {
|
|
63
|
-
qua?: Qua
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export interface DateSeance extends date_seance {
|
|
67
|
-
debat?: Debat
|
|
68
|
-
scrids?: string[]
|
|
69
|
-
scrs?: Scr[]
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export interface DocAtt extends docatt {
|
|
73
|
-
rap?: Rap
|
|
74
|
-
typatt?: TypAtt
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
export interface Ecr extends ecr {
|
|
78
|
-
aut?: Auteur
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
export interface LecAss extends lecass {
|
|
82
|
-
ass?: Ass
|
|
83
|
-
auds?: Aud[]
|
|
84
|
-
audcles?: audFields.audcle[]
|
|
85
|
-
datesSeances?: DateSeance[]
|
|
86
|
-
datesSeancesCodes?: dateSeanceFields.code[]
|
|
87
|
-
debatdatseas: Date[]
|
|
88
|
-
lecassraps?: LecAssRap[]
|
|
89
|
-
lecassrapids?: string[]
|
|
90
|
-
org?: Org
|
|
91
|
-
texcods: texteFields.texcod[]
|
|
92
|
-
textes?: Texte[]
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
export interface LecAssRap extends lecassrap {
|
|
96
|
-
rap?: Rap
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
export interface Lecture extends lecture {
|
|
100
|
-
typlec?: TypLec
|
|
101
|
-
lecassidts?: lecassFields.lecassidt[]
|
|
102
|
-
lecasss?: LecAss[]
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
export interface Loi extends loi {
|
|
106
|
-
deccoc?: DecCoc
|
|
107
|
-
etaloi?: EtaLoi
|
|
108
|
-
lecidts?: lectureFields.lecidt[]
|
|
109
|
-
lectures?: Lecture[]
|
|
110
|
-
typloi?: TypLoi
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
export interface Rap extends rap {
|
|
114
|
-
denrap?: DenRap
|
|
115
|
-
docattcles?: docattFields.docattcle[]
|
|
116
|
-
docatts?: DocAtt[]
|
|
117
|
-
ecrnums?: ecrFields.ecrnum[]
|
|
118
|
-
ecrs?: Ecr[]
|
|
119
|
-
orgcods?: raporgFields.orgcod[]
|
|
120
|
-
orgs?: Org[]
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
export interface Texte extends texte {
|
|
124
|
-
ecrs?: Ecr[]
|
|
125
|
-
ecrnums?: ecrFields.ecrnum[]
|
|
126
|
-
libtypurl?: typurlFields.libtypurl
|
|
127
|
-
org?: Org
|
|
128
|
-
oritxt: OriTxt
|
|
129
|
-
typtxt?: TypTxt
|
|
130
|
-
txtAmeli?: TxtAmeli
|
|
131
|
-
txtAmeliId: txt_ameliFields.id
|
|
132
|
-
}
|
package/src/types/questions.ts
DELETED
|
File without changes
|
package/src/types/sens.ts
DELETED
package/tsconfig.json
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"baseUrl": ".",
|
|
4
|
-
"paths": { "*": ["types/*"] },
|
|
5
|
-
/* Basic Options */
|
|
6
|
-
"target": "esnext" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */,
|
|
7
|
-
"module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
|
|
8
|
-
// "lib": [], /* Specify library files to be included in the compilation. */
|
|
9
|
-
// "allowJs": true, /* Allow javascript files to be compiled. */
|
|
10
|
-
// "checkJs": true, /* Report errors in .js files. */
|
|
11
|
-
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
|
|
12
|
-
"declaration": true /* Generates corresponding '.d.ts' file. */,
|
|
13
|
-
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
|
|
14
|
-
// "sourceMap": true, /* Generates corresponding '.map' file. */
|
|
15
|
-
// "outFile": "./", /* Concatenate and emit output to single file. */
|
|
16
|
-
"outDir": "lib" /* Redirect output structure to the directory. */,
|
|
17
|
-
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
|
|
18
|
-
// "composite": true, /* Enable project compilation */
|
|
19
|
-
// "incremental": true, /* Enable incremental compilation */
|
|
20
|
-
// "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
|
|
21
|
-
// "removeComments": true, /* Do not emit comments to output. */
|
|
22
|
-
// "noEmit": true, /* Do not emit outputs. */
|
|
23
|
-
// "importHelpers": true, /* Import emit helpers from 'tslib'. */
|
|
24
|
-
// "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
|
|
25
|
-
// "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
|
|
26
|
-
|
|
27
|
-
/* Strict Type-Checking Options */
|
|
28
|
-
"strict": true /* Enable all strict type-checking options. */,
|
|
29
|
-
// "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
|
|
30
|
-
// "strictNullChecks": true, /* Enable strict null checks. */
|
|
31
|
-
// "strictFunctionTypes": true, /* Enable strict checking of function types. */
|
|
32
|
-
// "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
|
|
33
|
-
// "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */
|
|
34
|
-
// "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
|
|
35
|
-
// "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
|
|
36
|
-
|
|
37
|
-
/* Additional Checks */
|
|
38
|
-
"noUnusedLocals": true /* Report errors on unused locals. */,
|
|
39
|
-
"noUnusedParameters": true /* Report errors on unused parameters. */,
|
|
40
|
-
"noImplicitReturns": true /* Report error when not all code paths in function return a value. */,
|
|
41
|
-
"noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */,
|
|
42
|
-
|
|
43
|
-
/* Module Resolution Options */
|
|
44
|
-
// "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
|
|
45
|
-
// "baseUrl": "./", /* Base directory to resolve non-absolute module names. */
|
|
46
|
-
// "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
|
|
47
|
-
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
|
|
48
|
-
"typeRoots": [
|
|
49
|
-
"./node_modules/@types",
|
|
50
|
-
"./src/declarations"
|
|
51
|
-
] /* List of folders to include type definitions from. */,
|
|
52
|
-
// "types": [], /* Type declaration files to be included in compilation. */
|
|
53
|
-
// "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
|
|
54
|
-
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
|
|
55
|
-
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
|
|
56
|
-
|
|
57
|
-
/* Source Map Options */
|
|
58
|
-
// "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
|
|
59
|
-
// "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
|
|
60
|
-
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
|
|
61
|
-
// "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
|
|
62
|
-
|
|
63
|
-
/* Experimental Options */
|
|
64
|
-
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
|
|
65
|
-
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
|
|
66
|
-
}
|
|
67
|
-
}
|