Skip to content

Conversation

egilmorez
Copy link
Contributor

After mistakenly creating a pull request into master, I hope to properly push my doc changes into hkj-typedoc :)

Thanks!

@egilmorez egilmorez requested a review from hiranya911 May 7, 2019 21:53
Copy link
Contributor

@hiranya911 hiranya911 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Also please share the staged output to see how this looks. I'm also adding @bojeil-google for another look.

src/index.d.ts Outdated
): Promise<admin.auth.AuthProviderConfig>;
}

/**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps this empty block can be removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You bet Hiranya -- staged at https://firebase.devsite.corp.google.com/docs/reference/admin/node/admin.auth.UserRecord.

As you noticed, I should clarify that the Auth methods commenting will come in a separate following pull request. Thanks!

src/index.d.ts Outdated
displayName?: string;

/**
* The user's primary phone number, if set..
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extra dot.

src/index.d.ts Outdated
interface UpdateRequest {

/**
* Whether or not Whether or not the user is disabled: `true` for disabled;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Whether or not" is duplicated.

src/index.d.ts Outdated
* Time, in seconds since the Unix epoch, when the end-user authentication
* occurred.
*
* This value is not when this particular ID token was created, but when the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like a verb is missing?
This valid is not "set" when...

src/index.d.ts Outdated

/**
* The ID of the provider used to sign in the
* user. One of `"anonymous"`, `"password"`, `"facebook.com"`, `"github.com"`,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This block does not seem to align with the above statement. You have 2 additional spaces.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is still not aligned.

src/index.d.ts Outdated
*/
sign_in_provider: string;
[key: string]: any;
[key: string]: any;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indentation is unnecessary.

src/index.d.ts Outdated
*/
uid: string;
[key: string]: any;
[key: string]: any;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove extra indentation

src/index.d.ts Outdated
email?: string,
photoURL?: string,
providerId: string,
}[];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can replace with:
providerData?: admin.auth.UserInfo[];

src/index.d.ts Outdated
type UpdateAuthProviderRequest =
admin.auth.SAMLUpdateAuthProviderRequest | admin.auth.OIDCUpdateAuthProviderRequest;

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove extra spaces

Copy link
Contributor

@bojeil-google bojeil-google left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You missed one comment.

src/index.d.ts Outdated

/**
* The ID of the provider used to sign in the
* user. One of `"anonymous"`, `"password"`, `"facebook.com"`, `"github.com"`,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is still not aligned.

@egilmorez egilmorez merged commit af2922c into hkj-typedoc May 14, 2019
hiranya911 pushed a commit that referenced this pull request Jun 5, 2019
* Adding commenting for Admin and Storage.

* Addressing feedback from hiranya911.

* Adding commenting for admin.Messaging and others.

* Fixing some issues found by hiranya911.

* Adding correct indenting in line 1909.

* Adding commmenting for admin.Auth classes and fleshing out TOC.

* Making fixes requeted by bojeil-google.

* Fixing one last alignment issue.
egilmorez added a commit that referenced this pull request Jun 5, 2019
* Getting the typedoc toolchain to run against index.d.ts

* Removing unused templates

* Adding a npm script

* Adding commenting for Admin and Storage. (#510)

* Adding commenting for Admin and Storage.

* Addressing feedback from hiranya911.

* Adding comments for admin.Messaging and a few others. (#516)

* Adding commenting for Admin and Storage.

* Addressing feedback from hiranya911.

* Adding commenting for admin.Messaging and others.

* Fixing some issues found by hiranya911.

* Adding correct indenting in line 1909.

* Auto-generating links to re-exported Firestore types (#519)

* Adding comments for Auth classes and updating TOC (#521)

* Adding commenting for Admin and Storage.

* Addressing feedback from hiranya911.

* Adding commenting for admin.Messaging and others.

* Fixing some issues found by hiranya911.

* Adding correct indenting in line 1909.

* Adding commmenting for admin.Auth classes and fleshing out TOC.

* Making fixes requeted by bojeil-google.

* Fixing one last alignment issue.

* Adding TypeDoc comments for Auth methods. (#530)

* Adding commenting for Admin and Storage.

* Addressing feedback from hiranya911.

* Adding commenting for admin.Messaging and others.

* Fixing some issues found by hiranya911.

* Adding correct indenting in line 1909.

* Adding commmenting for admin.Auth classes and fleshing out TOC.

* Making fixes requeted by bojeil-google.

* Fixing one last alignment issue.

* Adding comments for Auth methods.

* Addressing feedback from bojeil-goole.

* Second attempt to view and address *all* comments from bojeil-google.

* Removing unnecessary whitespace.

* Fixing what we think and hope is the last typo in this pull request.

* Credential db (#544)

* Adding comments for credential and database classes/methods.

* Fixing typo in example.

* Adding changes requested by hiranya911.

* Fixing a typo.

* Fixing the typo fixes.

* Adding comments for admin.projectManagement. (#547)

* Adding comments for admin.projectManagement.

* Fixing misplaced comments for appId metadata.

* Merging changes with master. (#553)

* Getting the typedoc toolchain to run against index.d.ts

* Removing unused templates

* Adding a npm script

* Adding commenting for Admin and Storage. (#510)

* Adding commenting for Admin and Storage.

* Addressing feedback from hiranya911.

* Adding comments for admin.Messaging and a few others. (#516)

* Adding commenting for Admin and Storage.

* Addressing feedback from hiranya911.

* Adding commenting for admin.Messaging and others.

* Fixing some issues found by hiranya911.

* Adding correct indenting in line 1909.

* Auto-generating links to re-exported Firestore types (#519)

* Adding comments for Auth classes and updating TOC (#521)

* Adding commenting for Admin and Storage.

* Addressing feedback from hiranya911.

* Adding commenting for admin.Messaging and others.

* Fixing some issues found by hiranya911.

* Adding correct indenting in line 1909.

* Adding commmenting for admin.Auth classes and fleshing out TOC.

* Making fixes requeted by bojeil-google.

* Fixing one last alignment issue.

* Adding TypeDoc comments for Auth methods. (#530)

* Adding commenting for Admin and Storage.

* Addressing feedback from hiranya911.

* Adding commenting for admin.Messaging and others.

* Fixing some issues found by hiranya911.

* Adding correct indenting in line 1909.

* Adding commmenting for admin.Auth classes and fleshing out TOC.

* Making fixes requeted by bojeil-google.

* Fixing one last alignment issue.

* Adding comments for Auth methods.

* Addressing feedback from bojeil-goole.

* Second attempt to view and address *all* comments from bojeil-google.

* Removing unnecessary whitespace.

* Fixing what we think and hope is the last typo in this pull request.

* Credential db (#544)

* Adding comments for credential and database classes/methods.

* Fixing typo in example.

* Adding changes requested by hiranya911.

* Fixing a typo.

* Fixing the typo fixes.

* Adding comments for admin.projectManagement. (#547)

* Adding comments for admin.projectManagement.

* Fixing misplaced comments for appId metadata.

* Adding new line to end of file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants