Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
log-schema-node
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
logging
log-schema-node
Commits
8fea89f9
Unverified
Commit
8fea89f9
authored
May 10, 2017
by
Snorre Magnus Davøen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix json module typings
Signed-off-by:
Snorre Magnus Davøen
<
snorre.davoen@nsd.uib.no
>
parent
69cd36ea
Pipeline
#5108
passed with stages
in 31 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
index.ts
index.ts
+4
-2
package.json
package.json
+1
-1
typings.d.ts
typings.d.ts
+1
-2
No files found.
index.ts
View file @
8fea89f9
import
s
chema
from
"
../log-schema/log-schema.json
"
;
import
*
as
jsonS
chema
from
"
../log-schema/log-schema.json
"
;
export
interface
LogSchema
{
/**
...
...
@@ -150,4 +150,6 @@ export interface LogSchema {
};
}
export
const
logSchema
:
LogSchema
=
schema
;
const
schema
:
LogSchema
=
<
LogSchema
>
jsonSchema
;
export
{
schema
};
\ No newline at end of file
package.json
View file @
8fea89f9
{
"name"
:
"@nsd/log-schema-node"
,
"version"
:
"3.0.0-alpha.
4
"
,
"version"
:
"3.0.0-alpha.
5
"
,
"main"
:
"lib/index.js"
,
"types"
:
"lib/index"
,
"scripts"
:
{
...
...
typings.d.ts
View file @
8fea89f9
declare
module
"
*.json
"
{
const
value
:
any
;
export
default
value
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment